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
adding more redirects for iso/ova images #34
Conversation
mirror-nixos-branch.pl
Outdated
@@ -227,3 +227,21 @@ sub fetch { | |||
# Update channel on channels.nixos.org | |||
$bucketChannels->add_key($channelsDir, $target, { "x-amz-website-redirect-location" => $target }); |
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.
this 2 lines are broken. $channelsDir and $target dont exists. i think i copy pasted too much
mirror-nixos-branch.pl
Outdated
) { | ||
for my $arch ("x86_64", "i686") { | ||
for my $format ("ova", "iso") { | ||
$bucketChannels->add_key("$channelsDir/latest-$artifact-$arch-linux.$format", "", {"x-amz-website-redirect-location" => "$target/$artifact-$releaseThingy-$arch-linux.$format" }); |
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.
$releaseThingy
does not exists and should be 20.09pre215947.82b54d49066
mirror-nixos-branch.pl
Outdated
"nixos-plasma5", | ||
"nixos-gnome", | ||
"nixos-minimal", | ||
"nixos-plasma5-x86_64-linux.ova" |
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.
we can remove this 2 lines
No description provided.