You are not logged in.

#1 2008-05-24 15:00:03

raymano
Member
Registered: 2006-10-13
Posts: 357
Website

Getting PKGBUILDs directly from Arch's subversion repos

How can I checkout a package's PKGBUILD directly from svn, vs using abs?

As an example I'm trying:

svn+ssh://svn.archlinux.org/home/svn-packages/kernel26/trunk kernel26

But it's asking me for a username and password. Is it not possible to do this anonymously?

Thanks.


FaunOS: Live USB/DVD Linux Distro: http://www.faunos.com

Offline

#2 2008-05-24 15:53:46

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Getting PKGBUILDs directly from Arch's subversion repos

AFAIK it's not possible to anonymously access our svn repos

Offline

#3 2008-05-24 16:50:41

raymano
Member
Registered: 2006-10-13
Posts: 357
Website

Re: Getting PKGBUILDs directly from Arch's subversion repos

Even for read-only access???!!!???


FaunOS: Live USB/DVD Linux Distro: http://www.faunos.com

Offline

#4 2008-05-24 18:13:50

Misery
Member
Registered: 2008-04-10
Posts: 41

Re: Getting PKGBUILDs directly from Arch's subversion repos

yaourt -G $pkgname

You can use the git-version from yaourt. It can download that PKGBUILDs.

Offline

#5 2008-05-24 18:46:21

raymano
Member
Registered: 2006-10-13
Posts: 357
Website

Re: Getting PKGBUILDs directly from Arch's subversion repos

Looks like yaourt gets it from abs:

[guest@myfaun ~]$ yaourt -G kernel26
kernel26 was not found on abs

I'm just looking for read-only access to the arch SVN repos.


FaunOS: Live USB/DVD Linux Distro: http://www.faunos.com

Offline

#6 2008-05-24 18:53:16

Misery
Member
Registered: 2008-04-10
Posts: 41

Re: Getting PKGBUILDs directly from Arch's subversion repos

raymano wrote:

[guest@myfaun ~]$ yaourt -G kernel26
kernel26 was not found on abs

That's why I wrote "git version". :-)

git clone http://projects.archlinux.fr/yaourt.git yaourt
cd yaourt/test
makepkg -i

Last edited by Misery (2008-05-24 18:56:50)

Offline

#7 2008-05-24 19:15:32

raymano
Member
Registered: 2006-10-13
Posts: 357
Website

Re: Getting PKGBUILDs directly from Arch's subversion repos

Thanks. Sorry. I miss understood.

Looks like the yaourt git version gets the package files from the viewvc front-end to SVN which seems a very strange way of interacting with an SVN repo.

But I'm really interested to know why read-only access to arch SVN repos is prohibited? I could understand if it's for limiting bandwidth usage to the arch linux servers. Any other reason?


FaunOS: Live USB/DVD Linux Distro: http://www.faunos.com

Offline

#8 2008-05-26 14:09:00

phildg
Member
Registered: 2006-03-10
Posts: 146

Re: Getting PKGBUILDs directly from Arch's subversion repos

I would also like to know why anonymous SVN access is not allowed. It seems a step backwards to me, with the old CVS repos I could download the two or three directories for the packages I build myself. Now it seems I have to download buildscripts for entire repositories for the sake of a fistful of packages.

Offline

#9 2008-05-26 16:20:34

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Getting PKGBUILDs directly from Arch's subversion repos

There wasn't any discussion about not allowing anonymous SVN access, AFAIK. Probably, it was not setup yet. I'll submit a feature request on the dev's internal bug tracker.

Offline

#10 2008-05-26 17:46:30

phildg
Member
Registered: 2006-03-10
Posts: 146

Re: Getting PKGBUILDs directly from Arch's subversion repos

Thanks, I was just about to submit a feature request to the public bug tracker, but I'll leave it for now.

Offline

#11 2008-05-27 20:31:55

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Getting PKGBUILDs directly from Arch's subversion repos

My comment on the internal bug:

Well, I'm just worried about the additional load that full checkouts will cause on gerolde.

Thomas and I discussed this and decided it may be a better idea to just add an optional "trunk" section to ABS, so that the trunk PKGBUILDs can additionally be checked out.

Considering we only have one server that manages our repos, web site, forums, wiki, etc etc I really don't want to tax it with people checking out the ENTIRE svn repo for pretty much no reason. Right now you can get the PKGBUILDs from abs, which uses rsync and is FAR less taxing. The comment above would add some additional PKGBUILDs to that for users that want up-to-the-minute PKGBUILDs that may not be in the repos yet.

Can I ask why it's important to get at the svn repo as opposed to using ABS?

Offline

#12 2008-05-28 09:31:23

phildg
Member
Registered: 2006-03-10
Posts: 146

Re: Getting PKGBUILDs directly from Arch's subversion repos

I can see your point, but I don't want to download 2 entire repositories for the sake of 2 packages. Surely updating 2 packages by SVN is cheaper than rsyncing core and extra?

When I manually rsync to the server the abs module isn't listed which threw me off till I looked at the abs source, so I can now manually rsync my 2 packages. The only thing missing now is the merging done by SVN/CVS that doesn't happen with rsync, but that is only a minor issue.

Offline

#13 2008-05-28 16:17:52

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Getting PKGBUILDs directly from Arch's subversion repos

But for every user that pulls a handful of packages, there will be 2 or 3 users pulling the entire repo. That's the problem. As cactus said: people will begin using svn instead of abs and abs will become a second-class app.

Offline

#14 2008-05-28 18:39:04

phildg
Member
Registered: 2006-03-10
Posts: 146

Re: Getting PKGBUILDs directly from Arch's subversion repos

Perhaps, was there a big problem when anon CVS was available?

I don't recall a big fuss on the forums when anon CVS was stopped suggesting that not many people were using CVS, I don' see why everyone will start using SVN instead of abs when they used abs even though anon CVS was available in the past.

Just for the record, I always used CVS to get kernel26 and nvidia, the new version of kernel26 is the first I haven't been able to get via CVS.

Offline

#15 2008-05-28 19:23:49

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: Getting PKGBUILDs directly from Arch's subversion repos

Is it possible to provide svn via http just like git? (I don't mean the apache web_dav module)

Offline

#16 2008-05-28 19:41:07

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Getting PKGBUILDs directly from Arch's subversion repos

I think svnserve can do that. I dunno what kind of load it produces though.

Offline

#17 2008-05-28 20:33:05

phildg
Member
Registered: 2006-03-10
Posts: 146

Re: Getting PKGBUILDs directly from Arch's subversion repos

Perhaps anonymous access can be trialled first to see whether it will cause a problem. I don't think the actual protocol used is an issue aslong as I can use the svn client on this end.

Offline

#18 2008-06-03 13:16:13

phildg
Member
Registered: 2006-03-10
Posts: 146

Re: Getting PKGBUILDs directly from Arch's subversion repos

Has a final decision been made on this yet, or has it been swept under the rug?

Due to the lack of participation in this thread from non developers, I wouldn't be worried about overloading, more is it worth the effort to provide and maintain another service for so few users.

Offline

Board footer

Powered by FluxBB