~patchwork-devs/patchwork/patchwork

Viewing all changes in revision 1674.

  • Committer: Daniel Axtens
  • Author(s): Mete Polat
  • Date: 2020-03-15 23:05:51 UTC
  • Revision ID: git-v1:27c2acf56cd30e77c932a1dde87b6fc1de8eeb2c
models, templates: Add patch relations

Introduces the ability to add relations between patches. Relations are
displayed in the details page of a patch under 'Related'. Related
patches located in another projects can be viewed as well.

Changes to relations are tracked in events. Currently the display of
this is very bare in the API but that will be fixed in a subsequent patch:
this is the minimum required to avoid throwing errors when you view the
events feed.

Signed-off-by: Mete Polat <metepolat2000@gmail.com>
[dja: address some review comments from Stephen, add an admin view,
      move to using Events, misc tidy-ups.]
Signed-off-by: Daniel Axtens <dja@axtens.net>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: