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
dbus: rename "enableSystemd" to "withSystemd" #234463
Conversation
Pinging the only member of teams.freedesktop: @jtojnar |
I like this in principle but I am not sure which direction is the proper one.
What about other flags? Just make sure |
I think we should start with unifying on per-feature basis, because different features have different dominant convention. When we finish that part, overlay would be able to Support is preferred in some:
but not in other:
And some have no dominant convention at all (which will be probably the hardest part).
Personally, I don't like |
Oh, wait.
|
Naming convention <foo>Support seems to be more popular than enable<Foo> in general, in case of systemd -- 59 to 34 as far as "git grep" concerned, so it makes sense to unify flags under already dominant convention. Merging such changes treewide is hard (ref: NixOS#177832), so here I follow suggestion of @doronbehar and make one pull request per package affected. Naturally, this is no-rebuild change.
UPD: I changed this pull request to
I still maintain that we are better off to start on per-feature basis. |
|
👍 Frankly the situation is a bit of a mess though. Someday somebody should write the world's shortest RFC, suffer through a ton of bikeshedding, and get people to pick one or the other. |
Yes, it is mess. And my experience with trying to put stuff into policy before actually implementing that policy is non-satisfactory (#175650). Instead, I find it much much more effective to actually do things first (e.g #208962). So let me suggest again that we keep the scope of the project small for now -- just make |
I think it would be better to create an RFC and then slowly move everything to the same format. Because if we do this here now to my understanding everyone that overrides a package needs to then find out which one they need to change to and then potentially change again if we would unify it over whole nixpkgs later. Also if we slowly unify to one directly you would instantly know how you need to update your code because there is only one convention then. |
Yeah, I'll draft the RFC. Eventually. Closing this issue. |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/pre-rfc-standardization-of-feature-parameters/38104/1 |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/pre-rfc-standardization-of-feature-parameters/38104/47 |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/pre-rfc-standardization-of-feature-parameters/38104/59 |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/pre-rfc-standardization-of-feature-parameters/38104/69 |
Naming convention Support seems to be more popular than enable in
general, in case of systemd -- 59 to 34 as far as "git grep" concerned, so it
makes sense to unify flags under already dominant convention.
Merging such changes treewide is hard (ref: #177832), so here I follow
suggestion of @doronbehar and make one pull request per package affected.
Naturally, this is no-rebuild change.