forked from Mirror/pmbootstrap
aportupgrade: add support for specifying git ref (MR 1964)
This adds support for specifying an arbitrary git ref (e.g. commits, tags, branches) to upgrade to. This can be useful if a specific commit needs to be packaged instead of the latest available. Alternatively you can also specify a branch to be used if the default branch is 'stable' but 'develop' should be packaged. This also removes old code to use the 'bionic' branch for UBports Lomiri (formerly Unity 8) packages.
This commit is contained in:
parent
efd64f7714
commit
93f13277b9
2 changed files with 22 additions and 27 deletions
|
@ -189,6 +189,7 @@ def arguments_aportupgrade(subparser):
|
|||
ret = subparser.add_parser("aportupgrade")
|
||||
ret.add_argument("--dry", action="store_true", help="instead of modifying APKBUILDs,"
|
||||
" print the changes that would be made")
|
||||
ret.add_argument("--ref", help="git ref (tag, commit, etc) to use")
|
||||
|
||||
# Mutually exclusive: "--all" or package names
|
||||
mode = ret.add_mutually_exclusive_group(required=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue