Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Area51Kacz:branches:home:ungoogled_chromium:testing
firefox-hardened
upload-symbol-archive
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File upload-symbol-archive of Package firefox-hardened
#!/bin/bash -e die() { echo >&2 "$@" exit 1 } (( $# >= 2 )) || die "Usage: $0 TOKEN-FILE SYMBOL-ARCHIVE..." token="$1" shift [[ -f $token && -s $token ]] || die "Invalid TOKEN-FILE ${token@Q}" for zip; do [[ $(file -SEbi "$zip") == application/zip* ]] || die "Invalid SYMBOL-ARCHIVE ${zip@Q}" done for zip; do echo >&2 "Uploading ${zip@Q} ..." curl -X POST -H "Auth-Token: $(<"$token")" -F "${zip##*/}=@$zip" \ --retry 4 --retry-connrefused --connect-timeout 120 \ https://symbols.mozilla.org/upload/ echo mv -v "$zip" "$zip.uploaded" done
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor