diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-11-13 13:44:50 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-11-13 13:44:50 +0300 |
commit | d622f34a8c6ad0e71618f75a02787589b21d795c (patch) | |
tree | 54095ffbc7f0f88966bf28b52529a014b2e2f9be | |
parent | 387137644bae262e7f13ed937e2c1250e5030307 (diff) |
Pass --deep option to bpkg-pkg-verify to additionally validate submitted archive
-rw-r--r-- | brep/handler/submit/submit.bash.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/brep/handler/submit/submit.bash.in b/brep/handler/submit/submit.bash.in index 8ea510f..24a29b2 100644 --- a/brep/handler/submit/submit.bash.in +++ b/brep/handler/submit/submit.bash.in @@ -48,7 +48,10 @@ function extract_package_manifest () # <archive> <manifest> local arc="$1" local man="$2" - if ! run_silent bpkg pkg-verify --manifest "$arc" >"$man"; then + # Pass the --deep option to make sure that the *-file manifest values are + # resolvable, so rep-create will not fail due to this package down the road. + # + if ! run_silent bpkg pkg-verify --deep --manifest "$arc" >"$man"; then # Perform the sanity check to make sure that bpkg is runnable. # |