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

Revert "nixos: rename system.{stateVersion,defaultChannel} -> system.nixos.\1" #44107

Merged
merged 2 commits into from Jul 27, 2018

Conversation

dezgeg
Copy link
Contributor

@dezgeg dezgeg commented Jul 25, 2018

This reverts commit 095fe5b.

Pointless renames considered harmful. All they do is force people to spend extra work updating their configs for no benefit, and hinder the ability to switch between unstable and stable versions of NixOS.

Like, what was the value of having the "nixos." there? I mean, by definition anything in a NixOS module has something to do with NixOS...

…nixos.\1"

This reverts commit 095fe5b.

Pointless renames considered harmful. All they do is force people to
spend extra work updating their configs for no benefit, and hindering
the ability to switch between unstable and stable versions of NixOS.

Like, what was the value of having the "nixos." there? I mean, by
definition anything in a NixOS module has something to do with NixOS...
@oxij
Copy link
Member

oxij commented Aug 4, 2018 via email

@onetom
Copy link
Contributor

onetom commented Aug 13, 2018

Making names more intuitive helps newcomers to learn, understand and also memorize NixOS and Nixpkgs easier.

That's an important value proposition for such changes.

Attributes shouldn't be just removed or repurposed, of course.
The should still work, just deprecate them.
Deprecated code then can be removed from time to time (eg. with every or every other stable release).

@vcunat
Copy link
Member

vcunat commented Aug 13, 2018

Well, yes, but every change comes with a price and risks paid by current users. In this case I'm not convinced the improvement is significant enough, though I would probably choose to put these two together with the other system.nixos.* options if the options were new.

@elitak
Copy link
Contributor

elitak commented Aug 16, 2018

I'm annoyed that I have to change my stuff twice, because somebody didn't want to change his once. I can't be the only one. I'd also like to see better justification for reverting something that's been in place almost 4 months.

Next time, can we put in the deprecation warning + aliases, then schedule the actual deprecation as part of the 18.09 release? That way, you all have a solid 6 months to quarrel about it, without catching innocent bystanders in the crossfire.

@dezgeg
Copy link
Contributor Author

dezgeg commented Aug 16, 2018

I'd also like to see better justification for reverting something that's been in place almost 4 months.

The previous naming was in place for almost three years (since the 15.09 release). This restores the situation back to that.

Next time, can we put in the deprecation warning + aliases, then schedule the actual deprecation as part of the 18.09 release? That way, you all have a solid 6 months to quarrel about it, without catching innocent bystanders in the crossfire.

Well, the thing is that (IMHO) these sort of changes shouldn't have been merged in the first place without going through the RFC process (given that the proposed changes essentially require every single NixOS user to modify their configs, I feel that is appropriate) where the concerns of deprecation warning + aliases could be raised. But there is essentially no enforcement on making people actually do that. So currently reverts seem to be the only counter to this current trend where anybody can break existing stuff as they want based on justifications like "[some thing] is not even something I think we should have" or "I just don't care about backwards compatibility as much".

@oxij
Copy link
Member

oxij commented Aug 17, 2018 via email

@7c6f434c
Copy link
Member

7c6f434c commented Aug 17, 2018 via email

@oxij oxij mentioned this pull request Aug 29, 2018
9 tasks
@Ericson2314
Copy link
Member

Regardless of ones opinion of the revert, this was merged far too quickly.

@danbst
Copy link
Contributor

danbst commented Oct 11, 2018

Maybe we can keep both, without deprecations, just like do with users.users and users.extraUsers? This will please both @oxij (for order > chaos) and @dezgeg (doesn't require action just for sake of action)

I'm more in favor of keeping NixOS "experimental" in option naming. Let the option namings evolve.

@infinisil infinisil mentioned this pull request Dec 31, 2018
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

10 participants