You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitian-builder/doc/DOWNLOADER.md

42 lines
1.1 KiB
Markdown

# Gitian Downloader
## Download config
Construct a download config:
---
signers:
989F6B3048A116B5:
weight: 20
name: Devrandom
key: |-
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.10 (GNU/Linux)
mQINBE2OgyMBEAC/ZNlctrNpVk1CUYbIflQtNqybqGPFzxp2F+EYdMfEXvR9e7bP
...
minimum_weight: 30
the keys can be extracted with:
gpg --export-options export-minimal --export -a KEYID
the long key id can be obtained with:
gpg -kv --keyid-format long KEYID
## ZIP file
The zip file should have the payload produced in build/out by gbuild, plus a gitian directory. The gitian directory should contain files of the form:
devrandom-build.assert
devrandom-build.assert.pgp
where the FILE.assert file is the PACKAGE-res.yml build report and the .pgp file is signature.pgp generated by gsign.
## Running the downloader
gitian-updater --url file:///tmp/PACKAGE.zip --config PACKAGE-download-config --dest DEST
Of course, the URL can be external rather than on the file system.