cancel
Showing results for 
Search instead for 
Did you mean: 

Why is the sourcecode not on GitHub?

martinhuwa
Champ in-the-making
Champ in-the-making
Miss it on GitHub =(
4 REPLIES 4

aevans713
Champ in-the-making
Champ in-the-making
Hi,

Alfresco hosts their source code. Check http://wiki.alfresco.com/wiki/Source_Code for more information.

mikeh
Star Contributor
Star Contributor
The Alfresco code (with history) would be much too large for a git-based source control methodology. Remember: git downloads not just the HEAD source code, but ALL the history. For the Alfresco code base that would be hundreds of gigabytes (possibly more) once you add up every commit over the last 8 years or so. That's obviously just not practical.

martinhuwa
Champ in-the-making
Champ in-the-making
But you can delete all branches or cleanup the repo and rebase it.
Sure, but this is not a problem.
Just as an example: https://github.com/torvalds/linux is 131 if we download the full repo.

Also git users use normally specific clone parameters to clone just 1 branch at a time:
http://stackoverflow.com/questions/4811434/git-clone-only-one-branch
http://stackoverflow.com/questions/1911109/git-clone-a-specific-branch#_=_

no professional developer would download the whole repository as a single zip file directly from github.com, they work with the console and do a checkout and just clone the needed branches

so this is no real argument by you

git can handle very large repositories normally

I see, you only have a svn repository, SVN has many disadvantages compared to git
http://git-scm.com/about

mikeh
Star Contributor
Star Contributor
Cleaning up an SVN repo hosting 8-9 years of continuous commits from between 8 and 30 engineers working full time on it would be a huge task. Besides which, often being able to access the distant history of individual files or modules is crucial in tracking down bugs or regression issues.

There's another problem though: cloning one branch wouldn't help…
http://stackoverflow.com/questions/14682245/why-is-the-size-of-the-forked-repository-so-huge-in-gith...

You don't need to download the zip of the repo, cloning would do the same thing as history comes along too.

We do recognise the git is much better than svn in many respects. You can see us using GitHub for many projects already:
https://github.com/Alfresco

…we just don't see us wholesale-migrating the main repo code from svn any time soon.

Thanks,
Mike