[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser-build][main] 2 commits: Bug 40782: Fetch signatures from tb-build-04 and tb-build-05



Title: GitLab

Richard Pospesel pushed to branch main at The Tor Project / Applications / tor-browser-build

Commits:

  • 4003aeea
    by Nicolas Vigier at 2023-02-14T01:18:32+01:00
    Bug 40782: Fetch signatures from tb-build-04 and tb-build-05
    
  • 638c690d
    by Nicolas Vigier at 2023-02-14T01:21:34+01:00
    Bug 40783: Use $projectname prefix when downloading signatures
    
    Following #40737 the build directory is prefixed with $projectname.
    

1 changed file:

Changes:

  • tools/signing/download-unsigned-sha256sums-gpg-signatures-from-people-tpo
    ... ... @@ -9,10 +9,18 @@ do
    9 9
       do
    
    10 10
         tmpfile=$(mktemp)
    
    11 11
         chmod 644 "$tmpfile"
    
    12
    -    wget -q -O "$tmpfile" "https://people.torproject.org/~$builder/builds/$tbb_version-build$tbb_version_build/$file" || \
    
    13
    -      wget -q -O "$tmpfile" "https://people.torproject.org/~$builder/builds/tor-browser/$tbb_version-build$tbb_version_build/$file" || \
    
    14
    -      wget -q -O "$tmpfile" "https://tb-build-03.torproject.org/~$builder/builds/tor-browser/$tbb_version_type/unsigned/$tbb_version-build$tbb_version_build/$file" && \
    
    15
    -      mv "$tmpfile" "$signed_version_dir/$file-$builder" && echo "Added $file-$builder"
    
    12
    +    for url in \
    
    13
    +      "https://people.torproject.org/~$builder/builds/$tbb_version-build$tbb_version_build/$file" \
    
    14
    +      "https://people.torproject.org/~$builder/builds/$SIGNING_PROJECTNAME/$tbb_version-build$tbb_version_build/$file" \
    
    15
    +      "https://tb-build-04.torproject.org/~$builder/builds/$SIGNING_PROJECTNAME/$tbb_version_type/unsigned/$tbb_version-build$tbb_version_build/$file" \
    
    16
    +      "https://tb-build-05.torproject.org/~$builder/builds/$SIGNING_PROJECTNAME/$tbb_version_type/unsigned/$tbb_version-build$tbb_version_build/$file"
    
    17
    +    do
    
    18
    +      if wget -q -O "$tmpfile" "$url"; then
    
    19
    +        mv "$tmpfile" "$signed_version_dir/$file-$builder"
    
    20
    +        echo "Added $file-$builder"
    
    21
    +        break
    
    22
    +      fi
    
    23
    +    done
    
    16 24
       done
    
    17 25
     done
    
    18 26
     exit 0

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits