Make WordPress Systems

Tagged: request Toggle Comment Threads | Keyboard Shortcuts

  • Andrew Nacin 8:39 am on December 14, 2012 Permalink | Log in to leave a Comment
    Tags: request,   

    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.

     
    • 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

  • Andrew Nacin 3:01 am on December 13, 2012 Permalink | Log in to leave a Comment
    Tags: request, ,   

    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.)

  • Andrew Nacin 3:23 pm on December 4, 2012 Permalink | Log in to leave a Comment
    Tags: request, stats   

    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 5:00 pm on July 20, 2012 Permalink | Log in to leave a Comment
    Tags: , request   

    The $host = make.wordpress.org conditional also needs some lines from the location / 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.

     
  • Andrew Nacin 1:26 pm on July 12, 2012 Permalink | Log in to leave a Comment
    Tags: request,   

    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?

     
  • Andrew Nacin 6:36 pm on July 11, 2012 Permalink | Log in to leave a Comment
    Tags: , request   

    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;
    

     
  • Andrew Nacin 7:33 pm on July 4, 2012 Permalink | Log in to leave a Comment
    Tags: request,   

    Can lessbloat be given commit access to design.svn.wordpress.org?

     
  • Andrew Nacin 3:48 pm on June 30, 2012 Permalink | Log in to leave a Comment
    Tags: request,   

    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 2:47 pm on July 2, 2012 Permalink | Log in to Reply

      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 1:24 pm on June 30, 2012 Permalink | Log in to leave a Comment
    Tags: , request,   

    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 -P subject prefix argument for svn notify please be set to -P [Tests]?

     
    • Andrew Nacin 4:03 pm on June 30, 2012 Permalink | Log in to Reply

      Revision 3747 adds tracrpc.* = enabled to trac.ini, to enable XML-RPC. This is already done for core trac.

    • Nikolay Bachiyski 6:27 am on July 2, 2012 Permalink | Log in to Reply

      @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 6:56 am on July 2, 2012 Permalink | Log in to Reply

        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 2:42 pm on July 2, 2012 Permalink | Log in to Reply

      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 2:04 pm on July 12, 2012 Permalink | Log in to Reply

      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 10:18 pm on May 22, 2012 Permalink | Log in to leave a Comment
    Tags: , , request   

    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.

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
shift + esc
cancel