Skip to content
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

reverse the disabled/enabled default and logic. #1348

Open
petersilva opened this issue Dec 16, 2024 · 1 comment
Open

reverse the disabled/enabled default and logic. #1348

petersilva opened this issue Dec 16, 2024 · 1 comment
Labels
enhancement New feature or request Sugar nice to have features... not super important.

Comments

@petersilva
Copy link
Contributor

currently when you add a configuration to sr3, it is enabled by default. so the next time
a general sr3 start command is issued, it will be started. Normally one first creates a file
and then spends some time tweaking... it is almost never a good idea to start a newly added
configuration file.

So it would make more sense to have configurations default to "disabled" ... and have the analyst
enable them once satisfied that a configuration is runnable.

When people add a configuration, it is done by adding a file: ~/.config/<coomponent>/<configuration>.conf

To disable a configuration one must create a ~/.cache/<component>/<config/disabled file to disable it.

It would likely be better for a configuration to be disabled by default, and only be enabled if ~/.cache/<component>/<config>/enabled is present (modulo hostdir)

@petersilva petersilva added enhancement New feature or request Sugar nice to have features... not super important. labels Dec 16, 2024
@petersilva
Copy link
Contributor Author

for transition, if you find a "disabled" file... assume upgrade and convert the whole thing?

  • for all places where there is nothing, put an enabeld file.
  • for all places where there is a disabled file, remove it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Sugar nice to have features... not super important.
Projects
None yet
Development

No branches or pull requests

1 participant