From: Stephen Finucane Date: Tue, 11 Oct 2016 17:58:38 +0000 (+0100) Subject: docs: Add delegation guide X-Git-Tag: v2.0.0-rc1~189 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f11c647a601adf647dbb5cf7084e46e6de9b2eb;p=thirdparty%2Fpatchwork.git docs: Add delegation guide We do autodelegation - let's tell people all about it. Signed-off-by: Stephen Finucane --- diff --git a/docs/usage/delegation.md b/docs/usage/delegation.md new file mode 100644 index 00000000..9553fd8d --- /dev/null +++ b/docs/usage/delegation.md @@ -0,0 +1,35 @@ +# Delegates + +Patchwork has the concept of patch delegation. Delegates are akin to reviewers, +in that they are Patchwork users who are responsible for both reviewing a patch +and setting its eventual state in Patchwork. Delegation works particularly well +for larger projects where various subsystems, each with their own +maintainer(s), can be identified. + +## Autodelegation + +Autodelegation allows patches to be automatically delegated to a user based on +the files modified by the patch. To do this, a number of rules can be +configured in the project admininstration page. This can usually be found at +`/admin/patchwork/project//change`. + +**NOTE:** Autodelegation can only be configured by Patchwork administrators, +i.e. those that can access the 'admin' panel. If you require configuration of +autodelegation rules on a local instance, contact your Patchwork administrator. + +In this section there are the following fields: + +
+
Path
+
A path in + fnmatch format. The fnmatch library allows for limited, Unix shell-style + wildcarding
+
User
+
The patchwork user that should be autodelegated to the patch
+
Priority
+
The priority of the rule relative to other patches. Higher values + indicate higher priority
+
+ +Rules should be configured by setting the above fields and saving the rules. +These rules will be applied at patch parse time. diff --git a/mkdocs.yml b/mkdocs.yml index ceb57d93..72fb3681 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -18,3 +18,4 @@ pages: - REST API: 'usage/rest.md' - XML-RPC API: 'usage/xmlrpc.md' - Hint Headers: 'usage/headers.md' + - Delegation: 'usage/delegation.md'