• 
      

    Move base rbtools.clients support into rbtools.clients.base.

    Review Request #12518 — Created Aug. 9, 2022 and submitted

    Information

    RBTools
    release-4.x

    Reviewers

    We have a lot of support code in rbtools.clients.__init__, with more
    coming. This has been hard to maintain, and was going to create some
    circular dependency issues.

    This cleanup has been long-overdue. This change moves SCMClient,
    RepositoryInfo, PatchAuthor, and PatchResult into sub-modules of
    rbtools.clients.base.

    In the process, SCMClient has been renamed to BaseSCMClient, to
    better fit modern naming of base classes.

    There is a legacy SCMClient class in rbtools.clients that emits a
    deprecation warning when instantiated. It will be removed in 5.0.

    Aside from that, all the changes are mechanical or updates to references
    in documentation.

    All unit tests pass.

    Posted this change using this build.

    Summary ID
    Move base rbtools.clients support into rbtools.clients.base.
    We have a lot of support code in `rbtools.clients.__init__`, with more coming. This has been hard to maintain, and was going to create some circular dependency issues. This cleanup has been long-overdue. This change moves `SCMClient`, `RepositoryInfo`, `PatchAuthor`, and `PatchResult` into sub-modules of `rbtools.clients.base`. In the process, `SCMClient` has been renamed to `BaseSCMClient`, to better fit modern naming of base classes. There is a legacy `SCMClient` class in `rbtools.clients` that emits a deprecation warning when instantiated. It will be removed in 5.0. Aside from that, all the changes are mechanical or updates to references in documentation.
    05e95e31749b26d95d991c6068a071b7f8b38893
    chipx86
    chipx86
    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-4.x (6137c4e)