We’re merging design.trac and unit-tests.trac into core.trac (but keeping separate SVN repos), taking advantage of Trac 0.12′s multi-repository support.
Everything is set up on Trac’s end, I just need two commands run:
trac-admin $ENV repository resync "tests" trac-admin $ENV repository resync "design"
… where $ENV would be the path to trac-environs/wp-core.
I then need two post-commit hooks, one on the unit-tests.svn repo, and the other on design.svn, both pointing to the wp-core environment:
trac-admin $ENV changeset added "design" $REV trac-admin $ENV changeset added "tests" $REV
Andrew Nacin 3:03 am on December 13, 2012 Permalink | Log in to Reply
design.trac (which has no tickets, etc.) can be killed off with this. unit-tests.trac should remain operational, as it has existing tickets. I’ll make it read-only like what we did with WordPress MU’s Trac once this is done.
Andrew Nacin 3:10 am on December 13, 2012 Permalink | Log in to Reply
I don’t *think* anything needs to change with core.svn’s post-commit hook.
Also, I am pretty sure that “design” and “tests” for the post-commit hooks can likely be their full SVN paths instead, so the same as core.svn’s post-commit hook.
I can set up svnnotify after.
Andrew Nacin 8:47 am on December 13, 2012 Permalink | Log in to Reply
Done by @stankea! Including svn notify for both. (Design is now also piped to wp-svn, like tests.)
John James Jacoby 5:13 pm on December 13, 2012 Permalink | Log in to Reply
Awesome.