[wp-trac] [WordPress Trac] #34694: Facilitate automated testing in context of pull requests and diffs

WordPress Trac noreply at wordpress.org
Wed Nov 18 03:54:53 UTC 2015


#34694: Facilitate automated testing in context of pull requests and diffs
------------------------------+-----------------------------
 Reporter:  westonruter       |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Future Release
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+-----------------------------

Comment (by westonruter):

 Replying to [comment:2 jorbin]:
 > I've started on a script to accomplish this in the short term with
 travis and github.

 Cool!

 Ideas:
 * Attribute the author in the commit, e.g. via `--author "username
 <username at git.wordpress.org>"`
 * Use one branch per ticket, and apply all of the patches from all authors
 sequentially. This allows change history of patches to be easily seen,
 with each new contributor's patch changes clearly displayed with each git
 commit. I came up with a prototype:
 https://gist.github.com/westonruter/5c453a44bd36f6847c36
 * Open a pull request to `master` for each ticket branch.
 * Add a comment to the Trac ticket with the URL to the pull request when
 it is created for that ticket.
 * Add a comment to the Trac ticket when there is a Travis build failure.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34694#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list