[PATCH] Add comments REST API

Veronika Kabatova vkabatov at redhat.com
Mon Mar 26 23:38:42 AEDT 2018


----- Original Message -----
> From: vkabatov at redhat.com
> To: patchwork at lists.ozlabs.org
> Cc: "Veronika Kabatova" <vkabatov at redhat.com>
> Sent: Friday, March 23, 2018 1:33:38 PM
> Subject: [PATCH] Add comments REST API
> 
> From: Veronika Kabatova <vkabatov at redhat.com>
> 
> Signed-off-by: Veronika Kabatova <vkabatov at redhat.com>
> ---
>  docs/api/rest.rst                                  |   6 +-
>  patchwork/api/comment.py                           | 117
>  +++++++++++++++++++++
>  patchwork/api/filters.py                           |  16 +++
>  patchwork/api/index.py                             |   1 +
>  patchwork/models.py                                |   3 +
>  patchwork/urls.py                                  |  10 ++
>  .../notes/comments-api-b7dff6ee4ce04c9b.yaml       |  10 ++
>  7 files changed, 161 insertions(+), 2 deletions(-)
>  create mode 100644 patchwork/api/comment.py
>  create mode 100644 releasenotes/notes/comments-api-b7dff6ee4ce04c9b.yaml

Before someone mentions it, I'm aware the tests are missing. I wanted to get
feedback about the functionality first so I don't need to rework them later
(and with the recent Stephen's API tests rework, it was definitely a good
idea to wait).

Veronika


More information about the Patchwork mailing list