forked from Mirror/pmbootstrap
pmbootstrap challenge: subpackages, list of changed files
* Two new functions for getting a list of files and their timestamps in the repo, and diffing that information to get a list of changed files: pmb.helpers.repo.files() and pmb.helpers.repo.diff(). (I've put it in the helpers folder, because it is not specific to one chroot, but to all chroots at once.) * pmbootstrap challenge (new command introduced a few commits back to verify, that the contents of an APK file are deterministic) uses these functions to a) support subpackages and b) optionally output a list of changed files (this gets used in the pmbuilder script, which lives outside of this repository). This commit is progress for #64 again.
This commit is contained in:
parent
6cbac208ba
commit
1274b8c26b
3 changed files with 87 additions and 4 deletions
|
@ -173,6 +173,10 @@ def arguments():
|
|||
# Action: challenge
|
||||
challenge = sub.add_parser("challenge",
|
||||
help="rebuild a package and diff its contents")
|
||||
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")
|
||||
|
||||
# Use defaults from the user's config file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue