You are not logged in.
As a little edit of soloport's ingenious script for downloading single packages/directories from ABS instead of downloading everything, this is absget.
#!/bin/bash
# Downloads a single package from CVS CURRENT (much like ABS)
# Requires one or two arguments, one which specifes the CVS path (e.g. kernels/kernel26)
# and the other who specifies the repository (defaults to "arch")
# Creates a local DIR, for example, where DIR=kernel26 in kernels/kernel26
if [ "$BASH_ARGC" ]; then
[ "$2" ] && REPOS="$2" || REPOS="arch"
export CVSROOT=:pserver:anonymous:anonymous@cvs.archlinux.org:/home/cvs-$REPOS
DIR="$1"
declare -a ARY
declare -i NUM
ARY=( `echo $DIR | sed 's/// /g'` )
NUM=${#ARY[*]}-1
PKG=${ARY[$NUM]}
echo DIR="$DIR", PKG="$PKG", REPOS="$REPOS"
[ "$REPOS" = "arch" ] && cvs -z3 co -r CURRENT -d $PKG arch/build/$DIR
[ "$REPOS" = "extra" ] && cvs -z3 co -r CURRENT -d $PKG extra/$DIR
[ "$REPOS" = "unstable" ] && cvs -z3 co -r CURRENT -d $PKG unstable/$DIR
rm CVS CVSROOT -R 2>/dev/null
exit 0
else
echo "not enough arguments"
exit 1
fi
As you maybe can see, it's missing a line for community. Whenever I try to test this method with the community dir (/home/cvs-community) I get this error:
$ export CVSROOT=:pserver:anonymous:anonymous@cvs.archlinux.org:/home/cvs-community
$ cvs -z3 co .
no such user anonymous in CVSROOT/passwd
cvs seems to authenticate in a different way than cvsup does, I've tried for hours to get this working (even with the help of wireshark), but with no luck. Can anyone help?
Offline
very promising script
Offline
Moved from "User Contributions".
Offline
This could be a hint: http://cvs.archlinux.org/cgi-bin/viewcv … vsroot=AUR (not "Community")
1000
Offline
This could be a hint: http://cvs.archlinux.org/cgi-bin/viewcv … vsroot=AUR (not "Community")
yes, but I don't know how to access it without using abs or viewcvs
Offline
yes, but I don't know how to access it without using abs or viewcvs
I suppose you should ask CVS maintainer to allow anonymous access to Community repo too. :?
to live is to die
Offline
I suppose you should ask CVS maintainer to allow anonymous access to Community repo too. :?
Maybe you're right, but if abs (cvsup) does not connect as anonymous, what kind of authentication does it do to get the files then?
Offline