aboutsummaryrefslogtreecommitdiff
path: root/brep/handler/submit
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-11-13 13:44:50 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-11-13 13:44:50 +0300
commitd622f34a8c6ad0e71618f75a02787589b21d795c (patch)
tree54095ffbc7f0f88966bf28b52529a014b2e2f9be /brep/handler/submit
parent387137644bae262e7f13ed937e2c1250e5030307 (diff)
Pass --deep option to bpkg-pkg-verify to additionally validate submitted archive
Diffstat (limited to 'brep/handler/submit')
-rw-r--r--brep/handler/submit/submit.bash.in5
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.
#