-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
cosmic-packages: move to new cargo fetcher #356539
cosmic-packages: move to new cargo fetcher #356539
Conversation
|
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.
Thank you for splitting this in to reviewable chunks.
I have not tried every functionality of the packages in here, but ran every output against master to see if they match up.
For programs like cosmic-edit
I tried them out manually.
@ofborg build cosmic-applibrary cosmic-bg cosmic-comp cosmic-design-demo cosmic-edit cosmic-files cosmic-greeter cosmic-launcher cosmic-notifications cosmic-osd cosmic-panel cosmic-randr cosmic-session cosmic-settings cosmic-settings-daemon cosmic-store cosmic-term cosmic-workspaces-epoch |
There still seems to be an issue with git fetching, maybe submodule related. You can see in the logs that the call to nix-prefetch-git caused the build faliure. Seeing a lot of http 403 codes. Originally git repos were fetched sequentially outside of the multiprocessing part. Maybe I should restore the logic to be like that. |
Perhaps it should respect EDIT: enableParallelBuilding may not mean parallelFetching, I suppose |
dbdafbd
to
ff707e5
Compare
ff707e5
to
9fd5a8d
Compare
Okay, seems like decreasing the concurrency limit works for OfBorg. I didn't encounter issues locally, even when trying to build all cargoDeps at the same time. Opened a separate PR and cherry picked its commit into this PR. |
I also saw that #356743 added some retry logic, maybe that could also be incorporated later. |
@JohnRTitor does this change stop us from using nix-update to update our packaging? |
@ofborg build cosmic-applibrary cosmic-bg cosmic-comp cosmic-design-demo cosmic-edit cosmic-files cosmic-greeter cosmic-launcher cosmic-notifications cosmic-osd cosmic-panel cosmic-randr cosmic-session cosmic-settings cosmic-settings-daemon cosmic-store cosmic-term cosmic-workspaces-epoch |
It won't "stop" you, nix update just isn't compatible with it since it's a new fetcher. See Mic92/nix-update#298, adding support should be one PR away |
Manually did it by hand. Though we should probably consider creating a script to get rid of other excess Cargo.locks.
Originally intended as part of #356385 but split to make reviews easier
CC: #327063
Closes #356821
Things done
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usageAdd a 👍 reaction to pull requests you find important.