Page 1 of 1

Google Code is closing later this year

PostPosted: 16 Mar 2015, 05:29
by Krom
Hello everyone!

A few days ago Google announced that Google Code (GC) project hosting is going to be closed (just like many other services Google has closed in the past, like Reader, Wave, Labs, etc..). GC will function as normal till 25 August, after that it becomes read-only and somewhere around December it's planned to close.
That means that KaM Remake needs to migrate to a new project hosting ground. Best one I know of so far is GitHub (GH).

Issues:
- Migrate repository from GC to GH. Doable. Thanks to automatic import. However there are problems.
- First ~1600 commits revision history is lost, they all are merged into one.
- We loose revision numbers in general, since Git does not rely on commits numbering, every commit is marked with a small hash. We can sort of rely on total commits count instead (should be the same thing?).
- It is yet unclear how project committers info is linked, since after import GH does not show project members in web interface. Should be doable.
- Git is generally more complicated than SVN. I'm not experienced with it, so it might need some time to get used to.

On the brighter side:
- It is easier to suggest code/resource changes through GH web interface. Creating a Pull Request is a matter of minutes.
- Integrated issue tracking seems to be more advanced and handy

New test repo is available at: https://github.com/Kromster80/kam_remake
For now my plan is to play around, look into more possible issues and see if above "issues" can be solved. That means that the repo is in test mode and there's a chance I will delete and recreate it once again (or maybe a few times).

Said that, everyone is welcome to test the TestKaMRemakeRepositoryOnGitHub (TKROGH for short), and leave their opinions!

Re: Google Code is closing later this year

PostPosted: 16 Mar 2015, 08:08
by zombie01
Yeah, github is some getting used to. but it works fine.
I suddenly had to learn it for a school project.
At that time there was a youtube video that made it completely clear to me, but I can't find it.
But I'm sure you'll get the hang of it faster then me.

Re: Google Code is closing later this year

PostPosted: 18 Mar 2015, 05:24
by Krom
I've found a way to convert SVN repo to Git starting from r1, but there's a problem: http://www.reddit.com/r/git/comments/2z ... in_pieces/

Re: Google Code is closing later this year

PostPosted: 18 Mar 2015, 11:13
by Krom
... and a solution to that one problem - by syncing the whole repo to local folder and then trying to convert it. That should speed things up anyway :-)

Re: Google Code is closing later this year

PostPosted: 18 Mar 2015, 14:40
by dicsoupcan
ok so i cannot help with stuff like this. but i still wonder why it closes?

Re: Google Code is closing later this year

PostPosted: 18 Mar 2015, 19:01
by Krom
I guess it's just the same nonsense reason Google closed other good services (I especially miss Google Reader).

I'm looking deeper into restoring the right SVN sctructure, if that succeeds, then we'll have full 6740+ revs in Github with all the history :)
Oh the memories of the r1 ... nostalgia ..

If/when conversion to github succeeds I will likely to ask for more help at porting the wiki articles (fix formatting) and maybe issues (reenter them anew).

Re: Google Code is closing later this year

PostPosted: 19 Mar 2015, 12:56
by Krom
Thanks to simple SVN tools that can dump whole repo in editable text format, restoring SVN structure seems to be working well. I'm splitting the repo into pieces and rearranging them so that now creation of "trunk" folder happens in r1 instead of r1641. That shifts all rev numbers by 1, but luckily I was able to find an early pair of revs I can join into one (r25 and r26). And instead of r1640 that created the trunk I'm inserting a placeholder rev.

Old chain:
r1..r25
r26
r27..r1639
r1640 trunk created
r1641..

New chain
r1 trunk created
r2..r26 known previously as r1..r25, old r26 adjoined with old r25
r27..r1639 as they were
r1640 placeholder rev inserted
r1641.. as they were

Re: Google Code is closing later this year

PostPosted: 21 Mar 2015, 15:11
by Krom

Re: Google Code is closing later this year

PostPosted: 26 Mar 2015, 19:08
by Krom
KaM Remake SVN was successfully reorganized and moved to GitHub (GH). The new official KaM Remake repository address is:

https://github.com/Kromster80/kam_remake

Issues/Bugs were not ported, because I could not find the right script (and because they are largely outdated at GC). We track KMR bugs in our custom format in \todo\ folder.

Wiki was ported, but needs its markup to be fixed, due to different flavor of markup languages used by GC and GH.