aboutsummaryrefslogtreecommitdiff
path: root/brep
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-05-01 22:32:11 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-05-15 17:36:01 +0300
commit8f9a80a9ac8f353ce2cdafa23f0e5163d30d5800 (patch)
treeedb89ce300c831897cbe80b9e4e2000b0807acff /brep
parent038ba04cc0e5a6b933254813c34108d6e3fd4a38 (diff)
Add support for description-type package manifest value
Diffstat (limited to 'brep')
-rw-r--r--brep/handler/ci/ci.bash.in3
-rw-r--r--brep/handler/submit/submit.bash.in2
2 files changed, 5 insertions, 0 deletions
diff --git a/brep/handler/ci/ci.bash.in b/brep/handler/ci/ci.bash.in
index b55749e..a269e6b 100644
--- a/brep/handler/ci/ci.bash.in
+++ b/brep/handler/ci/ci.bash.in
@@ -50,6 +50,9 @@ function dump_repository_manifests () # <repo-url> <dir> <timeout>
local dir="$2"
local tmo="$3"
+ # Note that due to the --manifest option only known manifest values are
+ # allowed.
+ #
if ! run_silent bpkg rep-info --fetch-timeout "$tmo" --manifest \
--repositories --repositories-file "$dir/repositories.manifest" \
--packages --packages-file "$dir/packages.manifest" "$url"; then
diff --git a/brep/handler/submit/submit.bash.in b/brep/handler/submit/submit.bash.in
index cb83384..d1d0634 100644
--- a/brep/handler/submit/submit.bash.in
+++ b/brep/handler/submit/submit.bash.in
@@ -50,6 +50,8 @@ function extract_package_manifest () # <archive> <manifest>
# 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.
+ # Note that we also make sure that all the manifest values are known (see
+ # bpkg-pkg-verify for details).
#
if ! run_silent bpkg pkg-verify --deep --manifest "$arc" >"$man"; then