summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libretools.conf20
1 files changed, 9 insertions, 11 deletions
diff --git a/src/libretools.conf b/src/libretools.conf
index 070d289..593aed6 100644
--- a/src/libretools.conf
+++ b/src/libretools.conf
@@ -4,6 +4,9 @@
# misc #
################################################################################
+# The dir where you work on
+WORKDIR=/home/$LIBREUSER/packages
+
## Blacklist URL
BLACKLIST=https://repo.parabolagnulinux.org/docs/blacklist.txt
@@ -23,29 +26,24 @@ REPOS=('core' 'libre' 'extra' 'community' 'libre-testing' 'social' 'sugar' 'pcr'
## Used by `librestage`
ARCHES=('x86_64' 'i686' 'mips64el')
+## ABSLibre
+#ABSLIBREGIT=http://projects.parabolagnulinux.org/abslibre.git
+ABSLIBREGIT=ssh://git@projects.parabolagnulinux.org:1863/srv/git/abslibre.git
+
################################################################################
-# abslibre #
+# librerelease #
################################################################################
-# The dir where you work on
-WORKDIR=/home/$LIBREUSER/packages
-
## Where to upload packages to
# Don't change unless you know what you're doing and you won't screw
# anything ;)
REPODEST=repo@repo:/srv/http/repo/public
## Assumes something similar in your .ssh/config:
-
# Host repo
# Port 1863
# HostName repo.parabolagnulinux.org
-## ABSLibre
-ABSLIBREGIT=http://projects.parabolagnulinux.org/abslibre.git
-#ABSLIBREGIT=ssh://git@projects.parabolagnulinux.org:1863/srv/git/abslibre.git
-
-# Run a command before releasing a package (ie. SSH connection, SSH tunnel, etc.)
-# This is called by librerelease.
+## These are run before and after uploading packages
HOOKPRERELEASE="ssh -fN ${REPODEST%%:*}"
HOOKPOSTRELEASE="sudo librechroot clean-repo"