Conversation
Collaborator
Author
|
Continues discussion that was started #1032 (comment) |
tlaurion
marked this pull request as draft
October 19, 2021 19:17
…acity/design full charge capacity)
tlaurion
force-pushed
the
gui_init-seperate_gui_functions_from_gui_init
branch
from
October 19, 2021 22:29
0736f83 to
1ac9636
Compare
Collaborator
Author
|
Done. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Includes #1041
This is a proposition to clarify what needs to be into etc/functions, /etc/gui_functions and gui-init in the goal of having reusable functions and more specialized init scripts while reusing at the maximum shared functions.
In this simple variation from master:
@MrChromebox : you would want to clean things more then this? From basic testing, everything works as it is. I came to realize that no etc/gui_functions were even imported buy gui-init as of now. We could remove duplication between etc/functions and etc/gui_functions, where etc/gui_functions could simply be screen prompts/gui selectors, and where etc/functions be the actual functions doing the work, which could then be called in an unattended way if some variables are not populated (empty).
The reason I think this is important is that other init scripts could be created to automate some processes, importing required input from outside sources where/when needed.
Ping me if your want to discuss this more dynamically.