Skip to content
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

Merged
merged 6 commits into from Mar 10, 2020

Conversation

garbas
Copy link
Member

@garbas garbas commented Mar 10, 2020

No description provided.

@garbas garbas requested a review from edolstra March 10, 2020 11:16
@@ -227,3 +227,21 @@ sub fetch {
# Update channel on channels.nixos.org
$bucketChannels->add_key($channelsDir, $target, { "x-amz-website-redirect-location" => $target });
Copy link
Member Author

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

) {
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" });
Copy link
Member Author

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

"nixos-plasma5",
"nixos-gnome",
"nixos-minimal",
"nixos-plasma5-x86_64-linux.ova"
Copy link
Member Author

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

@edolstra edolstra merged commit a55fc21 into NixOS:master Mar 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants