-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Task]: Clarifying, Naming conventions and use #325
Comments
@Tearran sorry I still don't quite follow where these prefixes would apply... Could you give me a concrete example of how this would apply, for instance, to the |
IMHO Also, I would propose to group things by subject instead of action. So, it would be Instead of Unless, again, I am not fully understanding what you want to accomplish... Sorry, I am a slow learner, but once I get going there is no stopping of me. It's in my blood. 😃 |
The concept is to distinguish between modules and helpers. Modules: Standalone, user-facing features grouped by subject (e.g., software, networking). These can be added or removed without breaking anything. With exception at current the manually edited job.json Helpers: Reusable functions essential for multiple modules, grouped by action. Removing them breaks functionality. The structure relies on folder names and file names as data points for parsing and nesting into production files. Modules are designed for flexibility, while helpers provide shared functionality across the system. The goal is to refine how we identify and group these components while ensuring modularity and scalability. I am suggesting modules can be sorted #321 , helper are not. Would it benefit to short the helpers? Resent talks seem to indicate this is the case. |
@Tearran Ah. OK that makes more sense. So, what I did with the |
Task description
Many aspect of sorting into groups has been focused on the end-user. What can we clarify each file use for the developer?
The modules in software and have a install_ prefix the rest a mix of module_ default_ and others from the git wiki. https://github.com/armbian/configng/wiki/Standards
Context: The projected started with what was coined a so called "Helper functions" that grew to the so called "Module" that may or may not utilise the "Helper functions", " Wrappers" , or other general or undefined groups the categories that do exist are end-user specific.
If we want to category the modules for the end-user we only need mirror the parent directory name in lower case or not at all as far as the projects code is concerned.
software_
would seem the goto.Otherwise what groups of code do we need to clarify as we do with
install_
as it can clearly be defined and identified as 3rd party software management.Perhaps it is time to set a limitation here and define them for consistency or continue to its close enough and works.
The text was updated successfully, but these errors were encountered: