[Live-demo] [live-demo] Migration to git
gcpp.kalxas at gmail.com
Wed Apr 22 15:47:32 PDT 2015
Thanks Alex for bringing the git migration topic up again.
Our git-svn mirror (https://github.com/OSGeo/OSGeoLive) has been working
very well for the last couple of months.
As mentioned in my previous e-mail, I have managed to split a doc git
repository (with history).
The question is when do we "officially" switch.
Are there any news on OSGeo git hosting options?
On 04/22/2015 06:27 PM, Alex Mandel wrote:
> Perhaps this is time to check in on the plan to migrate the docs to git,
> as that would better enable additional contributors.
On 01/31/2015 08:09 PM, Angelos Tzotsos wrote:
> Hi all,
> We have been discussing this for a couple of years and I think it is
> time to seriously start considering a strategy for migrating to Git as
> our source control system .
> If someone is unfamiliar with Git, there are great resources online
> pointing to why we should use Git instead of svn   .
> Git is a free and open source distributed revision
> system with an emphasis on speed, data
> and support for distributed, non-linear
> Git was initially designed and developed by Linus Torvalds for Linux
> kernel<http://en.wikipedia.org/wiki/Linux_kernel> development in 2005,
> and has since become the most widely adopted version control system
> for open source software
> Many people tend to confuse Git with GitHub  which is an excellent
> code collaboration service (most open source projects use it today,
> even Linux kernel keeps a code mirror there) but it is not available
> under an open source license.
> This is not a problem for us. Git is a distributed source control
> system, which means that there is no need for a centralized server as
> in subversion. Every developer has a copy of the whole repository
> (including history). In order to keep our Subversion-style workflow
> (store commits to a reference repository), we can use something like
> GitLab  or something even simpler  on an OSGeo server to host
> git repositories. Also, there is an OSGeo GitHub account  that we
> could use as a mirror too...
> Regarding the actual port, I propose that we should do this smoothly:
> 1. Create an OSGeoLive-docs repository (with full svn history)
> 2. Start building our docs as a deb package based on Git repository.
> The Git repository can be synchronized with our svn for a while until
> we abandon svn.
> 3. Migrate our translation process to Git or even use excellent
> translation tools like Transifex  (GeoServer and other projects
> already use it for translations) 
> 4. Create an OSGeoLive repository (with svn history, without docs)
> 5. Migrate our iso build scripts to use the Git repositories (with
> branch and tag support)
> 6. Keep Git and svn synchronized for a while until we abandon svn
> I have already done some work for step 1:
> There is an Git-svn mirror of our docs available here .
> In order to be able to accurately hold a git history, we need to
> provide a name and e-mail for every contributor.
> This is why I have committed this transformation file  that I use
> to rebuild the history on the Git side, so that we can have the
> complete history of commits  (for now I just committed my own
> details as an example here ).
> I would like to ask everyone to add their name and e-mail (that they
> already use on their Git projects). We could extract this information
> from our contributors.csv file for you if you don't want to provide
> this info again.
> Regarding our ticket system, there is a Trac plugin for Git available
> that we could use .
> Resources for the migration can be found here:   
> Sorry for the long e-mail.
> Lets have a discussion here before we vote.
> This proposal is for AFTER we release 8.5 final ;)
>  http://git-scm.com/
>  http://git-scm.com/about/
>  https://www.youtube.com/watch?v=4XpnKHJAok8
>  http://git-scm.com/book/en/v2
>  https://github.com
>  https://about.gitlab.com/
>  https://git.kernel.org/cgit/
>  https://github.com/OSGeo
>  https://www.transifex.com/
>  https://www.transifex.com/projects/p/geoserver/
>  https://github.com/kalxas/OSGeoLive-docs
>  https://github.com/kalxas/OSGeoLive-docs/graphs/contributors
>  http://trac.osgeo.org/osgeo/changeset/12235
>  http://trac.edgewall.org/wiki/TracGit
>  http://john.albin.net/git/convert-subversion-to-git
Remote Sensing Laboratory
National Technical University of Athens
More information about the Osgeolive