You are not logged in.

#1 2011-07-27 22:14:53

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

url for public archlinux git server

I'd like to use git to hit Arch's packages in [testing] but am unsure how.  Is there a public server?  I know I can do this with abs but there can be delays for servers to sync which is why I'm more hip on a git clone xxx rather than using abs.  Thanks!


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2011-07-27 22:21:50

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: url for public archlinux git server

There are instructions for the svn repo, not sure if they still hold http://www.archlinux.org/svn/

Offline

#3 2011-07-27 22:24:12

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: url for public archlinux git server

Thanks karol - so svn is the major development platform for Arch, not git...


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2011-07-27 22:26:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: url for public archlinux git server

https://wiki.archlinux.org/index.php?ti … S_From_SVN is not marked as out of date or anything, but I plainly see 'svntogit' in the urls e.g. http://projects.archlinux.org/svntogit/ … .git/tree/

Last edited by karol (2011-07-27 22:31:31)

Offline

#5 2011-07-27 22:30:05

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: url for public archlinux git server

Yep... one cannot clone the urls though...

$ git clone http://projects.archlinux.org/svntogit/packages.git/tree/a2ps/trunk
Cloning into trunk...
warning: remote HEAD refers to nonexistent ref, unable to checkout.

CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#6 2011-07-27 22:31:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: url for public archlinux git server

I see you need to git://projects.archlinux.org/svntogit/packages.git to clone http://projects.archlinux.org/svntogit/packages.git/

http://projects.archlinux.org/svntogit/
says
Git clone of the 'community' subversion repository
Git clone of the 'packages' subversion repository

https://bugs.archlinux.org/task/24537#comment79945

Sverd Johnsen (sjohnsen) wrote:

Arch is not a source distribution, if you want to rebuild official packages regulary (For whatever reason) you can do that with a few of your own little helper scripts quite reliable. Use the git repo (Syncs every 2h from SVN) instead of the ABS tree.

I'm not sure how much load are you going to put on the servers, so you might want to wait for a nod from dear Arch Overlords or ask on the ML.

Last edited by karol (2011-07-27 22:38:51)

Offline

#7 2011-07-27 22:39:09

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: url for public archlinux git server

Got it... but that will result in cloning the ENTIRE shooting match won't it?  Over 196 MB.  Guess this is me not knowing how to clone out only a specific package, for example just nvidia?

Last edited by graysky (2011-07-27 22:39:39)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#8 2011-07-27 22:50:21

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: url for public archlinux git server

I've used the instructions from http://www.archlinux.org/svn/

[karol@black foo3]$ svn checkout --depth=empty svn://svn.archlinux.org/packages
Checked out revision 133219.
[karol@black foo3]$ cd packages
[karol@black packages]$ svn update nvidia
A    nvidia
A    nvidia/trunk
A    nvidia/trunk/nvidia.install
A    nvidia/trunk/PKGBUILD
A    nvidia/repos
A    nvidia/repos/extra-x86_64
A    nvidia/repos/extra-x86_64/nvidia.install
A    nvidia/repos/extra-x86_64/PKGBUILD
A    nvidia/repos/testing-i686
A    nvidia/repos/testing-i686/nvidia.install
A    nvidia/repos/testing-i686/PKGBUILD
A    nvidia/repos/testing-x86_64
A    nvidia/repos/testing-x86_64/nvidia.install
A    nvidia/repos/testing-x86_64/PKGBUILD
A    nvidia/repos/extra-i686
A    nvidia/repos/extra-i686/nvidia.install
A    nvidia/repos/extra-i686/PKGBUILD
Updated to revision 133219.
[karol@black packages]$ ls
nvidia
[karol@black packages]$ ls nvidia/
repos  trunk
[karol@black packages]$ ls nvidia/repos/
extra-i686  extra-x86_64  testing-i686    testing-x86_64
[karol@black packages]$ ls nvidia/repos/extra-i686/
nvidia.install    PKGBUILD

Same as http://projects.archlinux.org/svntogit/ … xtra-i686/

Last edited by karol (2011-07-27 22:52:15)

Offline

#9 2011-07-28 01:22:53

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: url for public archlinux git server

I was just looking for a way to git clone individual packages. This thread was the first hit in my search and I was surprised to see that it was only posted a few hours ago. Interesting coincidence.

My git-fu is non-existent (I started working on that a bit last night). Is there a way to use git svn to do the equivalent of the following as mentioned here:

svn checkout --depth=empty svn://svn.archlinux.org/packages
cd packages
svn update <your-package-name>

Cursory research suggests that it isn't and I didn't want to test anything that might check out the entire SVN repo.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#10 2011-07-28 01:44:04

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: url for public archlinux git server

Offline

#11 2011-07-28 02:30:13

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: url for public archlinux git server

As I recall based on discussion on arch-dev-public, one of the disadvantages of git is that there's no easy way to check out only one package?

In any case, Xyne, doesn't your pbget check out one package at a time from git? Haven't looked at that code in a while, but I remember it did something along those lines.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#12 2011-07-28 04:04:53

Stebalien
Member
Registered: 2010-04-27
Posts: 1,237
Website

Re: url for public archlinux git server

pbget uses wget to download from the svntogit repo.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#13 2011-07-28 18:25:46

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: url for public archlinux git server

Offline

#14 2011-07-30 11:00:36

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: url for public archlinux git server

@ngoonee
Stebalien is right. pbget just downloads the latest package files from the server, which are just working copies without any VCS data at all.

I'm interested in being able to clone individual packages because it would make it easier to maintain all of the SELinux packages and it might even be possible to automate a binary repo. I've presented the idea to Nicky726, who currently maintains all of the SELinux packages in the AUR, and he likes the idea: https://aur.archlinux.org/packages.php?ID=32045


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#15 2011-07-30 13:42:19

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: url for public archlinux git server

Offline

#16 2011-07-30 16:23:32

jelly
Administrator
From: /dev/null
Registered: 2008-06-10
Posts: 714

Re: url for public archlinux git server

ngoonee wrote:

As I recall based on discussion on arch-dev-public, one of the disadvantages of git is that there's no easy way to check out only one package?

That's true, that's why we still use svn. fedora uses a git repo per pacakge for example.

Offline

Board footer

Powered by FluxBB