From d622f34a8c6ad0e71618f75a02787589b21d795c Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 13 Nov 2018 13:44:50 +0300 Subject: Pass --deep option to bpkg-pkg-verify to additionally validate submitted archive --- brep/handler/submit/submit.bash.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 () # 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. # -- cgit v1.1