Per-change Rules
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start by reviewing Patchwork's existing filepath-based auto-delegate feature and the linked mailing-list discussions. Compare the proposed rule types with Phabricator Herald, and read Django's reusable-app guidance before deciding whether this belongs in a separate application. The issue does not define an implementation scope or concrete completion criteria.
Written by the indexing model from the issue text.
Description
Overview
The autodelegation feature provided in v1.1.0 offers a way to create filepath-based auto-delegate rules. However, there are reasons why we might want to expand this feature to cover other types of rules, as provided by tools like Phabricator Herald.
This was discussed previously on the mailing list and users of patchwork have discussed similar requirements.
If implemented, it might be a good idea to do so as a different application. This will ensure users can disable the application if not required. The linaro patchwork instance provides a good example on how to achieve this through their "patchmetrics" extensions.
Dependencies
None.
Additional Work Items
None.
Alternatives
- We could keep the existing auto-delegate feature as-is and provide scripts using the XML-RPC API/REST API to implement this functionality
- We could allow third-parties to add this functionality as required (like the auto-delegate feature).
Useful resources
- Dominant language
- Python
- Stars
- 317
- Forks
- 91
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from getpatchwork/patchwork
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
getpatchwork/patchwork#668 ·
-
bug web-ui
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
getpatchwork/patchwork#546 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
getpatchwork/patchwork#664 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
getpatchwork/patchwork#663 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
getpatchwork/patchwork#645 ·
All issues in getpatchwork/patchwork
Similar issues
-
Add: hunch Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
AbdelStark/awesome-typesafe#104 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
DiamondLightSource/dodal#2211 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
openml/openml-python#1749 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sipyourdrink-ltd/bernstein#6191 ·