1
0
Fork 1
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:
Oliver Smith 2017-06-17 17:42:28 +02:00
parent 05c837c921
commit 112dc5e70c
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
8 changed files with 178 additions and 74 deletions

View file

@ -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()