mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-24 21:15:10 +03:00
Move challenge code to own folder (#64)
...and add a stub for 'pmbootstrap challenge APKINDEX.tar.gz'.
This commit is contained in:
parent
05c837c921
commit
112dc5e70c
8 changed files with 178 additions and 74 deletions
|
@ -172,12 +172,17 @@ def arguments():
|
|||
|
||||
# Action: challenge
|
||||
challenge = sub.add_parser("challenge",
|
||||
help="rebuild a package and diff its contents")
|
||||
help="verify, that an apk file or"
|
||||
" APKINDEX has been built"
|
||||
" generated.")
|
||||
challenge.add_argument("--output-repo-changes", dest="output_repo_changes",
|
||||
help="pass the path to a file here, to store a list"
|
||||
" of apk- and APKINDEX-files that have been"
|
||||
" changed during the build", default=None)
|
||||
challenge.add_argument("apk")
|
||||
challenge.add_argument("challenge_file",
|
||||
help="the file to be verified. must end in"
|
||||
" .apk, or must be named"
|
||||
" APKINDEX.tar.gz.")
|
||||
|
||||
# Use defaults from the user's config file
|
||||
args = parser.parse_args()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue