summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-02-01 10:21:21 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-02-01 10:21:21 -0300
commitbe895aa478a46f8127961176a960492adfbde0bb (patch)
treeb1db0009c28469b0e136634df16c82b19f75973d
parentd36ee2573a3daebbeec15f6b3c13b4bec1ddf29b (diff)
librerelease now uploads into [staging]
-rwxr-xr-xlibrerelease18
-rw-r--r--libretools.conf4
2 files changed, 15 insertions, 7 deletions
diff --git a/librerelease b/librerelease
index 836cdfc..01d8d81 100755
--- a/librerelease
+++ b/librerelease
@@ -68,20 +68,26 @@ for _arch in ${arch[@]}; do
for pkg in ${pkgname[@]}; do
pkgfile="$PKGDEST/$pkg-$pkgver-$pkgrel-$_arch$PKGEXT"
if [ -e "$pkgfile" ]; then
-# Move out the old packages
-# This has to be moved to repo-maintainer
- ssh ${PARABOLAHOST} mv ${LIBREDESTDIR}/$repo/os/$_arch/$pkg-*-*-$_arch$PKGEXT ${LIBREDESTDIR}/old/
-
- to_sftp "put $pkgfile ${LIBREDESTDIR}/$repo/os/$_arch/"
+ to_sftp "put $pkgfile ${LIBREDESTDIR}/$repo/"
fi
done
done
# Use pkgbase for the finding the sources tar
[[ -z ${pkgbase} ]] && pkgbase=${pkgname}
-makepkg --source
+
+# Upload the build scripts
+makepkg -f --source
to_sftp "put $SRCPKGDEST/$pkgbase-$pkgver-$pkgrel$SRCEXT ${LIBRESRCDIR}/$repo"
sftp -b ${batchfile} ${PARABOLAHOST}
+cat <<EOM
+From: you
+To: packages@list.parabolagnulinux.org
+Subject: [$pkgbase] $pkgver-$pkgrel released on [$repo]
+
+:)
+EOM
+
exit 0
diff --git a/libretools.conf b/libretools.conf
index 1c575f1..47f268a 100644
--- a/libretools.conf
+++ b/libretools.conf
@@ -1,3 +1,5 @@
+## Blacklist URL
+BLACKLIST=http://repo.parabolagnulinux.org/docs/blacklist.txt
## The directory where the chroots are stored
CHROOTDIR=/home/chroot
@@ -17,7 +19,7 @@ PATCHDIR=
PARABOLAHOST=parabola
## Server destination of libre packages
-LIBREDESTDIR=parabolagnulinux.org/repo/free
+LIBREDESTDIR=parabolagnulinux.org/repo/staging
LIBRESRCDIR=parabolagnulinux.org/repo/pkgbuilds
# Recommended SSH Config