WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 3 years ago

#9724 closed enhancement (worksforme)

Shell scripts to automate trac ticket testing

Reported by: Denis-de-Bernardy Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: WordPress.org site Keywords:
Focuses: Cc:

Description

I've been moving/editing tickets around in the past couple of weeks to trim the 2.8 todo list.

There are only so many patches left as needs-testing:

http://core.trac.wordpress.org/report/16

And quite a few commit candidates:

http://core.trac.wordpress.org/report/9

Very few tickets remain in 2.8 without an actual patch -- only those that seemed major enough to require some kind of patch before 2.8 gets shipped.

In order to speed up testing, I've developed a few shell scripts. They'd be good additions to the main wiki page.

Usage (always in a wp folder):

# svn revert and cleanup
wpreset

# apply http://core.trac.wordpress.org/attachment/ticket/123/456.diff
wppatch http://core.trac.wordpress.org/attachment/ticket/123/456.diff

# reset and apply http://core.trac.wordpress.org/attachment/ticket/123/456.diff
wptest http://core.trac.wordpress.org/attachment/ticket/123/456.diff

In case it's useful to anyone...

Attachments (3)

wpreset (178 bytes) - added by Denis-de-Bernardy 5 years ago.
wppatch (1.1 KB) - added by Denis-de-Bernardy 5 years ago.
wptest (32 bytes) - added by Denis-de-Bernardy 5 years ago.

Download all attachments as: .zip

Change History (10)

Denis-de-Bernardy5 years ago

Denis-de-Bernardy5 years ago

Denis-de-Bernardy5 years ago

comment:2 Denis-de-Bernardy5 years ago

2.7.2 milestone can be closed, too... all of the remaining tickets have been moved to 2.8 or Future depending on severity and patch presence.

comment:3 filosofo5 years ago

Thanks; I think I'll use wppatch.

I just need a shell script that posts "itching to close as invalid" to all open tickets, and I'll be set. :)

comment:4 Denis-de-Bernardy5 years ago

  • Milestone Unassigned deleted

comment:5 Denis-de-Bernardy5 years ago

  • Owner changed from matt to Denis-de-Bernardy
  • Status changed from new to accepted

I've given a slight update to wpreset since. Will create a page on my site in a week or so with their final versions.

comment:6 Denis-de-Bernardy5 years ago

  • Owner Denis-de-Bernardy deleted
  • Status changed from accepted to assigned

comment:7 nacin3 years ago

  • Resolution set to worksforme
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.