XTA repository relocation
Moderators: Moderators, Content Developer
- Deadnight Warrior
- Posts: 183
- Joined: 08 Jun 2009, 17:59
XTA repository relocation
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.
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
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.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: XTA repository relocation
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.
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
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.
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.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: XTA repository relocation
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.
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
I don't care third.
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?
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.)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.
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
I am afraid the mistake is on your side, directly from github terms of use:Forboding Angel wrote:Jools, you are very mistaken on the account thing...
https://help.github.com/articles/github-terms-of-service/ wrote: 7 One person or legal entity may not maintain more than one free account.
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: XTA repository relocation
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.Export to github seems have some small quirks, for example
Re: XTA repository relocation
It would be very nice to not lose the commit history imo...
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: XTA repository relocation
Fwiw Google code export button exports history too.
Re: XTA repository relocation
The commit history stays intact.Jools wrote:It would be very nice to not lose the commit history imo...
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
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"
https://github.com/spring-archive/xta-springrts
"Google Code will be turning read-only on August 25th"
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: XTA repository relocation
Is there a new address to put on https://springrts.com/wiki/Gamedev:PublicRepos? Or, any progress towards relocation?
Re: XTA repository relocation
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
This is what they say from git
What I'm trying to do now is see if I could use different clients to commit from the respective accounts, separately.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!
Re: XTA repository relocation
These two things are not the same.Jools wrote: Github
GitHub Desktop
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
or use a different windows/linux user profile to distingish between work and hobby.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: XTA repository relocation
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!
Why on earth are you using github desktop? STAHP!
Re: XTA repository relocation
so, no-one migrated the xta? this makes https://github.com/spring-archive/xta-springrts the official repo? hu?
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
Re: XTA repository relocation
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
There is an official repo now at https://github.com/xta-springrts/xta-springrts