Difference between revisions of "Documentation/Nightly/Developers/FAQ/SVNtoGitHub"

From Slicer Wiki
Jump to: navigation, search
Tag: 2017 source edit
Tag: 2017 source edit
Line 11: Line 11:
 
To ensure existing references to both Git SHA and Pull Requests are reachable, the mirrored GitHub repository has been renamed to https://github.com/Slicer/SlicerGitSVNArchive
 
To ensure existing references to both Git SHA and Pull Requests are reachable, the mirrored GitHub repository has been renamed to https://github.com/Slicer/SlicerGitSVNArchive
  
== What is SlicerGitSVNArchive repository ? ==
+
== What is the SlicerGitSVNArchive repository ? ==
  
 
This corresponds to the original GitHub repository that was a mirror of the Slicer SVN authoritative repository. The former <b>Slicer/Slicer</b> repository was renamed into <b>[https://github.com/Slicer/SlicerGitSVNArchive Slicer/SlicerGitSVNArchive]</b>
 
This corresponds to the original GitHub repository that was a mirror of the Slicer SVN authoritative repository. The former <b>Slicer/Slicer</b> repository was renamed into <b>[https://github.com/Slicer/SlicerGitSVNArchive Slicer/SlicerGitSVNArchive]</b>
  
== What happen to SVN repository ? ==
+
== What happen to the SVN repository ? ==
  
 
Until September 2020, SVN server http://svn.slicer.org hosting the Dart, NAMICSandBox, Slicer3, Slicer3-lib-mirrors and Slicer4 repositories will remain available.
 
Until September 2020, SVN server http://svn.slicer.org hosting the Dart, NAMICSandBox, Slicer3, Slicer3-lib-mirrors and Slicer4 repositories will remain available.
Line 21: Line 21:
 
The web server http://viewvc.slicer.org/ will be converted into a static html website.
 
The web server http://viewvc.slicer.org/ will be converted into a static html website.
  
== What happen to Slicer Mantis issue tracker ? ==
+
== What happen to the Mantis issue tracker ? ==
  
 
Mantis issue tracker has been retired and new issues should be created here: https://github.com/Slicer/Slicer/issues
 
Mantis issue tracker has been retired and new issues should be created here: https://github.com/Slicer/Slicer/issues
Line 35: Line 35:
 
Slicer4 project has been disabled in Mantis. This means that no issues will be visible on the main page and that user will not be able to create issues in mantis.
 
Slicer4 project has been disabled in Mantis. This means that no issues will be visible on the main page and that user will not be able to create issues in mantis.
  
== How to update existing Slicer checkout ? ==
+
== How to update the forked origin of your online Slicer fork ? ==
  
TBD
+
Following the rename of <tt>Slicer</tt> to <tt>SlicerGitSVNArchive</tt>, existing GitHub fork are referencing the "incorrect" repository:
 +
 
 +
[[File:Slicer-fork-reference-SlicerGitSVNArchive.png]]
 +
 
 +
To address this, you may delete your fork and re-fork https://github.com/Slicer/Slicer
 +
 
 +
If there are branches published on your fork that you would like to keep, first consider cloning your Slicer fork locally so that you could rebase and re-publish them.
  
 
== How to update existing Slicer custom application ? ==
 
== How to update existing Slicer custom application ? ==

Revision as of 22:58, 12 March 2020

Home < Documentation < Nightly < Developers < FAQ < SVNtoGitHub


For the latest Slicer documentation, visit the read-the-docs.


SVNtoGitHub

What happen to the existing Slicer GitHub repository ?

Between 2011 and March 2020, Slicer sources were maintained in a SVN repository automatically mirrored on GitHub. To speedup time required to checkout Slicer source code, large data files have been removed from the Slicer commit history.

To ensure existing references to both Git SHA and Pull Requests are reachable, the mirrored GitHub repository has been renamed to https://github.com/Slicer/SlicerGitSVNArchive

What is the SlicerGitSVNArchive repository ?

This corresponds to the original GitHub repository that was a mirror of the Slicer SVN authoritative repository. The former Slicer/Slicer repository was renamed into Slicer/SlicerGitSVNArchive

What happen to the SVN repository ?

Until September 2020, SVN server http://svn.slicer.org hosting the Dart, NAMICSandBox, Slicer3, Slicer3-lib-mirrors and Slicer4 repositories will remain available.

The web server http://viewvc.slicer.org/ will be converted into a static html website.

What happen to the Mantis issue tracker ?

Mantis issue tracker has been retired and new issues should be created here: https://github.com/Slicer/Slicer/issues

For every mantis issues, a GitHub issue has been created with a link to the retired mantis tracker.

To support this, the following redirections have been established:

Slicer4 project has been disabled in Mantis. This means that no issues will be visible on the main page and that user will not be able to create issues in mantis.

How to update the forked origin of your online Slicer fork ?

Following the rename of Slicer to SlicerGitSVNArchive, existing GitHub fork are referencing the "incorrect" repository:

Slicer-fork-reference-SlicerGitSVNArchive.png

To address this, you may delete your fork and re-fork https://github.com/Slicer/Slicer

If there are branches published on your fork that you would like to keep, first consider cloning your Slicer fork locally so that you could rebase and re-publish them.

How to update existing Slicer custom application ?

To ensure Slicer sources can be checked out using the provided Git SHA, in CMakeLists.txt file, replace lines like:

 GIT_REPOSITORY git://github.com/Slicer/Slicer

with

 GIT_REPOSITORY git://github.com/Slicer/SlicerGitSVNArchive