summaryrefslogtreecommitdiff
path: root/stage-pkg
diff options
context:
space:
mode:
Diffstat (limited to 'stage-pkg')
-rwxr-xr-xstage-pkg17
1 files changed, 12 insertions, 5 deletions
diff --git a/stage-pkg b/stage-pkg
index 1a77e1f..6930fd9 100755
--- a/stage-pkg
+++ b/stage-pkg
@@ -12,7 +12,7 @@
# Distribute and regenerating only without publishing the repository.
#
# -q
-# Publish packages into the queue instead of staging.
+# Publish packages into the queue instead of staging. Implies -d.
#
usage="usage: etc/stage-pkg [<options>] <group> <dir>..."
@@ -25,6 +25,12 @@ set -o errtrace # Trap in functions.
function info () { echo "$*" 1>&2; }
function error () { info "$*"; exit 1; }
+# Make sure the build2 tools are runnable.
+#
+b --version >/dev/null
+bpkg --version >/dev/null
+bdep --version >/dev/null
+
repo_name="STAGE.BUILD2.ORG"
repo_dir="staging/repository/1"
repo_host1="stage.build2.org:/var/bpkg/1"
@@ -51,10 +57,11 @@ while [ $# -gt 0 ]; do
shift
;;
-q)
- repo_name="CPPGET.ORG/QUEUE"
- repo_dir="cppget.org/repository/1/queue"
- repo_host1="cppget.org:/var/bpkg/1/queue"
- repo_host2="queue.cppget.org:/var/bpkg/1/queue"
+ #repo_name="CPPGET.ORG/QUEUE"
+ repo_dir="cppget.org/queue/1/alpha"
+ #repo_host1="cppget.org:/var/bpkg/1/queue"
+ #repo_host2="queue.cppget.org:/var/bpkg/1/queue"
+ dist_only=true
shift
;;
*)