On Sun, May 9, 2010 at 07:37, Liangent liangent@gmail.com wrote:
Is it possible to mirror branches in SVN there as well?
It's unclear due to top-posting what "there" means. You can do it with the mediawiki-svn repository, but the mediawiki-trunk-* repositories just clones of trunk, so no.
If you want branches too just bite the bullet and use the giant mediawiki-svn repository.
I could in theory produce a mirror of just */phase3 with branches. But I'd need a list of branches that are derived from phase3, and not just some extension. It also doesn't help that some people just copy some subdir around instead of making the branch/* tree mirror some subset of trunk/*, e.g.:
* http://svn.wikimedia.org/svnroot/mediawiki/branches/hashar/ * http://svn.wikimedia.org/svnroot/mediawiki/branches/CentralNotice-delayed-lo... * ...
I personally prefer to put different extensions in different repos since I cannot clone a subdirectory in a repo only.
Me too. But we have more than 400 extensions. For that to be practical I'd have to write a program to automatically spawn new repositories through the GitHub API & maintain them. I don't have that yet.
I'd also have to either use 'git filter-branch' after every update to filter out extensions/*, or git svn fetch for each one, or devise some system to fetch changes and apply them to each repository as needed. The first too are expensive, the second is messy and non-trivial to get right.
Anyway. I just uploaded some mirrors now that were easy to do (and mediawiki-trunk-extensions is there now). If you want something more I'd be happy to do that if it's easy, and I'd be even happier to accept patches against the mirroring scripts.