Page MenuHomePhabricator

Set a different default PPA depending on network
ClosedPublic

Authored by jasonbcox on Thu, Nov 19, 00:27.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Commits
rABCd3793e529d04: 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

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

This revision is now accepted and ready to land.Thu, Nov 19, 00:27
The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.
The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.
This revision was landed with ongoing or failed builds.Thu, Nov 19, 00:46
This revision was automatically updated to reflect the committed changes.