HomePhabricator

Set a different default PPA depending on network

Description

Set a different default PPA depending on network

Summary:
Setting --network does not work out of the box as it will
try to upload to the ABC PPA. This fixes that by providing a sane default
for the BCHN PPA when BCHN is selected as a network.

Test Plan:
Verify .dput.cf is created as expected:

rm ~/.dput.cf
./debian-packages.sh jasonbcox
cat ~/.dput.cf

Test various non-default cases:

./debian-packages.sh -n ABC jasonbcox
./debian-packages.sh -n BCHN jasonbcox
./debian-packages.sh -p doesnotexist jasonbcox

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D8456

Details

Provenance
jasonbcoxAuthored on Nov 19 2020, 00:21
jasonbcoxPushed on Nov 19 2020, 00:45
Reviewer
Restricted Project
Differential Revision
D8456: Set a different default PPA depending on network
Parents
rABC52063277f89e: Implement SignMessage for descriptor wallets
Branches
Unknown
Tags
Unknown