Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#35917 closed enhancement (fixed)

Update `grunt-patch-wordpress` version to include support for uploading patches

Reported by: netweb's profile netweb Owned by: jorbin's profile jorbin
Milestone: 4.6 Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords: has-patch
Focuses: Cc:


The upcoming 0.4.0 release of grunt-patch-wordpress will support uploading patches to Trac.

For example: grunt upload_patch:98765 will upload a diff/patch of the current directory to ticket #98765

Attachments (1)

35917.diff (448 bytes) - added by netweb 8 years ago.

Download all attachments as: .zip

Change History (6)

8 years ago

#1 @netweb
8 years ago

  • Keywords has-patch added
  • Owner set to jorbin
  • Status changed from new to assigned

The patch 35917.diff ​ was actually uploaded as part of the testing of the pre-release version 0.4.0 of grunt-patch-wordpress using the following grunt task: grunt upload_patch:35917

$ grunt upload_patch:35917
Running "upload_patch:35917" (upload_patch) task
? Enter your username netweb
? Enter your password ************************************
Uploaded patch.

Done, without errors.

Note: This should not be committed until grunt-patch-wordpress version 0.4.0 has been released

#3 @ocean90
8 years ago

#36404 was marked as a duplicate.

#4 @jorbin
8 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 37612:

Update grunt-patch-wordpress to 0.4.0

This update adds two main features for your WordPress development happiness.

1) GitHub URL support. You can now use grunt patch: with any copy of WordPress on GitHub. No longer will you need to download the patch manually. Works for both core and develop mirrors on GitHub.

2) Upload patches directly from the command line. No longer will you need to create a patch and manually upload it to trac. grunt upload_patch:20000 will upload a patch to the appropriate ticket after a user enters a username and password. This is limited to users with the appropriate XML-RPC privileges in trac (right now, that is just bug gardeners). You still need to manually add the has patch keyword.

Full changelog:

Fixes #35917.
Props netweb, ericlewis, michaelbeil, jorbin.

#5 @netweb
8 years ago

  • Milestone changed from Future Release to 4.6
Note: See TracTickets for help on using tickets.