Page MenuHomePhabricator

Added a script for building and deploying Debian packages to launchpad.net
ClosedPublic

Authored by jasonbcox on Fri, Mar 13, 01:47.

Details

Summary

Up to now, we've been relying on sickpig to manually maintain the Bitcoin ABC Ubuntu PPA.
This script gets us closer to automating that process, allowing one click to generate packages for Xenial (16.04), Bionic (18.04), and Eoan (19.10, latest release)
and upload them to the PPA.

As demonstration, I used this script to upload 0.21.2.9 and 0.21.2.10 to a personal PPA: https://launchpad.net/~jasonbcox/+archive/ubuntu/bitcoin-abc
(the .9 and .10 versions are patch versions, which are not expected to be used in production except for hotfix type situations)

Test Plan
./debian-packages.sh -h
./debian-packages.sh --dry-run 0.21.2.9 "Jason B. Cox <jasonbcox@bitcoinabc.org>"

cat >> ~/.dput.cf <<EOF

[jasonbcox-bitcoin-abc]
fqdn = ppa.launchpad.net
method = ftp
incoming = ~jasonbcox/ubuntu/bitcoin-abc/
login = anonymous
allow_unsigned_uploads = 0
EOF
./debian-packages.sh --ppa jasonbcox-bitcoin-abc 0.21.2.9 "Jason B. Cox <jasonbcox@bitcoinabc.org>"

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

jasonbcox created this revision.Fri, Mar 13, 01:47
Herald added a reviewer: Restricted Project. · View Herald TranscriptFri, Mar 13, 01:47
jasonbcox edited the summary of this revision. (Show Details)Fri, Mar 13, 04:01
deadalnix accepted this revision.Fri, Mar 13, 07:40
This revision is now accepted and ready to land.Fri, Mar 13, 07:40