• 
      

    Remove deprecated code from Djblets.

    Review Request #12897 — Created March 17, 2023 and submitted

    Information

    Djblets
    release-4.x

    Reviewers

    This change removes all deprecated code marked for removal in Djblets
    4.0. The only complicated part of this is the ListEditWidget, which had
    a "legacy" mode in which the widget handled separators and value
    splitting. This wasn't used anywhere except unit tests.

    Ran unit tests.

    Summary ID
    Remove deprecated code from Djblets.
    This change removes all deprecated code marked for removal in Djblets 4.0. The only complicated part of this is the ListEditWidget, which had a "legacy" mode in which the widget handled separators and value splitting. This wasn't used anywhere except unit tests. Testing Done: Ran unit tests.
    cd4e5354610e6a2837f539f7e985981b4b611f3a
    Description From Last Updated

    Instead of "with a string of separated values" can you update this to say "with a list of values" here.

    maubinmaubin

    Given the deprecation info, if we make these keyword-only arguments and use the decorator, we can make token_info and token_generator_id …

    chipx86chipx86
    maubin
    1. 
        
    2. Show all issues

      Instead of "with a string of separated values" can you update this to say "with a list of values" here.

    3. 
        
    david
    chipx86
    1. 
        
    2. djblets/webapi/managers.py (Diff revision 2)
       
       
       
       
       
       
       
       
       
       
       
      Show all issues

      Given the deprecation info, if we make these keyword-only arguments and use the decorator, we can make token_info and token_generator_id mandatory by removing the None default.

    3. 
        
    david
    maubin
    1. Ship It!
    2. 
        
    david
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-4.x (06c8cad)