Re: Alioth - Convert SVN repo to Git

2009-03-27 Thread Manoj Srivastava
On Thu, Mar 26 2009, Mike Hommey wrote: > On Thu, Mar 26, 2009 at 07:31:59AM +0100, sean finney wrote: >> hi mike, >> >> On Wed, Mar 25, 2009 at 03:29:59PM +0100, Mike Hommey wrote: >> > You don't need to do that on initial import. You can use a grafts file >> > to create the history you like fro

Re: Alioth - Convert SVN repo to Git

2009-03-27 Thread sean finney
On Thu, Mar 26, 2009 at 05:45:15PM +0100, Adeodato Simó wrote: > > so i've been working on another one that sends a link to > > the patch in the VCS viewer url instead, along with doing a pending tag. > > i'll have to double check on the status of this guy before i send a link > > to it though. >

Re: Alioth - Convert SVN repo to Git

2009-03-26 Thread Adeodato Simó
* sean finney [Tue, 24 Mar 2009 15:00:24 +0100]: > On Tue, Mar 24, 2009 at 02:40:05PM +0100, Sandro Tosi wrote: > > Additionally, I'm looking for a post-commit hook that can send the > > commit diff via email to a ml + tagpending the bugs in the diff. I'm > > pretty sure someone out there has this

Re: Alioth - Convert SVN repo to Git

2009-03-26 Thread Adeodato Simó
* Reinhard Tartler [Tue, 24 Mar 2009 18:03:42 +0100]: > > Then I've used git-svn to import the svn history in an extra repository, > > verified that everything is right, and pulled it from the repository created > > with git-import-dsc. As git-import-dsc uses the date from the changelog as > > com

Re: Alioth - Convert SVN repo to Git

2009-03-26 Thread Roger Leigh
On Thu, Mar 26, 2009 at 02:16:59PM +0100, sean finney wrote: > On Thu, Mar 26, 2009 at 08:03:25AM +0100, Mike Hommey wrote: > > The grafts file format is pretty simple: > > > A small example follows: > > > wow, that was exactly what i wanted to see. thanks for the concise > crash course! Likew

Re: Alioth - Convert SVN repo to Git

2009-03-26 Thread sean finney
On Thu, Mar 26, 2009 at 08:03:25AM +0100, Mike Hommey wrote: > The grafts file format is pretty simple: > A small example follows: wow, that was exactly what i wanted to see. thanks for the concise crash course! sean signature.asc Description: Digital signature

Re: Alioth - Convert SVN repo to Git

2009-03-26 Thread Mike Hommey
On Thu, Mar 26, 2009 at 07:31:59AM +0100, sean finney wrote: > hi mike, > > On Wed, Mar 25, 2009 at 03:29:59PM +0100, Mike Hommey wrote: > > You don't need to do that on initial import. You can use a grafts file > > to create the history you like from these 2 unrelated branches, and > > you can th

Re: Alioth - Convert SVN repo to Git

2009-03-25 Thread sean finney
hi mike, On Wed, Mar 25, 2009 at 03:29:59PM +0100, Mike Hommey wrote: > You don't need to do that on initial import. You can use a grafts file > to create the history you like from these 2 unrelated branches, and > you can then use git filter-branch to rewrite the master branch to > have the commi

Re: Alioth - Convert SVN repo to Git

2009-03-25 Thread Mike Hommey
On Wed, Mar 25, 2009 at 02:13:42PM +, Roger Leigh wrote: > On Tue, Mar 24, 2009 at 08:44:55PM +0100, sean finney wrote: > > On Tue, Mar 24, 2009 at 09:52:28AM -0700, Ryan Niebur wrote: > > > > find . -type f -name 'foo*.dsc' | sort (or similar tools, make sure > > > > they're > > > > sorted

Re: Alioth - Convert SVN repo to Git

2009-03-25 Thread Roger Leigh
On Tue, Mar 24, 2009 at 08:44:55PM +0100, sean finney wrote: > On Tue, Mar 24, 2009 at 09:52:28AM -0700, Ryan Niebur wrote: > > > find . -type f -name 'foo*.dsc' | sort (or similar tools, make sure > > > they're > > > sorted in a way as dpkg would sort the versions) | while read i; do > > > git-

Re: Alioth - Convert SVN repo to Git

2009-03-24 Thread Reinhard Tartler
Stéphane Glondu writes: > Reinhard Tartler a écrit : >>> Not completely. If you have the tarballs of the released versions you >>> can import and merge them. >> >> can you point me to someone (or ideally to a script or detailed >> explanation) that managed to do that in an automated way? > > We

Re: Alioth - Convert SVN repo to Git

2009-03-24 Thread Stéphane Glondu
Reinhard Tartler a écrit : >> Not completely. If you have the tarballs of the released versions you >> can import and merge them. > > can you point me to someone (or ideally to a script or detailed > explanation) that managed to do that in an automated way? We did that inside the OCaml team to mi

Re: Alioth - Convert SVN repo to Git

2009-03-24 Thread sean finney
On Tue, Mar 24, 2009 at 09:52:28AM -0700, Ryan Niebur wrote: > > find . -type f -name 'foo*.dsc' | sort (or similar tools, make sure they're > > sorted in a way as dpkg would sort the versions) | while read i; do > > git-import-dsc $i > > done > > > > git-import-dscs (note the extra s on the

Re: Alioth - Convert SVN repo to Git

2009-03-24 Thread Reinhard Tartler
Bernd Zeimetz writes: > Reinhard Tartler wrote: >> can you point me to someone (or ideally to a script or detailed >> explanation) that managed to do that in an automated way? > > What I did manually was something like > > find . -type f -name 'foo*.dsc' | sort (or similar tools, make sure they'r

Re: Alioth - Convert SVN repo to Git

2009-03-24 Thread Ryan Niebur
On Tue, Mar 24, 2009 at 05:42:17PM +0100, Bernd Zeimetz wrote: > Reinhard Tartler wrote: > > can you point me to someone (or ideally to a script or detailed > > explanation) that managed to do that in an automated way? > > What I did manually was something like > > find . -type f -name 'foo*.dsc'

Re: Alioth - Convert SVN repo to Git

2009-03-24 Thread Bernd Zeimetz
Reinhard Tartler wrote: > can you point me to someone (or ideally to a script or detailed > explanation) that managed to do that in an automated way? What I did manually was something like find . -type f -name 'foo*.dsc' | sort (or similar tools, make sure they're sorted in a way as dpkg would so

Re: Alioth - Convert SVN repo to Git

2009-03-24 Thread Reinhard Tartler
Bernd Zeimetz writes: > Reinhard Tartler wrote: >> Sandro Tosi writes: >> >>> I tried to put together a guide[1] to convert SVN repo to Git hosted on >>> Alioth. >>> >>> [1] http://wiki.debian.org/Alioth/Git#ConvertaSVNAliothrepositorytoGit >>> >>> Since I'm not that expert in Git, I'd like to

Re: Alioth - Convert SVN repo to Git

2009-03-24 Thread sean finney
On Tue, Mar 24, 2009 at 04:39:08PM +0100, Raphael Hertzog wrote: > Sadly it doesn't extract closes: from debian/changelog but only from the > commit notice (and in dpkg's case I tend to not mention debian > bugs in the commit log but only in debian/changelog). yes, it was designed to work more in

Re: Alioth - Convert SVN repo to Git

2009-03-24 Thread Raphael Hertzog
On Tue, 24 Mar 2009, sean finney wrote: > i have something based on an earlier hook by adeodato, which does > the former (commit msg+diff): > > http://git.debian.org/?p=users/seanius/vcs-hooks/git-post-receive-diff.git > > note that this is not post-commit but post-recieve (i.e. after a push to

Re: Alioth - Convert SVN repo to Git

2009-03-24 Thread Bernd Zeimetz
Reinhard Tartler wrote: > Sandro Tosi writes: > >> I tried to put together a guide[1] to convert SVN repo to Git hosted on >> Alioth. >> >> [1] http://wiki.debian.org/Alioth/Git#ConvertaSVNAliothrepositorytoGit >> >> Since I'm not that expert in Git, I'd like to ask you for its review. >> The co

Re: Alioth - Convert SVN repo to Git

2009-03-24 Thread Reinhard Tartler
Sandro Tosi writes: > I tried to put together a guide[1] to convert SVN repo to Git hosted on > Alioth. > > [1] http://wiki.debian.org/Alioth/Git#ConvertaSVNAliothrepositorytoGit > > Since I'm not that expert in Git, I'd like to ask you for its review. > The conversion and all other steps are wo

Re: Alioth - Convert SVN repo to Git

2009-03-24 Thread Sandro Tosi
On Tue, Mar 24, 2009 at 15:30, Manuel Prinz wrote: > Am Dienstag, den 24.03.2009, 14:40 +0100 schrieb Sandro Tosi: >> Additionally, I'm looking for a post-commit hook that can send the >> commit diff via email to a ml + tagpending the bugs in the diff. I'm >> pretty sure someone out there has this

Re: Alioth - Convert SVN repo to Git

2009-03-24 Thread Manuel Prinz
Am Dienstag, den 24.03.2009, 14:40 +0100 schrieb Sandro Tosi: > Additionally, I'm looking for a post-commit hook that can send the > commit diff via email to a ml + tagpending the bugs in the diff. I'm > pretty sure someone out there has this script ready yet, so let's > share :) If you have your

Re: Alioth - Convert SVN repo to Git

2009-03-24 Thread sean finney
On Tue, Mar 24, 2009 at 02:40:05PM +0100, Sandro Tosi wrote: > Additionally, I'm looking for a post-commit hook that can send the > commit diff via email to a ml + tagpending the bugs in the diff. I'm > pretty sure someone out there has this script ready yet, so let's > share :) i mentioned this o

Re: Alioth - Convert SVN repo to Git

2009-03-24 Thread Sandro Tosi
On Tue, Mar 24, 2009 at 12:29, Sandro Tosi wrote: > Hi All, > I tried to put together a guide[1] to convert SVN repo to Git hosted on > Alioth. > > [1] http://wiki.debian.org/Alioth/Git#ConvertaSVNAliothrepositorytoGit > > Since I'm not that expert in Git, I'd like to ask you for its review. > Th

Re: Alioth - Convert SVN repo to Git

2009-03-24 Thread sean finney
hiya, On Tue, Mar 24, 2009 at 12:29:08PM +0100, Sandro Tosi wrote: > I tried to put together a guide[1] to convert SVN repo to Git hosted on > Alioth. > > [1] http://wiki.debian.org/Alioth/Git#ConvertaSVNAliothrepositorytoGit > > Since I'm not that expert in Git, I'd like to ask you for its rev

Alioth - Convert SVN repo to Git

2009-03-24 Thread Sandro Tosi
Hi All, I tried to put together a guide[1] to convert SVN repo to Git hosted on Alioth. [1] http://wiki.debian.org/Alioth/Git#ConvertaSVNAliothrepositorytoGit Since I'm not that expert in Git, I'd like to ask you for its review. The conversion and all other steps are working, but there's room for