-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
Merge nixpkgs-channels repo into nixpkgs #71176
Comments
As a slightly related UX issue, it's unfortunate that we have tags named |
Is it possible to also redirect https://github.com/nixos/nixpkgs-channels to https://github.com/nixos/nixpkgs? I know this happens automatically if you move a repository but I don't know if you can set it up manually in circumstances like this. |
Does anything in the release process use |
Where do we actually use the tags? I recall discussions they're confusing, because do they correspond to the release of a NixOS version, or to branch-off? See #64077. |
According to the docs on releasing, the |
I don't think we use the tags anywhere (which also wouldn't make sense because we have rolling releases). |
Looking at branch protection, we can do a few nice things:
|
I think GitHub lets you merge two repos so that EDIT: this may just apply to renamed repos |
Channel branches are now provided in the nixpkgs repo. Issue #71176.
The NixOS/nixpkgs-channels repo is still up and unredirected; if redirection isn't an option, perhaps the repository description should be changed to a deprecation notice and the repo marked as archived on GitHub? |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: |
Once upon a time, the
nixpkgs-channels
repo was created to prevent people from (accidentally) pushing tonixos-*
branches. However, nowadays this can also be accomplished using branch protection. So we don't need a separate channels repo anymore. Having one repo has several advantages:fetchGit
stores clones of different repos separately, so if you do afetchGit
of bothnixpkgs
andnixpkgs-channels
, you end up using twice the disk space.nix build nixpkgs/nixos-19.09#hello
), but this doesn't work if the branch is in another repo (you'd have to saynix build github:NixOS/nixpkgs-channels/nixos-19.09#hello
).Proposal:
nixos-*
andnixpkgs-*
branches.nixpkgs
andnixpkgs-channels
(the latter for compatibility).nixpkgs-channels
from the docs.The text was updated successfully, but these errors were encountered: