You are not logged in.

#1 2006-08-13 21:11:50

soloport
Member
Registered: 2005-03-01
Posts: 442

CVS and ABS

The CVS way:

export CVSROOT=:pserver:anonymous:anonymous@cvs.archlinux.org:/home/cvs-arch
cvs -z3 co -d kernel26 arch/build/kernels/kernel26

Does not result in the equivalent ABS way:

diff kernel26/PKGBUILD /var/abs/kernels/kernel26/PKGBUKD | grep PKGBUILD
# $Id: PKGBUILD,v 1.154 2006/08/11 14:12:53 tpowa Exp $
# $Id: PKGBUILD,v 1.152 2006/08/11 14:12:53 tpowa Exp $
etc.

So, from where is ABS pulling down files?  Can the same path be used by CVS?

export CVSROOT=:pserver:anonymous:anonymous@cvs.archlinux.org:/home/cvs-arch
cvs -z3 co -d kernel26 [PLEASE-FILL-IN-BLANK]/kernels/kernel26

(Still trying to find a way to grab a single package, instead of the whole ABS enchilada.  AND version 1.154 of PKGBUILD currently breaks.)

Thanks!
.

Offline

#2 2006-08-13 21:16:07

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: CVS and ABS

ABS uses cvsup and the repos are divided into "thingies"..collections?  HTH

Offline

#3 2006-08-13 21:24:58

soloport
Member
Registered: 2005-03-01
Posts: 442

Re: CVS and ABS

Also, on the Arch Linux Home page, there's a link to CVS.  The instructions there could be simplified by deleting the login instructions (#2) and changing the export:

From - anonymous@
To - anonymous:anonymous@

Just another thought.
.

Offline

#4 2006-08-13 21:30:03

soloport
Member
Registered: 2005-03-01
Posts: 442

Re: CVS and ABS

Oh. Gee.  ABS is just a script!

There.  I've accomplished my "Duh" for the day...

Thanks, dtw.

EDIT: Well, I guess since ABS is an all-or-nothing "packaged" trick, there's really no work-around.  Bummer.

Offline

#5 2006-08-13 22:06:01

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: CVS and ABS

abs uses cvsup "supfiles" that use CURRENT as tag. Now, if tpowa uploads something to testing, the revision you get from CVS is the latest and greatest, the one that is tagged as CURRENT is a bit behind.

If you do a cvs checkout with -rCURRENT, you'll get the same as abs pulls in.

Offline

#6 2006-08-14 01:04:58

soloport
Member
Registered: 2005-03-01
Posts: 442

Re: CVS and ABS

JGC wrote:

If you do a cvs checkout with -r CURRENT, you'll get the same as abs pulls in.

Ok, that was the tip I've been looking for (and for a while).  Terrific.  Thanks!

EDIT: Resutls are here.

Offline

Board footer

Powered by FluxBB