Page 1 of 2

XTA repository relocation

Posted: 06 Apr 2015, 00:43
by Deadnight Warrior
Since I can't catch up with all relevant people at the same time, if at all. I'd like to hear from other XTA devs where should our repository move to, since Google Code is getting shut down in August this year.

The simplest option is the "Export to GitHub" button. But then it's no longer SVN repository. If we want to continue with SVN, we have to manualy move it to assembla.com or sourceforge.com.

If we want to keep rapid integration, we'll have to move to Git sooner or later, since abma seems to ditch SVN support in future to reduce rapid maintenance. And same source claims rapid works faster with Git.

Anyway, for me, it's the same if we keep with SVN, or move to GitHub. I already have both clients installed. One for game projects, and one for engine source code.

Re: XTA repository relocation

Posted: 06 Apr 2015, 01:19
by gajop
People have already mentioned Github supports SVN access, but at the same time it's also not as powerful as the default Git one. Still, it's there and usable in most cases.

Re: XTA repository relocation

Posted: 06 Apr 2015, 07:31
by Forboding Angel
Use github... just... use github. I might be tempted to help out on the project a lot more often if it were using git.

Git is so much better, yes, it has a learning curve, but it's pretty simple. If I have time tonight I'll do my tutorial vid on getting your dev env set up on winblows and using git.

Re: XTA repository relocation

Posted: 06 Apr 2015, 08:37
by Jools
Yes, it was also discussed here: viewtopic.php?f=1&t=33261

Personally I don't care: github has the limitation that you can only have one personal account, and if a lot of people have other github accounts it could mess up things. It did for me at least, so I'm talking out of experience. Also it's US based (if someone cares about legal things).

I guess it's most the question of how it conforms to how we work in xta, do we want a central approach or a decentralised one. That's a question that the outsiders can't answer, so maybe better if we discuss this in our battles...

Github is certainly easiest to export into: you just press one button.

Re: XTA repository relocation

Posted: 06 Apr 2015, 09:14
by Forboding Angel
Jools, you are very mistaken on the account thing... you can have any number of repos forked on your account.

What you mean is that you can only have one private repo per account, but you wouldn't want it to be private anyway, that would be dumb.

I don't think you understand how github works. I'm glad you said that. When I do the vid I'll be sure to address it.

Re: XTA repository relocation

Posted: 06 Apr 2015, 16:19
by 8611
I don't care third.
Deadnight Warrior wrote:If we want to keep rapid integration, we'll have to move to Git sooner or later, since abma seems to ditch SVN support in future to reduce rapid maintenance.
The rapid wiki was edited and does not mention svn anymore: https://springrts.com/mediawiki/index.p ... ldid=29167 so git seems more "future safe" than svn. As hosting site github is popular for spring mods, let's just use the same. (No need for special stuff like "svn on github" if nobody has any strong opinion anyway.)
Export to github seems have some small quirks, for example all bugs/comments get assigned to some "GoogleCodeExporter" account. There is some "original note by: XYZ" but original assigment to acconts is lost. Maybe there are more similiar things but I guess google can manage to export projects like XTA that never did anything but simple commits...so who wants to click the button?

Re: XTA repository relocation

Posted: 07 Apr 2015, 00:03
by Jools
Forboding Angel wrote:Jools, you are very mistaken on the account thing...
I am afraid the mistake is on your side, directly from github terms of use:
https://help.github.com/articles/github-terms-of-service/ wrote: 7 One person or legal entity may not maintain more than one free account.

Re: XTA repository relocation

Posted: 07 Apr 2015, 13:24
by Silentwings
Export to github seems have some small quirks, for example
If you are going to go for github, it is possible but not especially easy to migrate svn repos to git and not lose anything from the commit history. I haven't ever tried it for myself. It can be done manually with some svn magic which you'll have to google or there is e.g. https://github.com/nirvdrum/svn2git.

Re: XTA repository relocation

Posted: 07 Apr 2015, 17:25
by Jools
It would be very nice to not lose the commit history imo...

Re: XTA repository relocation

Posted: 07 Apr 2015, 23:56
by Forboding Angel
Fwiw Google code export button exports history too.

Re: XTA repository relocation

Posted: 09 Apr 2015, 23:55
by 8611
Jools wrote:It would be very nice to not lose the commit history imo...
The commit history stays intact.
Some other things come out a bit different.
The exporter has a bugtracker too: https://code.google.com/p/support-tools/issues/list
For xta it is probally not relevant because it all seems like more exotic problems. Just good to keep in mind maybe.

Re: XTA repository relocation

Posted: 16 Aug 2015, 19:43
by abma
just in case you forget to migrate, i've created a backup repo:
https://github.com/spring-archive/xta-springrts

"Google Code will be turning read-only on August 25th"

Re: XTA repository relocation

Posted: 29 Aug 2015, 15:11
by Silentwings
Is there a new address to put on https://springrts.com/wiki/Gamedev:PublicRepos? Or, any progress towards relocation?

Re: XTA repository relocation

Posted: 29 Aug 2015, 16:32
by Jools
Yes, it's migrated to github to one of my accounts there, but there's an issue with using github with multiple accounts that it will always commit from the account that logged in last. So I don't really know what to account to put it on. It's a personal issue for me, because I already had a business account on github before.

This is what they say from git
support@github.com wrote: Hi Jools,

Using multiple GitHub accounts is not supported or encouraged. There is no way to use GitHub Desktop with multiple accounts reliably.

Cheers,
Steven!
What I'm trying to do now is see if I could use different clients to commit from the respective accounts, separately.

Re: XTA repository relocation

Posted: 29 Aug 2015, 16:46
by gajop
Jools wrote: Github
GitHub Desktop
These two things are not the same.
There are ways to use different ssh keys
http://stackoverflow.com/questions/4565 ... thout-ruby
Maybe more googling would help, I didn't investigate it in great detail, but you will most likely need to at least clone it using a different key.
Or you can always use https and avoid ssh.

Re: XTA repository relocation

Posted: 29 Aug 2015, 18:08
by abma
or use a different windows/linux user profile to distingish between work and hobby.

Re: XTA repository relocation

Posted: 30 Aug 2015, 22:04
by Forboding Angel
They should have separate keys. All you need to do is clone it using the key from the account that you want to use with that specific repo.

Why on earth are you using github desktop? STAHP!

Re: XTA repository relocation

Posted: 25 Sep 2015, 00:02
by abma
so, no-one migrated the xta? this makes https://github.com/spring-archive/xta-springrts the official repo? hu? :-|

Re: XTA repository relocation

Posted: 25 Sep 2015, 01:33
by Silentwings
One solution to this issue (which I use) is to use Tortoise svn/git for Spring stuff and Github Desktop for personal/work stuff.

Re: XTA repository relocation

Posted: 12 Nov 2015, 19:09
by Jools
There is an official repo now at https://github.com/xta-springrts/xta-springrts