]> git.ipfire.org Git - thirdparty/patchwork.git/commit
models: Add fields for series dependencies
authorAdam Hassick <ahassick@iol.unh.edu>
Thu, 30 Jan 2025 19:56:36 +0000 (14:56 -0500)
committerStephen Finucane <stephen@that.guru>
Mon, 10 Mar 2025 22:31:21 +0000 (22:31 +0000)
commit01a5b4665dd92e75727567f3d4f340ab9278538d
tree837da8eb895d7dd441cbc683779fe6d1211fd1b8
parentb3cf15d9509be382a8ee87c910a055c1c32ec009
models: Add fields for series dependencies

* Add a ManyToMany field to represent a dependency relationship between
  patch series and a helper method to add dependencies.
* Add the parse_dependency field to the Project model.

Signed-off-by: Adam Hassick <ahassick@iol.unh.edu>
Acked-by: Aaron Conole <aconole@redhat.com>
[stephenfin: Rename Project field from parse_dependencies to
             show_dependencies. Also add 'blank=True' to
             Series.cover_letter field]
Signed-off-by: Stephen Finucane <stephen@that.guru>
patchwork/migrations/0048_series_dependencies.py [new file with mode: 0644]
patchwork/models.py