Add final stubs for root comment and review resources.

Review Request #14412 — Created April 30, 2025 and updated

Information

RBTools
master

Reviewers

We recently added root-level list resources for reviews and comments.
These have the same MIME types as the other review and comment list
resources, and so they can share the same subclasses, but they do have
different GET parameters that support a wider variety of queries. This
change adds params types for these and root resource stubs.

  • Ran unit tests.
  • Used these methods from a test script and saw that everything worked
    as expected.
Summary ID
Add final stubs for root comment and review resources.
We recently added root-level list resources for reviews and comments. These have the same MIME types as the other review and comment list resources, and so they can share the same subclasses, but they do have different GET parameters that support a wider variety of queries. This change adds params types for these and root resource stubs. Testing Done: - Ran unit tests. - Used these methods from a test script and saw that everything worked as expected.
a1c73fae6f46dd8cb104ea02b7497064780a8520
Description From Last Updated

These should say 'file attachment comments' instead of 'diff comments'.

maubinmaubin

Here and below should say 'general comment' instead of 'file attachment comment' and 'diff comment'.

maubinmaubin

This should be FileAttachmentCommentListResource.

maubinmaubin
maubin
  1. 
      
  2. rbtools/api/resource/file_attachment_comment.py (Diff revision 1)
     
     
     
     
     
    Show all issues

    These should say 'file attachment comments' instead of 'diff comments'.

  3. rbtools/api/resource/general_comment.py (Diff revision 1)
     
     
    Show all issues

    Here and below should say 'general comment' instead of 'file attachment comment' and 'diff comment'.

  4. rbtools/api/resource/root.py (Diff revision 1)
     
     
    Show all issues

    This should be FileAttachmentCommentListResource.

  5. 
      
david
Review request changed
Commits:
Summary ID
Add final stubs for root comment and review resources.
We recently added root-level list resources for reviews and comments. These have the same MIME types as the other review and comment list resources, and so they can share the same subclasses, but they do have different GET parameters that support a wider variety of queries. This change adds params types for these and root resource stubs. Testing Done: - Ran unit tests. - Used these methods from a test script and saw that everything worked as expected.
d05dfadac34fd9d68e074ae87c4c2fdae457d4b0
Add final stubs for root comment and review resources.
We recently added root-level list resources for reviews and comments. These have the same MIME types as the other review and comment list resources, and so they can share the same subclasses, but they do have different GET parameters that support a wider variety of queries. This change adds params types for these and root resource stubs. Testing Done: - Ran unit tests. - Used these methods from a test script and saw that everything worked as expected.
a1c73fae6f46dd8cb104ea02b7497064780a8520

Checks run (2 succeeded)

flake8 passed.
JSHint passed.
maubin
  1. Ship It!
  2.