XTA repository relocation

XTA repository relocation

Hearken back to the days of yore and enjoy the first major Spring module!

Moderators: Moderators, Content Developer

User avatar
Deadnight Warrior
Posts: 183
Joined: 08 Jun 2009, 17:59

XTA repository relocation

Post 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.
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: XTA repository relocation

Post 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.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: XTA repository relocation

Post 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.
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: XTA repository relocation

Post 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.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: XTA repository relocation

Post 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.
8611
XTA Developer
Posts: 242
Joined: 29 Dec 2014, 08:22

Re: XTA repository relocation

Post 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?
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: XTA repository relocation

Post 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.
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: XTA repository relocation

Post 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.
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: XTA repository relocation

Post by Jools »

It would be very nice to not lose the commit history imo...
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: XTA repository relocation

Post by Forboding Angel »

Fwiw Google code export button exports history too.
8611
XTA Developer
Posts: 242
Joined: 29 Dec 2014, 08:22

Re: XTA repository relocation

Post 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.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: XTA repository relocation

Post 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"
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: XTA repository relocation

Post by Silentwings »

Is there a new address to put on https://springrts.com/wiki/Gamedev:PublicRepos? Or, any progress towards relocation?
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: XTA repository relocation

Post 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.
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: XTA repository relocation

Post 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.
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: XTA repository relocation

Post by abma »

or use a different windows/linux user profile to distingish between work and hobby.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: XTA repository relocation

Post 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!
abma
Spring Developer
Posts: 3798
Joined: 01 Jun 2009, 00:08

Re: XTA repository relocation

Post by abma »

so, no-one migrated the xta? this makes https://github.com/spring-archive/xta-springrts the official repo? hu? :-|
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: XTA repository relocation

Post 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.
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: XTA repository relocation

Post by Jools »

There is an official repo now at https://github.com/xta-springrts/xta-springrts
Post Reply

Return to “XTA”