You are not logged in.
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 packages • Zsh and other configs
Offline
There are instructions for the svn repo, not sure if they still hold http://www.archlinux.org/svn/
Offline
Thanks karol - so svn is the major development platform for Arch, not git...
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
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
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 packages • Zsh and other configs
Offline
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
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
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 packages • Zsh and other configs
Offline
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
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 Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Maybe the new abs will be better http://mailman.archlinux.org/pipermail/ … 01086.html
Offline
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
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
Another take on ABS https://bbs.archlinux.org/viewtopic.php?id=123331
Offline
@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 Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Offline
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