SVN size

SVN size

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

SVN size

Post by koshi »

While everyone knows that it's a wee bit big, i thought i'll provide some more detailed stats:
the entire checkout of trunk is 191M big. a complete "du -h" of the trunk dir: http://pastebin.com/m45a1d4a3

the biggest fishes:
59M spring-trunk/tools
37M spring-trunk/tools/MapDesigner (34M Libraries)
8.9M spring-trunk/tools/Upspring

51M spring-trunk/Lobby
20M spring-trunk/Lobby/AFLobby
17M spring-trunk/Lobby/TASClient
13M spring-trunk/Lobby/(UnityLobby+omni)

38M spring-trunk/rts

18M spring-trunk/AI

end of post of which i don't really know where i was going with :wink:
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: SVN size

Post by AF »

I'm not sure but the size of the AFLobby folder is somewhat moot since I've been making a lot of changes to that folder.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: SVN size

Post by Tobi »

Interesting to see these stats. Guess tools/ should really be cleaned up from all dead unmaintained code and binaries sometime.

rts(+AI?) together are suprisingly big though since they really contain sourcecode only except for the Spring icon, I think.
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: SVN size

Post by koshi »

some more on svn size:
currently a checkout of the entire spring svn tree is 3.8GB
importing the tree into a git repository results in a repo of 213MB

That's only about 10% bigger than a working copy of svn trunk, while containing the entire history.

I've pushed the repo to git://springlobby.info/git/koshi/spring.git for anyone to clone.
Cloning that repo took me 6 minutes, the svn checkout of the entire tree about 1.5 hours.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: SVN size

Post by lurker »

You got a repo of the entire thing? Nice. I've used imbaczek's git repo, but it only has trunk/, and git likes to crash on me when I try to import the svn.
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: SVN size

Post by koshi »

If people are interested in using that repo, i'll see about updating it automatically.
I could also host public git repos, if anyone wants to toy with that. Just contact me and have a ssh-key ready :wink:
User avatar
det
Moderator
Posts: 737
Joined: 26 Nov 2005, 11:22

Re: SVN size

Post by det »

There is a read only mirror of the Spring SVN repo at [url]svn://svn.springhq.org:3691[/url]. It is a full history mirror of / and it is updated hourly. On the server it uses only 284M of diskspace. The format SVN uses for the central database is a lot more storage efficient than what is used for checkouts. They are optimized for different things. Also, there is an unofficial Trac interface to this backup repo accessible at http://trac.springhq.org.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: SVN size

Post by imbaczek »

http://gitorious.org/projects/spring-sv ... s/mainline

updated hourly, but it's only the trunk.
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: SVN size

Post by koshi »

I have the repo automatically updated every 15 minutes now.

The bare repo on my server is only 134MB btw.
Post Reply

Return to “Engine”