Gentoo Archives: gentoo-soc

From: Christos Kotsis <christo.kotsi@×××××.com>
To: gentoo-soc@l.g.o
Cc: soc-admins@g.o
Subject: [gentoo-soc] Project GSE: Report for 19 of June to 23 of June: (ulfox)
Date: Mon, 26 Jun 2017 12:58:40
Message-Id: 2f035724-8537-1e8c-f7dc-bec27a24998a@gmail.com
1 ======================================================================================================================================================================================================================================================================
2 ======================================================================================================================================================================================================================================================================
3
4 My plan for 19 of June was:
5 -Create loop-hook-point functions to control the return value from the custom scripts and prompt for a SHELL if fail is returned
6 -Write the controller's building script
7 -Update the wiki page
8 -Update the gse(1) and gse(2) man page.
9 -Move everything inside to hook points. Giving the ability to run the gse process with completely custom scripts if someone wishes to.
10
11 Again I didn't finish controller's script. I had to implement a new function which will disable the interactive functions of the project, for the purpose of running the project full automated.
12 I couldn't finish the "automatic" function, since at a point I had to change many of the current functions to support the above, which broke the code at a point. I will try to finish this as my next objective.
13
14 My plan for 20 of June is:
15 -Finish the automated process function
16 -Create a new state function. It will save the configuration files, flags and arguments to a state-directory. From this someone can re-run the process again and again by referring to that state.
17 (I am including only those 2 objectives, since the last one will require much time, since it will take advantage of the above "automatic" function and use states at the same time)
18
19 ======================================================================================================================================================================================================================================================================
20
21
22 My plan for 20 of June was:
23 -Finish the automated process function
24 -Create a new state function. It will save the configuration files, flags and arguments to a state-directory. From this someone can re-run the process again and again by referring to that state.
25 (I am including only those 2 objectives, since the last one will require much time, since it will take advantage of the above "automatic" function and use states at the same time)
26
27
28 I included 3 options for the state functions. Option to add,delete and initiate the states. I have not however finish the export function, which instead of saving the state, it reads it back and initiate the process.
29 The reason for not completing the export function was that I was trying to find a way to implement the above without changed all the current functions. This will be achieved with a new function that initiate a build only with that flag.
30
31 My plan for 21 of June is:
32 -Finish the export state function
33 -Update the menu entries
34 -Update the man pages
35 -Write a more general archive function instead of a simple tar cvjpf entry
36 -Create a command line option for reviewing and editing the configuration files. Example gse --options_name:edit=hostname
37
38
39 ======================================================================================================================================================================================================================================================================
40
41
42 My plan for 21 of June was:
43 -Finish the export state function
44 -Update the menu entries
45 -Update the man pages
46 -Write a more general archive function instead of a simple tar cvjpf entry
47 -Create a command line option for reviewing and editing the configuration files. Example gse --options_name:edit=hostname
48
49
50 Dropped the command line option for reviewing and editing the configuration files. There are already tools to edit and view the config files.
51
52 My plan for 22 of June is:
53 -Rewrite all functions to use if instead of &&, || pipes
54 -Test the state combinations settings
55 -Remove all unnecessary [[ ]], cat entries and use grep -q instead
56 -Rewrite the clean function (update it with more entries, since the current one is failing during runtime sometimes).
57 -Include an extra --keep-minimal function for the --build-minimal option. The current settings are included in the general clean function.
58
59
60 ======================================================================================================================================================================================================================================================================
61
62 My plan for 22 of June was:
63 -Rewrite all functions to use if instead of &&, || pipe
64 -Test the state combinations setting
65 -Remove all unnecessary [[ ]], cat entries and use grep -q instead
66 -Rewrite the clean function (update it with more entries, since the current one is failing during runtime sometimes).
67 -Include an extra --keep-minimal function for the
68 --build-minimal option. The current settings are included in the genera
69
70 My plan for 22 of June is.
71 -close the builder part (finish micro updates, and visuals)
72 -start the controller part (rework the controller's scripts as dracut modules)
73 -write the controller's build script (has not been finished, because it was trasfered for the next day in the past.
74 -write extra controller examples in the man gse 5.
75
76 ======================================================================================================================================================================================================================================================================
77
78 My plan for 23 of June was:
79 -close the builder part (finish micro updates, and visuals
80 -start the controller part (rework the controller's scripts as dracut modules)
81 -write the controller's build script (has not been finished, because it was trasfered for the next day in the past.
82 -write extra controller examples in the man gse 5.
83
84 I implemented some custom dracut modules however I must enable the networking first in the initramfs to test them.
85
86 My plan for 26 of June is:
87 -Enable the networking in the controller.
88
89 If I manage to enable networking, then:
90 -Test the version check script
91 -Write the fetch a new image module from the current scripts
92 -Write the fetch config.d module from the current scripts
93
94 By current scripts I mean the scripts that I had written in the past, but not as dracut modules.
95 Those scripts as of now are parts in the main init file.
96
97 ======================================================================================================================================================================================================================================================================
98 ======================================================================================================================================================================================================================================================================