]> git.ipfire.org Git - thirdparty/patchwork.git/commit
models: add addressed field
authorRaxel Gutierrez <raxel@google.com>
Fri, 20 Aug 2021 04:50:25 +0000 (04:50 +0000)
committerDaniel Axtens <dja@axtens.net>
Mon, 23 Aug 2021 08:54:01 +0000 (18:54 +1000)
commiteade9c57e2c1a3d864fc0e7d9243d1d663237c32
tree4d89a5874b64422b6a3ee9e93f15a9dfcbdcb17b
parent4a7c3f163a9493f9f5f3ea3497fbfd677abd0cee
models: add addressed field

Currently, there is no state or status associated with comments. In
particular, knowing whether a comment on a patch or cover letter is
addressed or not is useful for transparency and accountability in the
patch review and contribution process. This patch is backend setup for
tracking the state of patch and cover comments.

Add `addressed` boolean field to patch and cover comments to be able to
distinguish between unaddressed and addressed comments in the
patch-detail page.

Signed-off-by: Raxel Gutierrez <raxel@google.com>
Reviewed-by: Daniel Axtens <dja@axtens.net>
[dja: give the migration a more meaningful name]
Signed-off-by: Daniel Axtens <dja@axtens.net>
patchwork/migrations/0045_addressed_fields.py [new file with mode: 0644]
patchwork/models.py