Nate Bargmann | 6 Mar 2009 13:19

Re: Migration from CVS to Subversion

For those of us who need to get up to speed on SVN (I played with it locally a 
few years ago so I need to refresh my memory), here are a couple links:

Help for SourceForge:
http://apps.sourceforge.net/trac/sitedocs/wiki/Subversion%20client%20instructions

The official SVN book:
http://svnbook.red-bean.com/

HTH,

73, de Nate >>

--

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://n0nb.us/index.html

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
Stelios Bounanos | 6 Mar 2009 20:17
X-Face

Re: Migration from CVS to Subversion

>>>>> On Fri, 6 Mar 2009 06:19:04 -0600, Nate Bargmann <n0nb <at> bluevalley.net> said:

> For those of us who need to get up to speed on SVN (I played with it locally a 
> few years ago so I need to refresh my memory), here are a couple links:

> Help for SourceForge:
> http://apps.sourceforge.net/trac/sitedocs/wiki/Subversion%20client%20instructions

> The official SVN book:
> http://svnbook.red-bean.com/

I'm surprised that you're not migrating to git:

  http://apps.sourceforge.net/trac/sitedocs/wiki/Git

Git can be used in the same centralised manner but is much more
powerful, even for projects that do not constantly branch and merge.
(I can elaborate, though the web is replete with examples).  There are
migration guides for CVS and SVN users.

And IMO the value of having full local history cannot be overstated.

Take a look at this:

% svn co http://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk
% tar -cf - trunk | wc -c
14192640

% mkdir git-svn; cd git-svn
% git svn clone http://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk
(Continue reading)

Nate Bargmann | 6 Mar 2009 23:23

Re: Migration from CVS to Subversion

On Friday 06 March 2009 13:17:51 Stelios Bounanos wrote:
> >>>>> On Fri, 6 Mar 2009 06:19:04 -0600, Nate Bargmann
> >>>>> <n0nb <at> bluevalley.net> said:
> >
> > For those of us who need to get up to speed on SVN (I played with it
> > locally a few years ago so I need to refresh my memory), here are a
> > couple links:
> >
> > Help for SourceForge:
> > http://apps.sourceforge.net/trac/sitedocs/wiki/Subversion%20client%20inst
> >ructions
> >
> > The official SVN book:
> > http://svnbook.red-bean.com/
>
> I'm surprised that you're not migrating to git:
>
>   http://apps.sourceforge.net/trac/sitedocs/wiki/Git

I saw that last week in an email from SF.net.  I wouldn't have been opposed to 
moving straight to Git since I have to (re)learn a new SCM anyway.  :D  I do 
think that SVN is a huge improvement over CVS based on what little I was able 
to read this morning.

Am I misreading some Google hits, but is there some method of cross 
functionality between SVN and Git, one way or both way?

73, de Nate >>

--

-- 
(Continue reading)

Stelios Bounanos | 7 Mar 2009 14:02
X-Face

Re: Migration from CVS to Subversion

>>>>> On Fri, 6 Mar 2009 16:23:08 -0600, Nate Bargmann <n0nb <at> bluevalley.net> said:

> I saw that last week in an email from SF.net.  I wouldn't have been opposed to 
> moving straight to Git since I have to (re)learn a new SCM anyway.  :D  I do 
> think that SVN is a huge improvement over CVS based on what little I was able 
> to read this morning.

> Am I misreading some Google hits, but is there some method of cross 
> functionality between SVN and Git, one way or both way?

Yes, git-svn can clone a subversion tree and convert it to a git tree.
It can work in both directions but needs to store metadata.  It works
better than git-cvsimport, and becomes preferable to plain svn as soon
as one becomes familiar with git...

For a one-off conversion to git you would use it like so:

git svn clone --stdlayout --no-metadata --authors-file=authors
http://hamlib.svn.sourceforge.net/svnroot/hamlib hamlib.git

The hamlib.git tree will then contain all the subversion bits (trunk,
branches, tags) and still be the same size, i.e. smaller than the svn
trunk checkout :-)  I wrote a near-complete (who is mardigras?) authors
file for the svn->git author mapping; see attachment.

73,
Stelios, M0GLD.
Attachment (authors): application/octet-stream, 1356 bytes
(Continue reading)

Nate Bargmann | 7 Mar 2009 14:48

Re: Migration from CVS to Subversion

On Saturday 07 March 2009 07:02:12 Stelios Bounanos wrote:
> >>>>> On Fri, 6 Mar 2009 16:23:08 -0600, Nate Bargmann
> >>>>> <n0nb <at> bluevalley.net> said:
> >
> > I saw that last week in an email from SF.net.  I wouldn't have been
> > opposed to moving straight to Git since I have to (re)learn a new SCM
> > anyway.  :D  I do think that SVN is a huge improvement over CVS based on
> > what little I was able to read this morning.
> >
> > Am I misreading some Google hits, but is there some method of cross
> > functionality between SVN and Git, one way or both way?
>
> Yes, git-svn can clone a subversion tree and convert it to a git tree.
> It can work in both directions but needs to store metadata.  It works
> better than git-cvsimport, and becomes preferable to plain svn as soon
> as one becomes familiar with git...
>
> For a one-off conversion to git you would use it like so:
>
> git svn clone --stdlayout --no-metadata --authors-file=authors
> http://hamlib.svn.sourceforge.net/svnroot/hamlib hamlib.git

Thanks for the info, Stelios.

> The hamlib.git tree will then contain all the subversion bits (trunk,
> branches, tags) and still be the same size, i.e. smaller than the svn
> trunk checkout :-)  I wrote a near-complete (who is mardigras?) authors
> file for the svn->git author mapping; see attachment.

mardigras shows two commits, both on February 28, 2007.  No associated email 
(Continue reading)

Priit Laes | 7 Mar 2009 06:57
Gravatar

Re: Migration from CVS to Subversion

Ühel kenal päeval, R, 2009-03-06 kell 16:23, kirjutas Nate Bargmann:
> On Friday 06 March 2009 13:17:51 Stelios Bounanos wrote:
> > >>>>> On Fri, 6 Mar 2009 06:19:04 -0600, Nate Bargmann
> > >>>>> <n0nb <at> bluevalley.net> said:
> I saw that last week in an email from SF.net.  I wouldn't have been opposed to 
> moving straight to Git since I have to (re)learn a new SCM anyway.  :D  I do 
> think that SVN is a huge improvement over CVS based on what little I was able 
> to read this morning.
> 
> Am I misreading some Google hits, but is there some method of cross 
> functionality between SVN and Git, one way or both way?
Yup, git-svn. (There is also git-cvs but it is a lot more painful...)

See for example http://live.gnome.org/GitForGnomeDevelopers for a nice
tutorial... (just change the urls :) )

Päikest,
Priit :)

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Hamlib-developer mailing list
Hamlib-developer <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hamlib-developer
(Continue reading)

Martin Ewing | 6 Mar 2009 21:14
Picon
Gravatar

Re: Migration from CVS to Subversion

There was only a little discussion here before the switch.  I'm surprised we made a change at all, but Stéphane is the boss!

SVN is working fine for me.  I assume it solves some problems at the project management / release level, which is not very apparent to us low-level backend people... ;-)

73 Martin AA6E

On Fri, Mar 6, 2009 at 2:17 PM, Stelios Bounanos <sb-lst <at> enotty.net> wrote:
>>>>> On Fri, 6 Mar 2009 06:19:04 -0600, Nate Bargmann <n0nb <at> bluevalley.net> said:

> For those of us who need to get up to speed on SVN (I played with it locally a
> few years ago so I need to refresh my memory), here are a couple links:

> Help for SourceForge:
> http://apps.sourceforge.net/trac/sitedocs/wiki/Subversion%20client%20instructions

> The official SVN book:
> http://svnbook.red-bean.com/

I'm surprised that you're not migrating to git:

 http://apps.sourceforge.net/trac/sitedocs/wiki/Git

Git can be used in the same centralised manner but is much more
powerful, even for projects that do not constantly branch and merge.
(I can elaborate, though the web is replete with examples).  There are
migration guides for CVS and SVN users.

And IMO the value of having full local history cannot be overstated.

Take a look at this:

% svn co http://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk
% tar -cf - trunk | wc -c
14192640

% mkdir git-svn; cd git-svn
% git svn clone http://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk
% git gc
% tar -cf - trunk | wc -c
12687360

The git repo contains every changeset committed since 2000-07-18.
I'd be happy with _10x_ the size but it's actually 10% smaller :-)


73,
Stelios, M0GLD.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Hamlib-developer mailing list
Hamlib-developer <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hamlib-developer

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Hamlib-developer mailing list
Hamlib-developer <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hamlib-developer
Alessandro Zummo | 6 Mar 2009 21:22
Picon

Re: Migration from CVS to Subversion

On Fri, 6 Mar 2009 15:14:06 -0500
Martin Ewing <martin.s.ewing <at> gmail.com> wrote:

> There was only a little discussion here before the switch.  I'm surprised we
> made a change at all, but Stéphane is the boss!
> 
> SVN is working fine for me.  I assume it solves some problems at the project
> management / release level, which is not very apparent to us low-level
> backend people... ;-)

 SVN is fine for me too.

--

 73 Alessandro IZ1PRB

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H

Gmane