<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.slicer.org/w/index.php?action=history&amp;feed=atom&amp;title=Documentation%2F4.5%2FDevelopers%2FBuild_system%2FSlicerBot%2FSVN2GitHub</id>
	<title>Documentation/4.5/Developers/Build system/SlicerBot/SVN2GitHub - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.slicer.org/w/index.php?action=history&amp;feed=atom&amp;title=Documentation%2F4.5%2FDevelopers%2FBuild_system%2FSlicerBot%2FSVN2GitHub"/>
	<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.5/Developers/Build_system/SlicerBot/SVN2GitHub&amp;action=history"/>
	<updated>2026-05-04T06:58:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://www.slicer.org/w/index.php?title=Documentation/4.5/Developers/Build_system/SlicerBot/SVN2GitHub&amp;diff=43475&amp;oldid=prev</id>
		<title>UpdateBot: Nightly -&gt; 4.5</title>
		<link rel="alternate" type="text/html" href="https://www.slicer.org/w/index.php?title=Documentation/4.5/Developers/Build_system/SlicerBot/SVN2GitHub&amp;diff=43475&amp;oldid=prev"/>
		<updated>2015-11-12T20:19:22Z</updated>

		<summary type="html">&lt;p&gt;Nightly -&amp;gt; 4.5&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This page describes how the [https://github.com/Slicer/Slicer Slicer GitHub] repository is maintained in sync with the official [http://viewvc.slicer.org/viewvc.cgi/Slicer4/trunk/ Slicer SVN] repository.&lt;br /&gt;
&lt;br /&gt;
Note that the [https://github.com/SlicerRt/SlicerRT SlicerRT GitHub] repository is maintaining in sync using a similar process.&lt;br /&gt;
&lt;br /&gt;
= Overview =&lt;br /&gt;
&lt;br /&gt;
A cron job running every minutes on &amp;lt;code&amp;gt;[[Documentation/{{documentation/version}}/Developers/Factory#factory-south.kitware|factory-south]]&amp;lt;/code&amp;gt; is doing &amp;lt;code&amp;gt;git svn rebase&amp;lt;/code&amp;gt; and then force pushing change onto the Slicer github repository.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Details =&lt;br /&gt;
&lt;br /&gt;
* As detailed [[Documentation/Nightly/Developers/Build_system/SlicerBot#Git|here]], the &amp;lt;code&amp;gt;slicerbot&amp;lt;/code&amp;gt; user is pushing changes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The &amp;lt;code&amp;gt;slicerbot&amp;lt;/code&amp;gt; user SSH key is associated with &amp;lt;code&amp;gt;github-slicerbot&amp;lt;/code&amp;gt; hostname adding the following entry into &amp;lt;code&amp;gt;/Users/kitware/.ssh/config&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ cat /Users/kitware/.ssh/config&lt;br /&gt;
Host github-slicerbot&lt;br /&gt;
  HostName github.com&lt;br /&gt;
  User git &lt;br /&gt;
  IdentityFile ~/.ssh/slicerbot-factory-south&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The associated cronjob entry is reported below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ crontab -l&lt;br /&gt;
*/1 * * * * /Volumes/Dashboards/SVN2Github/lockrun --quiet --lockfile=/Volumes/Dashboards/SVN2Github/Slicer-SVN2GitHub.lockrun -- /bin/sh /Volumes/Dashboards/SVN2Github/Slicer-SVN2GitHub.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* [https://github.com/hilbix/lockrun Lockrun] tool is used to ensure no concurrent rebase&amp;amp;push are occurring.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;Slicer-SVN2GitHub.sh&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;Slicer-SVN2GitHub-slicerbot.sh&amp;lt;/code&amp;gt; scripts are available on https://gist.github.com/jcfr/da442a017484b7691018&lt;br /&gt;
&lt;br /&gt;
= ChangeLogs =&lt;br /&gt;
&lt;br /&gt;
* 2015/10/19: Updated script adding --force option to address issue reported on [https://github.com/Slicer/Slicer/pull/375#issuecomment-148759758 Slicer/Slicer/pull/375#issuecomment-148759758]&lt;br /&gt;
* 2015/10/19: Created this page and added scripts on https://gist.github.com/jcfr/da442a017484b7691018&lt;/div&gt;</summary>
		<author><name>UpdateBot</name></author>
		
	</entry>
</feed>