-
Notifications
You must be signed in to change notification settings - Fork 6
fix: repin nixpkgs with fetchCargoVendor User-Agent hotfix (crates.io 403 breaking all module releases) #173
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
Closed
danisharora099
wants to merge
1
commit into
logos-co:master
from
danisharora099:fix/fetch-cargo-vendor-403
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
seems like the infra team needs to look at this ? and the fix should land in logos-nix repo ? @dlipicar , who do we ping ?
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.
infra team perhaps? cc @jakubgs
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.
yeah I'm guessing the fix should go in logos-nix.
@danisharora099 could you raise the PR with whatever you changed in your fork there? then we re-pin this one
Uh oh!
There was an error while loading. Please reload this page.
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.
8 lines of useless LLM slop comment, that must be a new record. You do know it does this so you pay more for input tokens when re-parsing files?
As for
nixpkgscommit picked here, why do you need to use your fork ofnixpkgsfrom @danisharora099 c?Second of all, the
fetchCargoVendorfix was applied in NixOS/nixpkgs#512735 so why can't you just updatenixpkgsinlogos-nixto one that includes that? Windowsnixpkgsusesb5aa0fbd538984f6e3d201be0005b4463d8b09f8commit which already includes therustPlatform.fetchCargoVendor: set custom User-Agent in v2fix, so why not just unify it?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.
Also, what in the hell is this
flake.lock...Uh oh!
There was an error while loading. Please reload this page.
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.
XD flip side is it saves working out what that line is doing from scratch every time - cheaper to read it than to rediscover it. Happy to trim it though.
Fair points. WIP
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.
A comment should be one line, two lines if there's a link to a related issue or PR. Anything beyond that is noise.
And besides, actual reason for a change is in Git history. Just use
git blame.