In preparation for porting Trac from sqlite to MySQL, I would like a dump of the current DB for core.trac.wordpress.org. I will then run through the full conversion locally, document it, and script it for the eventual live transition. We’ll probably want to move a smaller Trac first to work out any kinks, so a dump of either code.trac or unit-tests.trac would also be good.
Tagged: request Toggle Comment Threads | Keyboard Shortcuts
-
Andrew Nacin
-
Andrew Nacin
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
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
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
Done by @stankea! Including svn notify for both. (Design is now also piped to wp-svn, like tests.)
-
John James Jacoby
Awesome.
-
-
-
Andrew Nacin
Can we glean from the access logs on wordpress.org the number of times the nightly build has been downloaded? If it can be broken up by day (or some other over-time grouping) going as far back as is reasonably feasible, that would be great.
The nightly build is located at http://wordpress.org/nightly-builds/wordpress-latest.zip.
We are planning to release 3.5 tomorrow, so if it is possible for this to be done today, it would be appreciated, as it could inform us of our next steps.
Perhaps we can/should send that link through dl.php and do stats tracking on it, once 3.5 is over.
-
Andrew Nacin
@barry has been pointing me in the right direction to leverage some historical API data. Closing this out.
-
-
Andrew Nacin
The
$host = make.wordpress.orgconditional also needs some lines from thelocation /block, prior to the rewrite for index.php pulled from @404-extend in http://make.wordpress.org/systems/2012/07/17/problem-with-nginx-rewrites-i-think-conflict-between/#comment-247.Specifically:
# uploaded files rewrite ^/([_0-9a-zA-Z-]+/)?files/(.+) /wp-includes/ms-files.php?file=$2 last; rewrite ^/core/handbook/files/(.+) /wp-includes/ms-files.php?file=$1 last; # add a trailing slash to /wp-admin rewrite ^/([_0-9a-zA-Z-]+/)?wp-admin$ /$1wp-admin/ permanent; rewrite ^/core/handbook/wp-admin$ /core/handbook/wp-admin/ permanent;I suggest the various /core/handbook/ rules be pulled out into their own location block once make.wordpress.org moves to its own server block.
-
stankea
Moved out make.wordpress.org to a seperate file and added in the rules.
-
Ipstenu (Mika Epstein)
I think you broke something
make/support redirects to the forums, and apparently no one can log in to the forums. Minor ish.
-
-
-
Andrew Nacin
plugins.trac is not sending emails when an individual CCs themselves on a ticket. (Also, trac.ini dictates that reporters and owners always be notified of ticket changes.) I am not familiar with how Trac ties into our mail server for outgoing emails, but I imagine that’s the culprit. Could this be looked at?
-
stankea
fixed
-
-
Andrew Nacin
Can I have the following nginx rewrites set up in the wporg-wordpress.org nginx conf file, inside the make.wordpress.org host check around line 19?
rewrite ^/core/[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) /$1 break; rewrite ^/core/[_0-9a-zA-Z-]+/(.*\.php)$ /$1 break;
-
stankea
Tested out with Nacin and added it in.
-
-
Andrew Nacin
Can lessbloat be given commit access to design.svn.wordpress.org?
-
abbe
Granted.
-
-
Andrew Nacin
Can gcorne and bpetty please be given commit to unit-tests.svn.wordpress.org?
This is unlikely to be the last access request for unit-tests.svn in the next few weeks; I would be happy to manage these to speed things up.
-
stankea
I have granted gcorne and bpetty commit access to unit-tests.svn.wordpress.org
Apologies for the delay in the request – i have been only receiving the private posts
Now subscribed by email. Now the requests should be done a lot quicker
-
-
Andrew Nacin
We are starting a new code sprint today to re-do our existing unit-tests framework. In order for this to be successful we need to raise the visibility of the unit tests commits, which we’d like to do by pushing them over the same wire as core commits.
1. Can I get a deploy on deploy repo revision 3744, which switches Trac notification emails from wp-unit-tests@lists.wordpress.org to wp-trac@lists.automattic.com?
2. Can svn notify commit emails for unit-tests.svn.wordpress.org be re-routed from wp-unit-tests@lists.wordpress.org to wp-svn@lists.automattic.com? (There is no need to continue to send to both lists.) Can the
-Psubject prefix argument for svn notify please be set to-P [Tests]?-
Andrew Nacin
Revision 3747 adds
tracrpc.* = enabledto trac.ini, to enable XML-RPC. This is already done for core trac. -
Nikolay Bachiyski
@nacin, I think it would be a good idea to send it to both lists. I’m sure there are people, who’d like to follow the unit-tests list differently than the core one.
-
Andrew Nacin
Probably few people, but you are right. I’ve been thinking about this all weekend. Merging them is good, but not also sending things to wp-unit-tests could scare away some people who don’t want the full firehose but might be really excited about unit tests.
Perhaps systems has an idea for how to implement this.
-
-
stankea
I’ve did the first part of the request and the -P [Tests]
I’m not sure what to suggest for the notify. I would prefer to have different list for each so that i can control the flow of emails, but i am not sure what is the best for the developers. -
Andrew Nacin
The rest of this has been sorted out:
- unit-tests.trac now sends to both wp-trac and wp-unit-tests, as CCs on the same email
- unit-tests.svn now sends to both wp-svn and wp-unit-tests, in a single command
If you are subscribed to all three lists, you won’t get duplicate threads (assuming your mail client isn’t stupid).
Thanks, @stankea.
-
-
Andrew Nacin
Can we get the Codex cache flushed?
This is assuming that commit r3672 to the deploy repo was done to the “live” SVN tag (0006). If not, it will need to be ported to the current branch in use and then the cache flushed.
stankea 9:49 am on December 14, 2012 Permalink | Log in to Reply
Dumped core (sounds funny) and wp-unit-tests. You can find them in /home/wporgdev/trac on your sandbox