[GRASS-dev] [GRASS GIS] #3722: migrate grass svn repositories to git

#3722: migrate grass svn repositories to git
--------------------------+---------------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: task | Status: new
  Priority: major | Milestone:
Component: Default | Version: unspecified
Resolution: | Keywords: svn, git, migration
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------

Comment (by martinl):

First part of github migration is available for review.

`grass` repo containing only GRASS7+ development is available at
https://github.com/grass-svn2git/grass:

branches: https://github.com/grass-svn2git/grass/branches/all

tags: https://github.com/grass-svn2git/grass/branches/all

Log messages have been rewritten by source:grass-
addons/tools/svn2git/rewrite.py

ALL LOGS ARE AVAILABLE FOR REVIEW AT

http://geo102.fsv.cvut.cz/~landa/grass-svn2git/

PLEASE CONTRIBUTE! HELP WITH REVIEWING.

Basically the rewrite script should:

* #123 transform to https://trac.osgeo.org/grass/ticket/123
* r123 transform to https://trac.osgeo.org/grass/changeset/123

I will push other repos (`grass-legacy`, `grass-addons` and `grass-promo`)
when log message will be reviewed and correct.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3722#comment:20&gt;
GRASS GIS <https://grass.osgeo.org>

#3722: migrate grass svn repositories to git
--------------------------+---------------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: task | Status: new
  Priority: major | Milestone:
Component: Default | Version: unspecified
Resolution: | Keywords: svn, git, migration
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------

Comment (by pmav99):

Thank you Martin,
Awesome work

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3722#comment:21&gt;
GRASS GIS <https://grass.osgeo.org>

#3722: migrate grass svn repositories to git
--------------------------+---------------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: task | Status: new
  Priority: major | Milestone:
Component: Default | Version: unspecified
Resolution: | Keywords: svn, git, migration
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------

Comment (by neteler):

Thank you for your huge efforts to write the converter scripts, Martin!

Just a small glitch (maybe we can happily ignore it):

The commit message

  * https://github.com/grass-
svn2git/grass/commit/e4c0b84686ec37980bbe5e0b1837c673614f98f2
    * contains the reference https://svn.osgeo.org/grass/grass/trunk@74055
which does not exist as a URL. No big deal I would say but perhaps you
know how it should look like...

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3722#comment:22&gt;
GRASS GIS <https://grass.osgeo.org>

#3722: migrate grass svn repositories to git
--------------------------+---------------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: task | Status: new
  Priority: major | Milestone:
Component: Default | Version: unspecified
Resolution: | Keywords: svn, git, migration
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------

Comment (by neteler):

News: I have migrated legacy GRASS GIS versions to github (thanks to
Antonio Galea for teaching me special git tricks). The migration script is
here:

https://trac.osgeo.org/grass/browser/grass-
addons/tools/svn2git/git_processing_legacy_branches.sh

Legacy code repository of **GRASS GIS versions 3.2, 4.0, 4.1, 4.2, 4.3
(1987-1999)**:
  * https://github.com/grass-svn2git/grass-legacy/

The versions GRASS GIS 5.x and 6.x can now be merged on top of that.

Note: For now the legacy GRASS GIS versions are stored under the temporary
grass-svn2git owner (in the end we want to move it to the "OSGeo"
organization).

Wish: If anyone has an idea to do further commit message rewriting in
grass-legacy (e.g. extracting the first author from the various main.c etc
files and update `GITAUTHOR` with that), please speak up!

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3722#comment:23&gt;
GRASS GIS <https://grass.osgeo.org>

#3722: migrate grass svn repositories to git
--------------------------+---------------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: task | Status: new
  Priority: major | Milestone:
Component: Default | Version: unspecified
Resolution: | Keywords: svn, git, migration
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------

Comment (by martinl):

Most of work done:

* https://github.com/landam/grass
* https://github.com/OSGeo/grass-addons
* https://github.com/OSGeo/grass-promo

https://github.com/OSGeo/grass-legacy is missing to close this ticket.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3722#comment:24&gt;
GRASS GIS <https://grass.osgeo.org>

#3722: migrate grass svn repositories to git
--------------------------+---------------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: task | Status: closed
  Priority: major | Milestone:
Component: Default | Version: unspecified
Resolution: fixed | Keywords: svn, git, migration
       CPU: Unspecified | Platform: Unspecified
--------------------------+---------------------------------
Changes (by martinl):

* status: new => closed
* resolution: => fixed

Comment:

Done.

* logs archived at https://grass.osgeo.org/svn2git_archive/grass-svn2git-
logs.7z
* svn dump archived at https://grass.osgeo.org/svn2git_archive/grass-
svn-2019-05-19.dump.gz

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3722#comment:25&gt;
GRASS GIS <https://grass.osgeo.org>