Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#5080 closed enhancement (fixed)

When a PR is created for a Trac ticket apply 'has-patch'

Reported by: garrett-eclipse's profile garrett-eclipse Owned by: dd32's profile dd32
Milestone: Priority: normal
Component: Trac Keywords:



The new PR syncing is awesome. Might I suggest it trigger some keywords on Trac.
At minimum am thinking it should add has-patch, but possibly auto-add needs-testing.
And potentially have it remove needs-patch and needs-refresh.

*Also may not be possible but if unit tests are part of the PR maybe add has-unit-tests.


Change History (3)

This ticket was mentioned in Slack in #meta by tellyworth. View the logs.

4 years ago

#2 @dd32
4 years ago

  • Owner set to dd32
  • Resolution set to fixed
  • Status changed from new to closed

In 9900:

Trac: When a PR is added to a ticket, toggle the has-patch/needs-patch/needs-refresh and needs-unit-tests/has-unit-tests if it touches a tests-looking directory.

Fixes #5080.

#3 @garrett-eclipse
4 years ago

You rock @dd32 thank you, I'll keep my eyes open for incoming PRs to test it out in the wild.

Note: See TracTickets for help on using tickets.