You are not logged in.

#1 2010-07-02 12:38:54

str1ngs
Member
Registered: 2010-07-02
Posts: 7

Archlinux ABS @ github

I've created a mirror of the archlinux svn on github  http://github.com/str1ngs/abs.

The mirror has some cool feature's the master branch has been rebased to look like abs, Which basically adds git support to abs.

I've added a README it should contain enough details on how to get up and running with it.


Regards,

strings

Offline

#2 2010-07-03 17:46:21

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: Archlinux ABS @ github

awesome. this is exactly what i wanted to do myself!
and for the same reason as you. it becomes much easier to maintain customized packages.
every single commit in svn becomes a new commit in git, right?

fwiw: I once requested to use git officially for this, but there were some practical issues that apparently git cannot handle.
See http://www.mail-archive.com/arch-genera … 11753.html for more info


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#3 2010-07-03 19:26:36

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Archlinux ABS @ github

Dieter@be wrote:

fwiw: I once requested to use git officially for this, but there were some practical issues that apparently git cannot handle.
See http://www.mail-archive.com/arch-genera … 11753.html for more info

Since that link 404s for me, here is an alternative: http://mailman.archlinux.org/pipermail/ … 11769.html .


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#4 2010-07-03 19:28:56

str1ngs
Member
Registered: 2010-07-02
Posts: 7

Re: Archlinux ABS @ github

All of the svn commits become commits in git it's easier to see this with the svn branch. They are a bit cryptic right now but I think I can tweak it to be more readable. So in theory the svn branch is identical to svn.

I did read that thread already about svn vs git. And I guess svn won over git. I personally think git would be way better in the long. But my intention is not to rock that boat, and to work around it as best as possible.

My hopes is we can drum out a good svn to git work flow that works. I still dont like the amount of rebasing required to make the svn branch look like abs. And I still have to force push it github.  Which means you can only pull new commits from github with git pull --rebase. Which is fine more then likely you would have to do that anyways to version bump your PKGBUILD's.

To really get this working I could use alot more people using it and doing some peer review. Also help with the rebasing process and possibly finding a  more automated process. Once we get something that is smooth down pat we can document it so people that maintain there own packages can replace abs syncing with this. Possibly even find a work flow that allows for pulling one packaging at a time.

Regards,

strings

Offline

#5 2010-07-04 02:49:44

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

Re: Archlinux ABS @ github

I believe the primary 'missing' thing you can do with SVN and not with git is only pull a specific package (as you've mentioned), which is a pretty big deal.


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

#6 2010-07-04 05:06:52

str1ngs
Member
Registered: 2010-07-02
Posts: 7

Re: Archlinux ABS @ github

ngoonee wrote:

I believe the primary 'missing' thing you can do with SVN and not with git is only pull a specific package (as you've mentioned), which is a pretty big deal.

This can be done just not in the way svn does it.

mkdir abs
cd abs && git init
git config core.sparsecheckout true
echo "core/bash/" > .git/info/sparse-checkout
echo "extra/git/" >> .git/info/sparse-checkout
git pull git://github.com/str1ngs/abs.git
find -name PKGBUILD

Offline

#7 2010-07-05 20:32:18

str1ngs
Member
Registered: 2010-07-02
Posts: 7

Re: Archlinux ABS @ github

I've added community. and I've streamlined the svn to git process to not have to rebase. which should translate into slick pull/merges.

Offline

#8 2010-07-06 21:08:33

str1ngs
Member
Registered: 2010-07-02
Posts: 7

Re: Archlinux ABS @ github

I've added a wiki page at github. With a much more concise way to work with single or groups of packages.

The wiki page can be found here http://wiki.github.com/str1ngs/abs/work … e-packages

Offline

Board footer

Powered by FluxBB