getpatchwork / patchwork

Patchwork is a web-based patch tracking system designed to facilitate the contribution and management of contributions to an open-source project.
http://jk.ozlabs.org/projects/patchwork/
GNU General Public License v2.0
273 stars 82 forks source link

[Issue #583] Add series dependencies #590

Closed loudonlune closed 1 month ago

loudonlune commented 2 months ago

Description

Adds a new field to the Series model which represents a dependency between two series. The parser will search for "Depends-on" tags in the incoming emails and form the relationship. Patchwork clients, when applying a series with dependencies, can access this information through the API and apply the dependent series. Adds new "dependencies" and "dependents" fields to the API series detail view, and increments the API version to 1.4.

Because some projects may not want to use this feature on their instance, the "Depends-on" tag parsing is disabled by default, and can be enabled through the ENABLE_DEPENDS_ON_PARSING setting.

Related

stephenfin commented 1 month ago

I've reviewed all this on the list and am happy to keep doing so there, unless you'd rather do it here. Please let me know and optionally close this PR.

loudonlune commented 1 month ago

I've replied to the comments on the mailing list. Next revision of this will be sent to the list as well. Thanks!