• 
      

    Fix regressions in packaging extensions.

    Review Request #13762 — Created April 20, 2024 and submitted

    Information

    Djblets
    release-5.x

    Reviewers

    The rewrites for modern extension packaging had some regressions when
    working off of a clean source tree and when processing lists of
    entrypoints.

    We had assumed the build/lib directory existed, but that wasn't a
    guarantee at this point. This is now created when we need it.

    We also assumed the extension's static directory existed, and broke if
    it didn't. We now simply skip static media building in this case.

    For the entrypoints, we now check if the result is a list or a string.
    In either case, we convert to a string with an entrypoint per line, for
    processing.

    Successfully built rbintegrations and Power Pack packages.

    Summary ID
    Fix regressions in packaging extensions.
    The rewrites for modern extension packaging had some regressions when working off of a clean source tree and when processing lists of entrypoints. We had assumed the `build/lib` directory existed, but that wasn't a guarantee at this point. This is now created when we need it. We also assumed the extension's `static` directory existed, and broke if it didn't. We now simply skip static media building in this case. For the entrypoints, we now check if the result is a list or a string. In either case, we convert to a string with an entrypoint per line, for processing.
    3b0a0ba56410650642d69bca74bd053e0f5fa05f
    david
    1. Ship It!
    2. 
        
    maubin
    1. Ship It!
    2. 
        
    chipx86
    maubin
    1. Ship It!
    2. 
        
    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-5.x (f4d8c50)