Commit 11d88579 authored by Steffen Möller's avatar Steffen Möller
Browse files

Introduced a bit of help.

parent 7293e5ea
Loading
Loading
Loading
Loading
+28 −1
Original line number Diff line number Diff line
@@ -2,7 +2,34 @@

# Also, dpt-salsa (in pkg-perl-tools) might be able to do what you want

set -eu
set -e

if [ -n "$1" -a "-h" = "$1" -o "--help" = "$1" ] ; then

  cat <<EOHELP

Usage: $(basename $0)

Run this script from within the root of a Debian package that is not yet
uploaded to salsa.debian.org and for that yet no repository was created on that site.

To read and write to that salsa gitlab site, this script needs an access token.
This is retrieved from https://salsa.debian.org/profile/personal_access_tokens
and requires a user account on salsa, obviously. To use that token, create

cat > ~/.ssh/salsarc <<EOSALSATOKEN
SALSA_URL="https://salsa.debian.org/api/v4"
SALSA_TOKEN="YOUR_SALSA_TOKEN"
EOSALSATOKEN

and this will be found by this script when executed.

EOHELP

  exit
fi

set -u

SALSARC=~/.ssh/salsarc