You are not logged in.
Pages: 1
Is there a place that you can get the PKGBUILDs for packages in testing? The links of the package repos on the site don't link to anything and I haven't been able to find any information on this.
EDIT: I am speaking of the gnome 2.8 in particular.
-wd
Hobbes : Shouldn't we read the instructions?
Calvin : Do I look like a sissy?
Offline
Testing is kinda special. It's not really a real cvs repository like the other ones. It's just a special tag that can be used in any of the three official repos. So, until I make abs smart enough to checkout Testing, you can do it manually like so:
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.
Offline
Thanks apeiro, that worked great.
-wd
Hobbes : Shouldn't we read the instructions?
Calvin : Do I look like a sissy?
Offline
I'll just post it here.
---
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
“A stupid person can make only certain, limited types of errors; the mistakes open to a clever fellow are far broader. But to the one who knows how smart he is compared to everyone else, the possibilities for true idiocy are boundless.” —S.K.Z. Brust
Offline
Aw. Nice stuff, really. You should add this to bugtracker as a feature request.
Offline
Fine work, I really like to use the testing repo through abs. It is particularly useful when one does not want to use testing packages as a rule (and so is not willing to put testing in /etc/pacman.conf), but also a couple of specific packages through abs. I see that this has been posted as a feature request in the bugtracker. I vote for this feature
Mortuus in anima, curam gero cutis
Offline
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
Offline
This script modification has been on the forums for almost a year now, and no one bothered to include it into the official abs script. Is there any particular reason for this?
Offline
Because I just noticed this?
I will add this asap - good work Celti
Offline
Did it get added? I think not :S
Offline
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.
Offline
note that the only way you are supposed to use testing is to use all packages u have installed from it. meaning the repo being on top of pacman.conf.
otherwise there is big chance that at some point, especially if u dont use the repo with caution (whatever that means) , you are gonna break things & ask for help all over the place. then claim Arch sucks etc etc..
that is not always the case but consider yourself warned
There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums. That is why we avoid it. -- ewaller (arch linux forum moderator)
Offline
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!
Shaika-Dzari
http://www.4nakama.net
Offline
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.
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline
Great!
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!
Shaika-Dzari
http://www.4nakama.net
Offline
Pages: 1