-
-
Notifications
You must be signed in to change notification settings - Fork 16.6k
copy-tarballs: drop perl bindings #361700
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
base: master
Are you sure you want to change the base?
Conversation
@vcunat can you give me some code how to test it? |
Ok. Looks like I also should replace hashFile |
9a65523
to
32beb24
Compare
Nit: is it worth using |
35bfeb9
to
f9fcb5e
Compare
This hopefully makes it easier to re-write this script in a language that people understand. Because it's shelling out, it's likely slower but hopefully still fast enough for our purposes.
It's less mental overhead for me to have to think about potential escaping issues, so I find it easier to read this way. |
Tested and runs into the following error on 4792576
|
Bisected and fixed in #414869. Now I applied this patch for nixos/infra to pluto.nixos.org and mirror-tarballs.service works again. |
With NixOS 25.05 there is no nix_2_18 anymore and now we're on an newer version and the perl bindings changed.
tarball-mirror: apply github.com/NixOS/nixpkgs/pull/361700
Can you rebase? |
This hopefully makes it easier to re-write this script in a language that people understand. Because it's shelling out, it's likely slower but hopefully still fast enough for our purposes.
Things done
I only tested local dry run without any credentials...
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.