Changes between Version 8 and Version 9 of PullRequestsPlugin
- Timestamp:
- Dec 19, 2016, 8:28:01 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PullRequestsPlugin
v8 v9 5 5 == Description 6 6 7 This plugin allows you to track the status of your code repository [wikipedia:"Pull request" pull requests] .7 This plugin allows you to track the status of your code repository [wikipedia:"Pull request" pull requests] (PR). A pull request is a request or proposal to submit code changes into a main code repository. ''Pull'' is standard terminology from version control systems like Git or Mercurial. Basically it is a method of submitting contributions. The contributor has a clone of the main repository, pushes the proposed changes to that clone, then submits a pull request. The pull request contains the information required to merge these changes back to the main repository. Usually this means the URL of the repository and a branch (Git) or bookmark name (Mercurial). See also [comment:2:ticket:12406 here]. 8 8 9 9 A special `<command> PR: [arg]` syntax is introduced to create and control pull requests from ticket comments: 10 10 11 [[Image(PullRequestsExample.png, border=3,width=300px)]]11 [[Image(PullRequestsExample.png, width=600px, border=2)]] 12 12 13 13 This plugin also adds a macro that lists the queried pull requests, and it also adds a new admin panel, that lists all pull requests: 14 14 15 [[Image(PullRequestsAdmin.png,border=3,width=300px)]] 16 17 [comment:2:ticket:12406 More information] on pull requests. 15 [[Image(PullRequestsAdmin.png, width=600px, border=2)]] 18 16 19 17 === Create Pull Request … … 30 28 The trac.ini option `[pullrequests] create_commands` can be changed to allow multiple or different commands that create pull requests in different states. The status of a created pull request is always the same as the command that was used to create it. 31 29 32 === Change Status 30 === Change Status of a Pull Request 33 31 34 32 The status of a pull request is automatically changed when a ticket comment contains the command `<newstatus> PR:<number>`. … … 48 46 * `[[PRQuery(status=reviewed)]]` 49 47 * `[[PRQuery(status=!closed)]]` 50 * `[[PRQuery(status=reviewed, author=joe)]]`51 * `[[PRQuery(status=open, author=!joe)]]`48 * `[[PRQuery(status=reviewed, author=joe)]]` 49 * `[[PRQuery(status=open, author=!joe)]]` 52 50 53 51 == !Bugs/Feature Requests