summaryrefslogtreecommitdiff
path: root/src/abslibre-tools/librerelease
diff options
context:
space:
mode:
Diffstat (limited to 'src/abslibre-tools/librerelease')
-rwxr-xr-xsrc/abslibre-tools/librerelease9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/abslibre-tools/librerelease b/src/abslibre-tools/librerelease
index 83898af..62ba6b7 100755
--- a/src/abslibre-tools/librerelease
+++ b/src/abslibre-tools/librerelease
@@ -129,6 +129,14 @@ usage() {
print "Usage: %s [OPTIONS]" "${0##*/}"
print 'Upload packages in $WORKDIR/staging to the Parabola server'
echo
+ prose 'By default, `librerelease` expects the runtime-determined `$LIBREUSER`,
+ to match the hackers.git login for which $LIBREUSER has credentials.
+ $LIBREUSER is normally the current local login; but may be
+ over-ridden by setting $SUDO_USER in the environment.
+ If no local logins exist, which match your hackers.git login,
+ you can specify `$REPOUSER` as the remote login for `librerelease`,
+ in the `configuration` section of /usr/lib/libretools/conf.sh,'
+ echo
print "Options:"
flag '-c' 'Clean; delete packages in $WORKDIR/staging'
flag '-l' "List; list packages but not upload them"
@@ -290,6 +298,7 @@ release_packages() {
fi
msg "Running db-update on repos"
+ # eg: ssh -p 1863 autobuilder@repo.parabola.nu STAGING='staging/' DBSCRIPTS_CONFIG='/etc/dbscripts/config.local.parabola' db-update
ssh ${REPODEST_port:+-p "$REPODEST_port"} "${REPODEST_userhost}" "STAGING=${REPODEST_path@Q} DBSCRIPTS_CONFIG=${DBSCRIPTS_CONFIG@Q} db-update"
if [[ -n $HOOKPOSTRELEASE ]]; then