{"id":19,"date":"2018-04-23T05:52:00","date_gmt":"2018-04-23T13:52:00","guid":{"rendered":"\/colin\/morethanfour\/post\/Changing-Source-Control-providers"},"modified":"2020-08-15T16:01:29","modified_gmt":"2020-08-16T00:01:29","slug":"changing-source-control-providers","status":"publish","type":"post","link":"https:\/\/spacefold.com\/colin\/morethanfour\/2018\/04\/23\/changing-source-control-providers\/","title":{"rendered":"Changing Source Control providers"},"content":{"rendered":"<p>For the last few years we&#8217;ve used <a href=\"https:\/\/www.assembla.com\" target=\"_blank\" rel=\"noopener noreferrer\">Assembla<\/a> to host source control (<a href=\"https:\/\/subversion.apache.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">Subversion<\/a>) for one of our projects. We signed up for a free hosting plan, and later on, when Assembla switched to pay-only plans, they graciously allowed us to continue using them for no charge. We knew we were on borrowed time, however. <\/p>\n<p>This week I received a nicely-worded email from them indicating that it was time for us to upgrade to a paid plan, or transition to a different provider. After reviewing the paid options, we decided to find someone else to host our project. We have very modest requirements, and the offerings from Assembla were somewhat more than we needed.<\/p>\n<p>Apart from that, we have no complaints about Assembla &#8211; they&#8217;re awesome, and if one of their plans fits your needs, I say go for it.<\/p>\n<p>However, for our little project, <a href=\"https:\/\/riouxsvn.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">RiouxSVN<\/a> was looking like a better fit. I decided to give them a try.<\/p>\n<p><strong>How much?<\/strong> <\/p>\n<p>For no cost, you get 50 MB of storage for up to 4 repositories. Well, we had one repository, but it was (according to Assembla) 75 MB in size. RiouxSVN gives you the tools to upgrade various aspects of your account, through redemption of <em>credits<\/em>. What is a credit? It&#8217;s what you get if you donate to RiouxSVN (via PayPal). $1 gets you 1 credit.<\/p>\n<p>If you want 20 MB of additional storage, that uses 1 credit. Want another repository slot? That&#8217;s 2 credits. If you delete a repository, you get back the  credits used to augment it, allowing you to re-allocate them. Nice.<\/p>\n<p>I used 4 credits to pump up the available storage to 130 MB. That&#8217;s permanent &#8211; it&#8217;s one-time, not an annual donation. That&#8217;s nice.<\/p>\n<p><strong>Migration<\/strong><\/p>\n<p>OK, so the next  step is to migrate our repository from Assembla to RiouxSVN. <\/p>\n<p>After some research, I determined that the best option for us was a two-step process: to export to a local dump file, and then import the dump file. As a long-time, but not very deep <a href=\"https:\/\/tortoisesvn.net\/\" target=\"_blank\" rel=\"noopener noreferrer\">TortoiseSVN<\/a> user, I needed to install the latest command-line tools for the export\/import task. I selected <a href=\"https:\/\/sliksvn.com\/download\/\" target=\"_blank\" rel=\"noopener noreferrer\">SlikSVN<\/a> for this purpose.<\/p>\n<p>The export, using <em>svnrdump<\/em>,  is simple:<\/p>\n<div id=\"codeSnippetWrapper\">\n<pre id=\"codeSnippet\" style=\"border-top-style: none; font-size: 8pt; overflow: visible; border-left-style: none; font-family: 'Courier New', courier, monospace; width: 100%; border-bottom-style: none; color: black; padding-bottom: 0px; direction: ltr; text-align: left; padding-top: 0px; border-right-style: none; padding-left: 0px; margin: 0em; line-height: 12pt; padding-right: 0px; background-color: #f4f4f4\">cd c:\\temp<br>mkdir svn_dump<br>cd svn_dump<br>svnrdump dump https:\/\/subversion.assembla.com\/svn\/MyProject\/trunk &gt; MyProject.svn_dump<br>* Dumped revision 0.<br>* Dumped revision 1.<br>* Dumped revision 2.<br>:<\/pre>\n<p><\/div>\n<p>After about 2-3 minutes, I had a 105 MB dump file.<\/p>\n<p>Importing was basically the same process, only this time I was prompted for my RiouxSVN account credentials:<\/p>\n<div id=\"codeSnippetWrapper\">\n<pre id=\"codeSnippet\" style=\"border-top-style: none; font-size: 8pt; overflow: visible; border-left-style: none; font-family: 'Courier New', courier, monospace; width: 100%; border-bottom-style: none; color: black; padding-bottom: 0px; direction: ltr; text-align: left; padding-top: 0px; border-right-style: none; padding-left: 0px; margin: 0em; line-height: 12pt; padding-right: 0px; background-color: #f4f4f4\">svnrdump load https:\/\/svn.riouxsvn.com\/MyProject &lt; MyProject.svn_dump<br>Authentication realm: &lt;https:\/\/svn.riouxsvn.com:443&gt; RiouxSVN<br>Username: xxxxxx<br>Password <span style=\"color: #0000ff\">for<\/span> <span style=\"color: #006080\">'xxxxxx'<\/span>: ************<br>* Loaded revision 0.<br>* Loaded revision 1.<br>* Loaded revision 2.<br>:<\/pre>\n<p><\/div>\n<p>This took longer, a couple of seconds per revision. After about 10 minutes, it was completed. And I verified I could check out, check in, and commit a simple change to the new repository.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For the last few years we&#8217;ve used Assembla to host source control (Subversion) for one of our projects. We signed up for a free hosting plan, and later on, when Assembla switched to pay-only plans, they graciously allowed us to continue using them for no charge. We knew we were on borrowed time, however. This [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-19","post","type-post","status-publish","format-standard","hentry","category-source-control","post-preview"],"_links":{"self":[{"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/posts\/19","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/comments?post=19"}],"version-history":[{"count":0,"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/posts\/19\/revisions"}],"wp:attachment":[{"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/media?parent=19"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/categories?post=19"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/spacefold.com\/colin\/morethanfour\/wp-json\/wp\/v2\/tags?post=19"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}