Git repository location

Discuss the future of Warzone 2100 with us.
User avatar
skriticos
Greenhorn
Posts: 10
Joined: 10 Jun 2010, 08:15

Git repository location

Post by skriticos »

Just in case someone prefers git over SVN, I imported the entire revision history to a git repository and uploaded it to git://github.com/skriticos/warzone2100-git.git (think of it as a mirror with a different scm).
I'll sync it with the main repository from time to time.
The repository can also be accessed via web interface at http://github.com/skriticos/warzone2100-git , though the web cache currently suffers some issues and does not update properly, so don't wonder if it seems missing things.


Update: There is a public git repository, well hidden at: http://gitorious.org/warzone2100/mainline/trees/master
Last edited by skriticos on 11 Jun 2010, 21:37, edited 3 times in total.
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: Git repository.. I made one!

Post by cybersphinx »

From a short look, it seems you didn't include any branches?
User avatar
skriticos
Greenhorn
Posts: 10
Joined: 10 Jun 2010, 08:15

Re: Git repository.. I made one!

Post by skriticos »

I did, it just don't displays in the web interface because of a technical glitch on Github's cache on the website. It's all there in the repository, so cloning it will yield all branches.

The website will update too, eventually.
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: Git repository.. I made one!

Post by cybersphinx »

I don't see any branches in the cloned repo either...
User avatar
skriticos
Greenhorn
Posts: 10
Joined: 10 Jun 2010, 08:15

Re: Git repository.. I made one!

Post by skriticos »

Ok, did a full fetch of my repo from github and checked it: you are right, they ate the branches (for some reason it sill serves my first push, which was before I used the --mirror parameter).

Weird thing is, I did the push of the branches later and it went on the server nicely (for instance r10955-r10957 only gave me ~11KB delta on my push right now, so the other stuff is there), but it does not come out again. o.O

Well, anyway, Github tech support said they'd be working on it, and that it's a known bug, so I hope the branches will show up some time. I'll do an update when that happens. Keep your copy around please.
User avatar
Crymson
Trained
Trained
Posts: 289
Joined: 18 Mar 2010, 21:08

Re: Git repository.. I made one!

Post by Crymson »

I thought I read on the mailing list that they already had a git repository?
User avatar
skriticos
Greenhorn
Posts: 10
Joined: 10 Jun 2010, 08:15

Re: Git repository.. I made one!

Post by skriticos »

Postby Crymson » 30 minutes ago
I thought I read on the mailing list that they already had a git repository?
Damn, you are right. I found it: http://gitorious.org/warzone2100/mainline/trees/master

I was searching for it previously too, but my google-fu seems to let me down.. or it was hidden very well, at least it was not mentioned on this forums before.

Also found the likely cause of why the branches don't show up: git seems to be picky with mapping remote branches to others. It pushes them, but don't really shows them. Manual mapping seems to work.

Anyway, as the former git repository seems to be adequate and up to date, I'll scrap my version now.
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: Git repository location

Post by cybersphinx »

skriticos wrote:Update: There is a public git repository, well hidden at: http://gitorious.org/warzone2100/mainline/trees/master
So well hidden it even has its own section here: http://developer.wz2100.net/wiki/CompileGuide#Git. I thought that wasn't getting updated regularly. The update frequency looks a bit too high...
User avatar
skriticos
Greenhorn
Posts: 10
Joined: 10 Jun 2010, 08:15

Re: Git repository location

Post by skriticos »

cybersphinx wrote:
skriticos wrote:Update: There is a public git repository, well hidden at: http://gitorious.org/warzone2100/mainline/trees/master
So well hidden it even has its own section here: http://developer.wz2100.net/wiki/CompileGuide#Git. I thought that wasn't getting updated regularly. The update frequency looks a bit too high...
You could have pointed out this little detail earlier.. and you are absolutely right about that. Anyway, I have all the info I was seeking, so I end the discussion here.

Ps: You folks are doing a great job with the development. So just want to say, that I think that's great. :)
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: Git repository location

Post by cybersphinx »

Well, as I said, I didn't notice the Gitorious repo was getting updates again, so having another mirror might not have been bad.