Re: [dev] Migration to git

2012-12-09 Thread Kai Hendry
On 29 November 2012 12:13, Calvin Morrison mutanttur...@gmail.com wrote:
 With the transfer to git, would it be possible for me to clone all of the
 suckless repositories in one fell sweep?

curl -s http://git.suckless.org/ |
xml sel -N x=http://www.w3.org/1999/xhtml; -t -m //x:a -v '@title' -n |
grep . |
while read repo
do git clone git://git.suckless.org/$repo
done

http://dabase.com/e/09020/



Re: [dev] Migration to git

2012-12-09 Thread Jacob Todd
On Sun, Dec 9, 2012 at 10:29 AM, Kai Hendry hen...@iki.fi wrote:
 On 29 November 2012 12:13, Calvin Morrison mutanttur...@gmail.com wrote:
 With the transfer to git, would it be possible for me to clone all of the
 suckless repositories in one fell sweep?

 curl -s http://git.suckless.org/ |
 xml sel -N x=http://www.w3.org/1999/xhtml; -t -m //x:a -v '@title' -n |
 grep . |
 while read repo
 do git clone git://git.suckless.org/$repo
 done

 http://dabase.com/e/09020/


are you fucking kidding me



Re: [dev] Migration to git

2012-12-09 Thread Calvin Morrison
fantastic!


On 9 December 2012 10:29, Kai Hendry hen...@iki.fi wrote:

 On 29 November 2012 12:13, Calvin Morrison mutanttur...@gmail.com wrote:
  With the transfer to git, would it be possible for me to clone all of the
  suckless repositories in one fell sweep?

 curl -s http://git.suckless.org/ |
 xml sel -N x=http://www.w3.org/1999/xhtml; -t -m //x:a -v '@title' -n |
 grep . |
 while read repo
 do git clone git://git.suckless.org/$repo
 done

 http://dabase.com/e/09020/




Re: [dev] Migration to git

2012-11-30 Thread Barbu Paul - Gheorghe

On 11/30/2012 01:57 AM, uki wrote:

you can still use mercurial, with it's hg-git extension, I sometimes
had small problems with it on huge repositories at work, never had any
problem with open source projects (maybe it's the size or less of 'do
whatever' attitude)


Yeah, I'm not much of a hg user, I prefer git because I'm used to it.
But if this keeps the patch queue I might use it, I'll look into it later.

Thanks.

--
Barbu Paul - Gheorghe
Common sense is not so common - Voltaire
Visit My GitHub profile to see my open-source projects - 
https://github.com/paullik



Re: [dev] Migration to git

2012-11-29 Thread uki
there goes the 'less' part
Pozdrawiam,
Łukasz Gruner


2012/11/29 Christoph Lohmann 2...@r-36.net:
 Greetings comrades,

 the  migration  to  git is nearly complete. What’s missing is your tests
 that everything works as expected.

 Projects can be accessed via:
 http://git.suckless.org/$name
 git://git.suckless.org/$name

 Beware that the wiki can only be pushed to via:
 git://git.suckless.org/sites

 For SSH:
 ssh://u...@suckless.org/gitrepos/$name

 I tried to change all references in the wiki to the old hg repositories.
 If you find any I missed, please change it and push the changes  to  the
 sites repository. Thanks.


 Sincerely,

 Christoph Lohmann





Re: [dev] Migration to git

2012-11-29 Thread Roberto E. Vargas Caballero
Quick question -
A long time ago I asked if it was possible to clone _all_ the hg
repositories without having to manually specify them from the suckless
site. The answer I got was no.
With the transfer to git, would it be possible for me to clone all of the
suckless repositories in one fell sweep?


This can be done easily with submodules. Both, git and hg, have support for
them, it is only necessary build the repository with the definition of the
submodules.



Re: [dev] Migration to git

2012-11-29 Thread hiro
rofl

On 11/29/12, Roberto E. Vargas Caballero k...@shike2.com wrote:
Quick question -
A long time ago I asked if it was possible to clone _all_ the hg
repositories without having to manually specify them from the suckless
site. The answer I got was no.
With the transfer to git, would it be possible for me to clone all of
 the
suckless repositories in one fell sweep?


 This can be done easily with submodules. Both, git and hg, have support for
 them, it is only necessary build the repository with the definition of the
 submodules.





Re: [dev] Migration to git

2012-11-29 Thread Christoph Lohmann
Greetings.

On Thu, 29 Nov 2012 14:48:17 +0100 uki uka...@gmail.com wrote:
 there goes the 'less' part
 Pozdrawiam,
 Łukasz Gruner

You must have had a wrong definition of »suckless« long before this hap‐
pened, if you think using a prototyping language for many years  without
replacing it »sucks less«.


Sincerely,

Christoph Lohmann




Re: [dev] Migration to git

2012-11-29 Thread Nick
(with apologies for screwing up threading slightly)

Thanks Christoph, looks good. One thing is that there don't appear
to be any tags (at least with surf, which is what I tested). Can
these be migrated too? It'd be useful.

Nick



Re: [dev] Migration to git

2012-11-29 Thread Daniel Bainton
On 29 November 2012 16:01, Nick suckless-...@njw.me.uk wrote:
 (with apologies for screwing up threading slightly)

 Thanks Christoph, looks good. One thing is that there don't appear
 to be any tags (at least with surf, which is what I tested). Can
 these be migrated too? It'd be useful.

You're doing something wrong then, I get the tags just fine.

--
Daniel



Re: [dev] Migration to git

2012-11-29 Thread Nick
On Thu, Nov 29, 2012 at 04:09:35PM +0200, Daniel Bainton wrote:
 On 29 November 2012 16:01, Nick suckless-...@njw.me.uk wrote:
  Thanks Christoph, looks good. One thing is that there don't appear
  to be any tags (at least with surf, which is what I tested). Can
  these be migrated too? It'd be useful.
 
 You're doing something wrong then, I get the tags just fine.

Oh, really? I'm doing this:

  git clone http://git.suckless.org/surf
  cd surf
  git tag

Which results in no output (I expected the list of tags). What should I
be doing?



Re: [dev] Migration to git

2012-11-29 Thread Anthony Cox

On 29/11/12 14:01 ;+, Nick wrote:
One thing is that there don't appear to be any tags (at least with 
surf, which is what I tested).


Seems to work fine for me:


tony@morpheus ~ $ git clone git://git.suckless.org/surf
Cloning into 'surf'...
remote: Counting objects: 880, done.
remote: Compressing objects: 100% (497/497), done.
remote: Total 880 (delta 382), reused 880 (delta 382)
Receiving objects: 100% (880/880), 670.25 KiB, done.
Resolving deltas: 100% (382/382), done.
tony@morpheus ~ $ cd surf/
tony@morpheus ~/surf $ git tag -n
0.1 dist doesn't work. fixing Makefile.
0.1.1   bugfix release
0.1.2   next will be 0.1.2
0.2 fixing double calling functions from contextmenu.
0.3 changing SETPROP()-macro
0.4 Adding Nibbles patch
0.4.1   next will be 0.4.1
0.5 Change horizontal scrolling to ^u and ^i, remove ^g scrolling.


--
Anthony Cox



Re: [dev] Migration to git

2012-11-29 Thread Nick
On Thu, Nov 29, 2012 at 02:15:36PM +, Anthony Cox wrote:
 On 29/11/12 14:01 ;+, Nick wrote:
 One thing is that there don't appear to be any tags (at least with
 surf, which is what I tested).
 
 Seems to work fine for me:
 
 tony@morpheus ~ $ git clone git://git.suckless.org/surf

Hmm, I wonder if it's the http transport, then...

FWIW I'm using the git on debian stable, 1.7.2.5. And I'm behind a
stupid firewall that forbids git://



Re: [dev] Migration to git

2012-11-29 Thread Daniel Bainton
On 29 November 2012 16:19, Nick suckless-...@njw.me.uk wrote:
 On Thu, Nov 29, 2012 at 02:15:36PM +, Anthony Cox wrote:
 On 29/11/12 14:01 ;+, Nick wrote:
 One thing is that there don't appear to be any tags (at least with
 surf, which is what I tested).

 Seems to work fine for me:

 tony@morpheus ~ $ git clone git://git.suckless.org/surf

 Hmm, I wonder if it's the http transport, then...

 FWIW I'm using the git on debian stable, 1.7.2.5. And I'm behind a
 stupid firewall that forbids git://


Ah yes, that's it, tested with http and the tags won't get synced for me.

--
Daniel



Re: [dev] Migration to git

2012-11-29 Thread pancake
the http support in git is a hack. are you guys running git 
update-server-info
after every commit? this is used to update the http information with the 
.git

database..


On 11/29/12 15:20, Daniel Bainton wrote:

On 29 November 2012 16:19, Nick suckless-...@njw.me.uk wrote:

On Thu, Nov 29, 2012 at 02:15:36PM +, Anthony Cox wrote:

On 29/11/12 14:01 ;+, Nick wrote:

One thing is that there don't appear to be any tags (at least with
surf, which is what I tested).

Seems to work fine for me:


tony@morpheus ~ $ git clone git://git.suckless.org/surf

Hmm, I wonder if it's the http transport, then...

FWIW I'm using the git on debian stable, 1.7.2.5. And I'm behind a
stupid firewall that forbids git://


Ah yes, that's it, tested with http and the tags won't get synced for me.

--
Daniel






Re: [dev] Migration to git

2012-11-29 Thread Barbu Paul - Gheorghe

On 11/29/2012 02:25 AM, Christoph Lohmann wrote:

Greetings comrades,


Hello!


the  migration  to  git is nearly complete. What’s missing is your tests
that everything works as expected.


Now I have a question:

How can be pathes for dwm  be managerd via git?
I mean I need a patch queue somehow, I'm thinking branches, I'll create a local 
branch with my patches applied and I will hack through its history.


What are you guys suggesting/using?


--
Barbu Paul - Gheorghe
Common sense is not so common - Voltaire
Visit My GitHub profile to see my open-source projects - 
https://github.com/paullik



Re: [dev] Migration to git

2012-11-29 Thread Roberto E. Vargas Caballero
 How can be pathes for dwm  be managerd via git?
 I mean I need a patch queue somehow, I'm thinking branches, I'll
 create a local branch with my patches applied and I will hack
 through its history.

I usually work in this way. After generate the patch sequence I get the diff
with git format-patch and send them to the list, although now can be used
git send-email to. When the patches are applied in the main branch I join my
branch with the master branch with git rebase (I fetch the changes with git
fetch before, but it can be done in only one step with git pull --rebase,
but usually I prefer see the exact state of the repository before rebase the
master branch).


Best regards,



Re: [dev] Migration to git

2012-11-29 Thread Rob
On Thu, Nov 29, 2012 at 09:33:23PM +0200, Barbu Paul - Gheorghe wrote:
 On 11/29/2012 02:25 AM, Christoph Lohmann wrote:
 Now I have a question:

 How can be patches for dwm be managed via git?
 I mean I need a patch queue somehow, I'm thinking branches, I'll
 create a local branch with my patches applied and I will hack
 through its history.

 What are you guys suggesting/using?

I imagine you can keep your own local branch, and rebase it upon
suckless' master branch, when it changes.

Cheers,
Rob



Re: [dev] Migration to git

2012-11-29 Thread uki
you can still use mercurial, with it's hg-git extension, I sometimes
had small problems with it on huge repositories at work, never had any
problem with open source projects (maybe it's the size or less of 'do
whatever' attitude)
Pozdrawiam,
Łukasz Gruner


2012/11/29 Barbu Paul - Gheorghe barbu.paul.gheor...@gmail.com:
 On 11/29/2012 02:25 AM, Christoph Lohmann wrote:

 Greetings comrades,


 Hello!

 the  migration  to  git is nearly complete. What’s missing is your tests
 that everything works as expected.


 Now I have a question:

 How can be pathes for dwm  be managerd via git?
 I mean I need a patch queue somehow, I'm thinking branches, I'll create a
 local branch with my patches applied and I will hack through its history.

 What are you guys suggesting/using?


 --
 Barbu Paul - Gheorghe
 Common sense is not so common - Voltaire
 Visit My GitHub profile to see my open-source projects -
 https://github.com/paullik




Re: [dev] Migration to git

2012-11-28 Thread Calvin Morrison
On 28 November 2012 19:25, Christoph Lohmann 2...@r-36.net wrote:

 Greetings comrades,

 the  migration  to  git is nearly complete. What’s missing is your tests
 that everything works as expected.

 Projects can be accessed via:
 http://git.suckless.org/$name
 git://git.suckless.org/$name

 Beware that the wiki can only be pushed to via:
 git://git.suckless.org/sites

 For SSH:
 ssh://u...@suckless.org/gitrepos/$name

 I tried to change all references in the wiki to the old hg repositories.
 If you find any I missed, please change it and push the changes  to  the
 sites repository. Thanks.


 Sincerely,

 Christoph Lohmann



Quick question -
A long time ago I asked if it was possible to clone _all_ the hg
repositories without having to manually specify them from the suckless
site. The answer I got was no.

With the transfer to git, would it be possible for me to clone all of the
suckless repositories in one fell sweep?

Calvin


Re: [dev] Migration to git

2012-11-28 Thread Sam Watkins
On Wed, Nov 28, 2012 at 11:13:11PM -0500, Calvin Morrison wrote:
 With the transfer to git, would it be possible for me to clone all of the
 suckless repositories in one fell sweep?

  for repo in foo bar baz; do git clone git://some.server/$repo; done

This is about as 'one fell sweep' as it's going to get.