среда, 7 ноября 2018 г.

Restoring project's sources from Google Code

Thanks to the article How to recover a Google Code SVN Project and migrate to Github I found the way to download the SVN repository dump of my project J-Sche and was able to get the sources from there. Here are steps how I did it on Windows:

1. Download the SVN dump of the necessary project from the Google Code archive specifying the name of the project as red text in this link: https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/j-sche/repo.svndump.gz - just put this link into web browser address bar, click "enter" and the "repo.svndump.gz" dump file should be downloaded.
2. Un-gzip the file using any convenient application. I used Far Manager for this - locate desired location where to put decompressed file in one panel, locate the in the "repo.svndump.gz" in the opposite panel, click "ctrl + page down" to enter the archive, click F5 to copy the only "repo.svndump" file in it to the opposite panel's location - this is the easiest way to decompress it from the archive to the specified location.
3. Install Visual SVN Server, run it, add a user via right click on "Users", specifying "Create User...".
4. Right-click on "Repositories", select "Import Existing Repository", specify "Load repository from a dump file" and point the decompressed "repo.svndump", give a name to this repository. Now it should be appeared under the "Repositories". Open it, right click on the repository you've just created, specify "Copy URL to Clipboard".
5. Install the Tortoise SVN, go to a location you'd like to download project sources to using Explorer, right click here and choose "SVN Checkout". Tortoise' "Checkout" window should appear and the link, copied in the step 4 should appear in "URL of repository" automatically. Just click "OK" and the project sources from the repository content should be downloaded here.