Re: [Cppcms-users] possible to convert to git?
Brought to you by:
artyom-beilis
|
From: Ross R. <ros...@gm...> - 2014-07-28 16:17:13
|
For those who wish to git svn clone the repos, this is how I did it in bash:
for d in blog boost_locale cppdb dbixx framework packaging wikipp ; do
git svn clone -s --prefix=origin/ --no-minimize-url \
https://svn.code.sf.net/p/cppcms/code/$d cppcms_$d ;
done
There is one nested SVN repository under wikipp at wikipp/media/sh:
You can mirror that repo with
git svn clone -s --prefix=origin/
http://syntaxhighlighter.googlecode.com/svn/ syntaxhighlighter
Then add that repo as a submodule in wikipp:
cd wikipp/media
git submodule add /path/to/syntaxhighlighter sh
cd sh
git checkout origin/tags/1.5.1
cd ../../
git commit -a -m "Adding syntaxhighlighter version 1.5.1 as submodule"
After all those efforts, an svn co of each respective trunk matches the git
clone except for the svn/git cruft.
I've put the repos on github for my own use in the future:
blog <https://github.com/RossRogers/cppcms_blog>
boost_locale <https://github.com/RossRogers/cppcms_boost_locale>
cppdb <https://github.com/RossRogers/cppcms_cppdb>
dbixx <https://github.com/RossRogers/cppcms_dbixx>
framework <https://github.com/RossRogers/cppcms_framework>
packaging <https://github.com/RossRogers/cppcms_packaging>
wikipp <https://github.com/RossRogers/cppcms_wikipp> ( wikipp doesn't have
the syntaxhighlighter submodule stuff)
Mr. Beilis,
If you wish, I'll make my github mirrors private. Let me know.
- Ross
On Sat, Jul 26, 2014 at 9:30 PM, Lee Elenbaas <le...@el...> wrote:
> I agree that github pull request flow will make it easier to contribute.
> And i love the offline nature of git for my own work.
> I understand your reasons not wanting to move. It does takes time to learn
> a new system and even more to convert an existing build and test
> envirenment.
> The real benefit of git comes from developers colaboration, and as long as
> cppcms is a one man project the benefits from switching are shadowed by the
> cost.
> Consider moving the contrib folder alone (or some other part that can
> easily decoupled) as a start or a test case.
> In any case i offer my help in the process if you want to give it a go
> בתאריך 26 ביול 2014 22:48, "Artyom Beilis" <art...@ya...> כתב:
>
>> Several reasons we are still with SVN.
>>
>> 1st there are too many scripts (like nightly builds or automatic deb
>> building) that use svn.
>> 2nd I'm not that familiar with git. It takes a great deal of time to
>> convert the repository and get used to git that I'd prefer to spend on
>> code development. I know svn very-very well and it is fine source
>> control system.
>> 3rd there is always "svn-git" bridge that works quite well, so if you
>> want to contribute svn wouldn't be a problem
>> 4th it hadn't stopped anybody to send me patches so far because it wasn't
>> git.
>>
>> So not in the near future.
>>
>> Artyom Beilis
>> --------------
>> CppCMS - C++ Web Framework: http://cppcms.com/
>> CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/
>>
>> ------------------------------
>> *From:* sergey lavrov <ccp...@gm...>
>> *To:* cpp...@li...
>> *Sent:* Saturday, July 26, 2014 6:48 PM
>> *Subject:* Re: [Cppcms-users] possible to convert to git?
>>
>> +1 for github
>>
>>
>> On Thu, Jul 24, 2014 at 6:02 PM, Ross Rogers <ros...@gm...>
>> wrote:
>>
>> Mr. Beilis,
>>
>> Have you given thought to switching to the git version control system?
>> I'd be happy to help you put your code on github as I have replicated your
>> SVN repository with git before. Personally, I find it much easier to
>> contribute to a product using the github pull-request process than talking
>> about patches on a subversion repository.
>>
>> What are your thoughts?
>>
>> - Ross
>>
>>
>> ------------------------------------------------------------------------------
>> Want fast and easy access to all the code in your enterprise? Index and
>> search up to 200,000 lines of code with a free copy of Black Duck
>> Code Sight - the same software that powers the world's largest code
>> search on Ohloh, the Black Duck Open Hub! Try it now.
>> http://p.sf.net/sfu/bds
>> _______________________________________________
>> Cppcms-users mailing list
>> Cpp...@li...
>> https://lists.sourceforge.net/lists/listinfo/cppcms-users
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Want fast and easy access to all the code in your enterprise? Index and
>> search up to 200,000 lines of code with a free copy of Black Duck
>> Code Sight - the same software that powers the world's largest code
>> search on Ohloh, the Black Duck Open Hub! Try it now.
>> http://p.sf.net/sfu/bds
>>
>> _______________________________________________
>> Cppcms-users mailing list
>> Cpp...@li...
>> https://lists.sourceforge.net/lists/listinfo/cppcms-users
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Want fast and easy access to all the code in your enterprise? Index and
>> search up to 200,000 lines of code with a free copy of Black Duck
>> Code Sight - the same software that powers the world's largest code
>> search on Ohloh, the Black Duck Open Hub! Try it now.
>> http://p.sf.net/sfu/bds
>> _______________________________________________
>> Cppcms-users mailing list
>> Cpp...@li...
>> https://lists.sourceforge.net/lists/listinfo/cppcms-users
>>
>>
>
> ------------------------------------------------------------------------------
> Want fast and easy access to all the code in your enterprise? Index and
> search up to 200,000 lines of code with a free copy of Black Duck
> Code Sight - the same software that powers the world's largest code
> search on Ohloh, the Black Duck Open Hub! Try it now.
> http://p.sf.net/sfu/bds
> _______________________________________________
> Cppcms-users mailing list
> Cpp...@li...
> https://lists.sourceforge.net/lists/listinfo/cppcms-users
>
>
|