-
-
Notifications
You must be signed in to change notification settings - Fork 588
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
config: try to convert legacy parameters to rules #1327
base: next
Are you sure you want to change the base?
config: try to convert legacy parameters to rules #1327
Conversation
hmm, this is an interesting idea. but i think it doesn't actually simplify the code. or perhaps you have some other goals in mind? |
The goal is not to rewrite the whole config, at least for *-exclude parameters, if you need to add some rule in “rules”. The program does it itself, by the way conky does the same thing with old configs and they still work. |
Okay, I've added a conversion for "wintypes". It works. The remaining options are:
...there's probably no way to convert them properly, so I'll leave them as they are. |
It is one of the expressed goals to not allow mixing of new and old rule options. I think it would be better if you turn your effort into a tool that will automatically update user's config file. e.g. when the user runs |
You'll have to, because compatibility is more important, especially when you can make it 1:1 or very close to it.
The problem is that you've changed the approach of how configs worked, which has been around for probably 10 years before you? Especially since the global selector is rarely necessary in reality, 95% of people will probably use “*-exclude” just like before. The issue with the requirement for "rules" option is that there is no If you want decent user-experience and less whining in issues that |
e9e1cdc
to
e83bf64
Compare
No description provided.