Thank you shining.
For other people like me, edit /etc/abs/abs.conf and remove the ! before testing in SUPFILES=().
Run abs as root and enjoy!
Hello!
Can we safelly use ABS hack from Celti?
I also need to look into pkgbuild from testing...I searched on bugs.archlinux.org but I did not see any feature request to include testing in ABS.
Thank!
Look at /etc/abs/* , testing is already there.
]]>Can we safelly use ABS hack from Celti?
I also need to look into pkgbuild from testing...
I searched on bugs.archlinux.org but I did not see any feature request to include testing in ABS.
Thank!
]]>Just a note, if you put testing in your pacman.conf, but underneath extra/current, it is considered a lower priority.
This means that pacman will not install from testing unless you explicitly tell it to, by doing pacman -S testing/ati-drivers
iphitus
Glad I read this thread, I will be more then willing to try out some packages in testing, but I never wanted everything in testing. This is the solution I was after. Wish I had read about this a long time ago.
]]>This means that pacman will not install from testing unless you explicitly tell it to, by doing pacman -S testing/ati-drivers
iphitus
]]>---
I've managed to hack abs so it will sync testing. Here are the files:
/usr/bin/abs
#!/bin/bash
[ -f /etc/abs/abs.conf ] && source /etc/abs/abs.conf
usage() {
echo "Arch Build System -- synchronization utility"
echo "usage: $0 [repository1 [repository2 ...]]"
echo
echo "abs will synchronize PKGBUILD scripts from the CVS repository"
echo "into $ABSROOT. You can follow different package trees by"
echo "editing /etc/abs/supfile.* files. If no argument is given, abs "
echo "will synchronize from supfiles specified in /etc/abs/abs.conf"
}
update() {
cd $ABSROOT
for sup in "${SUPFILES[@]}"; do
if [ "$sup" != "testing" ]; then
if [ "$sup" = "${sup#!}" ]; then
cvsup -L 1 -r 0 -g -b $ABSROOT -c .sup
/etc/abs/supfile.$sup
fi
elif [ "$sup" = "testing" ]; then
if [ ! -d /var/abs/testing ]; then
mkdir /var/abs/testing; fi
cd $ABSROOT/testing
cvsup -L 1 -r 0 -g -b $ABSROOT/testing
-c .sup /etc/abs/supfile.testing
cd $ABSROOT
fi
done
}
if [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
usage
exit 0
fi
if [ ! -w $ABSROOT ]; then
echo "abs: no write permissions in $ABSROOT"
exit 1
fi
if [ ! `type -p cvsup` ]; then
echo "abs: cvsup was not found in PATH. Install cvsup"
exit 1
fi
if [ ! -d "$ABSROOT" ]; then
echo "abs: directory $ABSROOT does not exist"
exit 1
fi
if [ "$#" -ne "0" ]; then
SUPFILES=("$@")
fi
update
exit 0
/etc/abs/supfile.testing
#
# /etc/abs/supfile
#
# this is the host containing the master ABS files
*default host=cvs.archlinux.org
*default release=cvs
*default delete
*default use-rel-suffix
*default compress
*default tag=TESTING
arch
extra
Whack those into their appropriate places, pop 'testing' into the supfiles array in abs.conf, and run abs. You should be golden.
---
Judd, you maybe wanna officially include it ABS? I've fiddled with it a bit and found no bugs, and I tried to make my changes as clean as possible.
~Celti
]]>-wd
]]>1. Create the /etc/abs/supfile.testing file:
*default host=cvs.archlinux.org
*default release=cvs
*default delete
*default use-rel-suffix
*default compress
*default tag=TESTING
arch
extra
2. Run cvsup manually:
# mkdir /var/abs/testing
# cd /var/abs/testing
# cvsup -L 1 -r 0 -g -b /var/abs/testing -c .sup /etc/abs/supfile.testing
That should do it.
]]>EDIT: I am speaking of the gnome 2.8 in particular.
-wd
]]>