• 
      

    Add new resources, part 6/7.

    Review Request #14379 — Created March 20, 2025 and submitted

    Information

    RBTools
    master

    Reviewers

    This change adds the following new resource implementations:
    - APITokenItemResource
    - APITokenListResource
    - HostingServiceAccountItemResource
    - HostingServiceAccountListResource
    - HostingServiceItemResource
    - HostingServiceListResource
    - PlainTextResource (used for original/patched files)
    - RemoteRepositoryItemResource
    - RemoteRepositoryListResource
    - SearchResource
    - SessionResource

    • Ran unit tests.
    • Used the new resources from a test script and saw that everything
      worked as expected.
    Summary ID
    Add new resources, part 6/7.
    This change adds the following new resource implementations: - APITokenItemResource - APITokenListResource - HostingServiceAccountItemResource - HostingServiceAccountListResource - HostingServiceItemResource - HostingServiceListResource - PlainTextResource (used for original/patched files) - RemoteRepositoryItemResource - RemoteRepositoryListResource - SearchResource - SessionResource Testing Done: - Ran unit tests. - Used the new resources from a test script and saw that everything worked as expected.
    34900ae82c7c7f78221548a959d6c6e3f9c353d6
    Description From Last Updated

    I feel like we should explain why this may be None.

    chipx86chipx86

    I think this should be "... are supported" or something. "available" may indicate presence.

    chipx86chipx86

    Missing period.

    chipx86chipx86

    Maybe say "from a diff" so it's clear this isn't a file attachment or in a repository. Same below.

    chipx86chipx86

    We should specify the version range. Same below.

    chipx86chipx86

    Should say "List resource"

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

      I feel like we should explain why this may be None.

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

      I think this should be "... are supported" or something. "available" may indicate presence.

    4. Show all issues

      Missing period.

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

      Maybe say "from a diff" so it's clear this isn't a file attachment or in a repository.

      Same below.

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

      We should specify the version range. Same below.

    7. 
        
    david
    maubin
    1. 
        
    2. Show all issues

      Should say "List resource"

    3. 
        
    david
    chipx86
    1. Ship It!
    2. 
        
    david
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to master (f90f78e)