Merge remote-tracking branch 'upstream/master' into staging
Conflicts: pkgs/top-level/all-packages.nix
This commit is contained in:
@@ -596,6 +596,11 @@
|
||||
github = "bjornfor";
|
||||
name = "Bjørn Forsman";
|
||||
};
|
||||
bkchr = {
|
||||
email = "nixos@kchr.de";
|
||||
github = "bkchr";
|
||||
name = "Bastian Köcher";
|
||||
};
|
||||
bluescreen303 = {
|
||||
email = "mathijs@bluescreen303.nl";
|
||||
github = "bluescreen303";
|
||||
@@ -1996,6 +2001,11 @@
|
||||
github = "leenaars";
|
||||
name = "Michiel Leenaars";
|
||||
};
|
||||
leo60228 = {
|
||||
email = "iakornfeld@gmail.com";
|
||||
github = "leo60228";
|
||||
name = "leo60228";
|
||||
};
|
||||
leonardoce = {
|
||||
email = "leonardo.cecchi@gmail.com";
|
||||
github = "leonardoce";
|
||||
@@ -2964,6 +2974,11 @@
|
||||
github = "redbaron";
|
||||
name = "Maxim Ivanov";
|
||||
};
|
||||
redfish64 = {
|
||||
email = "engler@gmail.com";
|
||||
github = "redfish64";
|
||||
name = "Tim Engler";
|
||||
};
|
||||
redvers = {
|
||||
email = "red@infect.me";
|
||||
github = "redvers";
|
||||
@@ -3406,6 +3421,11 @@
|
||||
github = "suvash";
|
||||
name = "Suvash Thapaliya";
|
||||
};
|
||||
sveitser = {
|
||||
email = "sveitser@gmail.com";
|
||||
github = "sveitser";
|
||||
name = "Mathis Antony";
|
||||
};
|
||||
svsdep = {
|
||||
email = "svsdep@gmail.com";
|
||||
github = "svsdep";
|
||||
|
||||
@@ -100,7 +100,10 @@ sub uploadFile {
|
||||
sub redirect {
|
||||
my ($name, $dest) = @_;
|
||||
#print STDERR "linking $name to $dest...\n";
|
||||
$bucket->add_key($name, "", { 'x-amz-website-redirect-location' => "/" . $dest })
|
||||
$bucket->add_key($name, "", {
|
||||
'x-amz-website-redirect-location' => "/" . $dest,
|
||||
'x-amz-acl' => "public-read"
|
||||
})
|
||||
or die "failed to create redirect from $name to $dest\n";
|
||||
$cache{$name} = 1;
|
||||
}
|
||||
@@ -112,7 +115,10 @@ sub uploadFile {
|
||||
|
||||
# Upload the file as sha512/<hash-in-base-16>.
|
||||
print STDERR "uploading $fn to $mainKey...\n";
|
||||
$bucket->add_key_filename($mainKey, $fn, { 'x-amz-meta-original-name' => $name })
|
||||
$bucket->add_key_filename($mainKey, $fn, {
|
||||
'x-amz-meta-original-name' => $name,
|
||||
'x-amz-acl' => "public-read"
|
||||
})
|
||||
or die "failed to upload $fn to $mainKey\n";
|
||||
$cache{$mainKey} = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user