-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
dotnet: migrate nuget lockfiles to JSON #362278
base: master
Are you sure you want to change the base?
Conversation
466c5b9
to
f7e34db
Compare
f7e34db
to
a91a587
Compare
a91a587
to
4996549
Compare
4996549
to
a29b4ca
Compare
This comment was marked as outdated.
This comment was marked as outdated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Initial minor questions/suggestions. Thanks for working on this, it's looking good from my perspective!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small notes
0081275
to
4b66dfa
Compare
Removed the |
4b66dfa
to
2f2c7bd
Compare
2f2c7bd
to
efab88d
Compare
|
I think this PR should be good to merge now since all feedback has been addressed. |
efab88d
to
d090ef7
Compare
d090ef7
to
8f87cfb
Compare
8f87cfb
to
50e4c7b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested one package: both json and nix fetch deps scripts work and builds with the generated deps file.
This PR will probably cause merge conflicts for 10 other (non-treewide) PRs, I think that's fine
- issue-365007.diff|3 col 1| --- a/pkgs/by-name/vr/vrcadvert/deps.nix
- issue-364325.diff|261 col 1| --- a/pkgs/by-name/to/tone/nuget-deps.nix
- issue-364200.diff|32 col 1| --- a/pkgs/servers/web-apps/kavita/nuget-deps.nix
- issue-363469.diff|211 col 1| --- a/pkgs/by-name/pa/parabolic/deps.nix
- issue-361232.diff|17 col 1| --- a/pkgs/by-name/wa/wasabibackend/deps.nix
- issue-358401.diff|45 col 1| --- a/pkgs/servers/web-apps/kavita/nuget-deps.nix
- issue-345209.diff|104 col 1| --- a/pkgs/tools/games/scarab/deps.nix
- issue-339220.diff|3 col 1| --- a/pkgs/by-name/so/sonarr/deps.nix
- issue-339370.diff|3 col 1| --- a/pkgs/by-name/be/beatsabermodmanager/deps.nix
- issue-310237.diff|22 col 1| --- a/pkgs/development/tools/azure-functions-core-tools/deps.nix
In addition to loading nix lockfiles
50e4c7b
to
c05508f
Compare
This changes the
buildDotnetModule
lockfiles to be JSON instead of Nix.Changes were made in a backwards-compatible fashion, however a warning was added to guide users to migrate to the new format.
Existing in-tree packages were migrated to the new format using a helper script and manual changes for places that didn't have the file directly specified.
cc: @NixOS/dotnet @MattSturgeon @UlyssesZh @TomaSajt @SuperSandro2000 @Atemu
Closes #362182, closes #325053.
Fixes #358025.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.