You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by tv...@apache.org on 2022/04/13 05:14:32 UTC

[buildstream] 01/01: Merge pull request #1636 from apache/tristan/remove-plugins

This is an automated email from the ASF dual-hosted git repository.

tvb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit f122efc99698ca3e2d7f087d934b283710088643
Merge: d0ee47f5a 33d34ae27
Author: Tristan Van Berkom <tr...@codethink.co.uk>
AuthorDate: Wed Apr 13 14:14:25 2022 +0900

    Merge pull request #1636 from apache/tristan/remove-plugins
    
    Remove plugins

 doc/examples/autotools/project.conf                |    6 +
 doc/examples/first-project/project.conf            |    2 +-
 doc/examples/junction-includes/project.conf        |    6 +
 doc/examples/junctions/autotools/project.conf      |    7 +
 doc/source/core_plugins.rst                        |   20 +-
 doc/source/porting_project.rst                     |    6 +-
 doc/source/tutorial/autotools.rst                  |   11 +-
 doc/source/tutorial/running-commands.rst           |    4 +-
 src/buildstream/__init__.py                        |    5 -
 src/buildstream/_testing/_cachekeys.py             |    6 +-
 .../multiple_targets/dependency/horsey.bst         |    2 +-
 .../elements/multiple_targets/dependency/pony.bst  |    2 +-
 .../elements/multiple_targets/dependency/zebry.bst |    2 +-
 .../project/elements/multiple_targets/order/0.bst  |    2 +-
 .../project/elements/multiple_targets/order/1.bst  |    2 +-
 .../project/elements/multiple_targets/order/2.bst  |    2 +-
 .../project/elements/multiple_targets/order/3.bst  |    2 +-
 .../project/elements/multiple_targets/order/4.bst  |    2 +-
 .../project/elements/multiple_targets/order/5.bst  |    2 +-
 .../project/elements/multiple_targets/order/6.bst  |    2 +-
 .../project/elements/multiple_targets/order/7.bst  |    2 +-
 .../project/elements/multiple_targets/order/8.bst  |    2 +-
 .../project/elements/multiple_targets/order/9.bst  |    2 +-
 .../elements/multiple_targets/order/run.bst        |    2 +-
 src/buildstream/_testing/_utils/junction.py        |   55 +-
 src/buildstream/plugins/sources/bzr.py             |  215 ----
 src/buildstream/plugins/sources/git.py             |  164 ---
 src/buildstream/plugins/sources/pip.py             |  263 -----
 tests/artifactcache/missing-certs/element.bst      |    2 +-
 tests/artifactcache/only-one/element.bst           |    2 +-
 tests/cachekey/project/sources/bzr1.bst            |    6 -
 tests/cachekey/project/sources/bzr1.expected       |    1 -
 tests/cachekey/project/sources/git1.bst            |    5 -
 tests/cachekey/project/sources/git1.expected       |    1 -
 tests/cachekey/project/sources/git2.bst            |    9 -
 tests/cachekey/project/sources/git2.expected       |    1 -
 tests/cachekey/project/sources/git3.bst            |   12 -
 tests/cachekey/project/sources/git3.expected       |    1 -
 tests/cachekey/project/sources/patch1.bst          |    4 -
 tests/cachekey/project/sources/patch1.expected     |    1 -
 tests/cachekey/project/sources/patch2.bst          |    6 -
 tests/cachekey/project/sources/patch2.expected     |    1 -
 tests/cachekey/project/sources/patch3.bst          |    6 -
 tests/cachekey/project/sources/patch3.expected     |    1 -
 tests/cachekey/project/sources/pip1.bst            |   12 -
 tests/cachekey/project/sources/pip1.expected       |    1 -
 tests/cachekey/project/target.bst                  |    8 -
 tests/cachekey/project/target.expected             |    2 +-
 tests/conftest.py                                  |    5 -
 tests/elements/filter.py                           |   10 +-
 tests/format/assertion/conditional-assertion.bst   |    2 +-
 tests/format/assertion/ordered-assertion.bst       |    2 +-
 tests/format/assertion/raw-assertion.bst           |    2 +-
 tests/format/dependencies2/build-build.bst         |    4 +-
 tests/format/dependencies2/build.bst               |    4 +-
 tests/format/dependencies2/dep-one.bst             |    4 +-
 tests/format/dependencies2/dep-two.bst             |    4 +-
 .../format/dependencies2/merge-separate-lists.bst  |    2 +-
 tests/format/dependencies2/merge-single-list.bst   |    2 +-
 tests/format/dependencies2/run-build.bst           |    4 +-
 tests/format/dependencies2/run.bst                 |    4 +-
 tests/format/dependencies2/target.bst              |    4 +-
 tests/format/include.py                            |   10 +-
 .../format/list-directive-error-element/config.bst |    2 +-
 .../list-directive-error-element/environment.bst   |    2 +-
 .../format/list-directive-error-element/public.bst |    2 +-
 .../list-directive-error-element/variables.bst     |    2 +-
 .../list-directive-error-project/element.bst       |    2 +-
 tests/format/list-directive-type-error/element.bst |    2 +-
 tests/format/option-arch-alias/element.bst         |    2 +-
 tests/format/option-arch-unknown/element.bst       |    2 +-
 tests/format/option-arch/element.bst               |    2 +-
 tests/format/option-bool/element-equals.bst        |    2 +-
 tests/format/option-bool/element-not-equals.bst    |    2 +-
 tests/format/option-bool/element-not.bst           |    2 +-
 tests/format/option-bool/element.bst               |    2 +-
 tests/format/option-element-mask-invalid/pony.bst  |    2 +-
 tests/format/option-element-mask/giraffy.bst       |    2 +-
 tests/format/option-element-mask/horsy.bst         |    2 +-
 tests/format/option-element-mask/pony.bst          |    2 +-
 tests/format/option-element-mask/zebry.bst         |    2 +-
 tests/format/option-enum-missing/element.bst       |    2 +-
 tests/format/option-enum/element-compare.bst       |    2 +-
 tests/format/option-enum/element.bst               |    2 +-
 tests/format/option-exports/element.bst            |    2 +-
 tests/format/option-flags-missing/element.bst      |    2 +-
 tests/format/option-flags/element-in.bst           |    2 +-
 tests/format/option-flags/element.bst              |    2 +-
 tests/format/option-os/element.bst                 |    2 +-
 tests/format/option-overrides/element.bst          |    2 +-
 tests/format/option-overrides/project.conf         |    2 +-
 .../options/compound-and-condition/element.bst     |    2 +-
 .../options/compound-or-condition/element.bst      |    2 +-
 .../format/options/deep-nesting/element-deeper.bst |    2 +-
 tests/format/options/deep-nesting/element.bst      |    2 +-
 tests/format/options/invalid-condition/element.bst |    2 +-
 .../format/options/invalid-expression/element.bst  |    2 +-
 .../format/options/invalid-name-dashes/element.bst |    2 +-
 .../invalid-name-leading-number/element.bst        |    2 +-
 tests/format/options/invalid-name-plus/element.bst |    2 +-
 .../format/options/invalid-name-spaces/element.bst |    2 +-
 tests/format/options/invalid-type/element.bst      |    2 +-
 .../options/invalid-variable-name-plus/element.bst |    2 +-
 .../invalid-variable-name-spaces/element.bst       |    2 +-
 tests/format/options/nested-condition/element.bst  |    2 +-
 tests/format/options/simple-condition/element.bst  |    2 +-
 .../format/options/undefined-variable/element.bst  |    2 +-
 .../prepend-configure-commands/project.conf        |    6 +
 tests/format/project/duplicate-plugins/element.bst |    2 +-
 tests/format/project/refs-options/target.bst       |    7 +-
 tests/format/projectoverrides.py                   |    4 +
 tests/format/variables.py                          |    6 +
 tests/format/variables/defaults/project.conf       |    6 +
 tests/format/variables/overrides/project.conf      |    6 +
 tests/frontend/__init__.py                         |    8 +
 tests/frontend/buildcheckout.py                    |    2 +-
 .../completions/sub-folders/base/unwanted.bst      |    2 +-
 .../sub-folders/elements/base/wanted.bst           |    2 +-
 .../completions/sub-folders/elements/hello.bst     |    2 +-
 tests/frontend/cross_junction_workspace.py         |    4 +-
 tests/frontend/default_target.py                   |    4 +-
 tests/frontend/exceptions/build.bst                |    4 +-
 tests/frontend/exceptions/first-level-1.bst        |    2 +-
 tests/frontend/exceptions/first-level-2.bst        |    2 +-
 tests/frontend/exceptions/fourth-level-1.bst       |    2 +-
 tests/frontend/exceptions/fourth-level-2.bst       |    2 +-
 tests/frontend/exceptions/fourth-level-3.bst       |    2 +-
 tests/frontend/exceptions/second-level-1.bst       |    2 +-
 tests/frontend/exceptions/third-level-1.bst        |    2 +-
 tests/frontend/exceptions/third-level-2.bst        |    2 +-
 tests/frontend/exceptions/third-level-3.bst        |    2 +-
 tests/frontend/exceptions/unrelated-1.bst          |    2 +-
 tests/frontend/exceptions/unrelated-2.bst          |    2 +-
 tests/frontend/logging.py                          |    4 +-
 tests/frontend/mirror.py                           |   46 +-
 tests/frontend/order.py                            |    2 +-
 .../multiple_targets/dependency/horsey.bst         |    2 +-
 .../elements/multiple_targets/dependency/pony.bst  |    2 +-
 .../elements/multiple_targets/dependency/zebry.bst |    2 +-
 .../project/elements/multiple_targets/order/0.bst  |    2 +-
 .../project/elements/multiple_targets/order/1.bst  |    2 +-
 .../project/elements/multiple_targets/order/2.bst  |    2 +-
 .../project/elements/multiple_targets/order/3.bst  |    2 +-
 .../project/elements/multiple_targets/order/4.bst  |    2 +-
 .../project/elements/multiple_targets/order/5.bst  |    2 +-
 .../project/elements/multiple_targets/order/6.bst  |    2 +-
 .../project/elements/multiple_targets/order/7.bst  |    2 +-
 .../project/elements/multiple_targets/order/8.bst  |    2 +-
 .../project/elements/multiple_targets/order/9.bst  |    2 +-
 .../elements/multiple_targets/order/run.bst        |    2 +-
 tests/frontend/project/project.conf                |    6 +
 tests/frontend/pull.py                             |    2 +-
 .../track-cross-junction/subproject/project.conf   |    6 +
 tests/frontend/track-optional-inline/project.conf  |    6 +
 .../track-optional-project-refs/project.conf       |    6 +
 tests/frontend/track.py                            |   32 +-
 tests/frontend/workspace.py                        |  100 +-
 tests/integration/pip_source.py                    |  177 ---
 tests/integration/project/files/pip-source/app1.py |   11 -
 .../project/files/pip-source/myreqs.txt            |    1 -
 tests/integration/project/project.conf             |   10 +
 tests/plugins/loading.py                           |   34 +-
 tests/plugins/sample-plugins/MANIFEST.in           |    1 +
 tests/plugins/sample-plugins/setup.py              |    2 +
 .../src/sample_plugins}/elements/autotools.py      |    5 +-
 .../src/sample_plugins}/elements/autotools.yaml    |    0
 .../src/sample_plugins/sources/git.py              |  296 ++++-
 tests/remotecache/project/project.conf             |    5 +
 tests/remotecache/simple.py                        |    5 +
 tests/remoteexecution/buildfail.py                 |    3 +
 tests/remoteexecution/buildtree.py                 |    3 +
 tests/remoteexecution/junction.py                  |    5 +-
 .../project/files/sub-project/project.conf         |    6 +
 tests/remoteexecution/project/project.conf         |    5 +
 tests/remoteexecution/remotecache.py               |    3 +
 tests/remoteexecution/simple.py                    |    3 +
 tests/remoteexecution/workspace.py                 |    3 +
 .../remote-exec-config/missing-certs/element.bst   |    2 +-
 tests/sourcecache/fetch.py                         |   14 +-
 tests/sourcecache/missing-certs/element.bst        |    2 +-
 .../sourcecache/project}/plugins/sources/patch.py  |   18 +-
 tests/sourcecache/project/project.conf             |    4 +
 tests/sourcecache/push.py                          |   10 +-
 tests/sourcecache/source-checkout.py               |    6 +-
 tests/sourcecache/staging.py                       |    4 +-
 tests/sourcecache/workspace.py                     |    6 +-
 tests/sources/bzr.py                               |   68 --
 tests/sources/bzr/basic/test                       |    1 -
 tests/sources/bzr/project.conf                     |    3 -
 tests/sources/git.py                               | 1145 --------------------
 tests/sources/git/project-override/project.conf    |   12 -
 .../git/project-override/repofiles/file.txt        |    1 -
 .../git/project-override/subrepofiles/ponyfile.txt |    1 -
 .../template/inconsistent-submodule/.gitmodules    |    3 -
 .../git/template/othersubrepofiles/unicornfile.txt |    1 -
 tests/sources/git/template/project.conf            |    3 -
 tests/sources/git/template/repofiles/file.txt      |    1 -
 .../sources/git/template/subrepofiles/ponyfile.txt |    1 -
 tests/sources/no_fetch_cached.py                   |    4 +-
 tests/sources/patch.py                             |  147 ---
 tests/sources/patch/basic/failure-empty-dir.bst    |    5 -
 .../patch/basic/failure-nonexistent-dir.bst        |    6 -
 tests/sources/patch/basic/file.txt                 |    1 -
 tests/sources/patch/basic/file_1.patch             |    7 -
 tests/sources/patch/basic/irregular.bst            |    7 -
 tests/sources/patch/basic/project.conf             |    3 -
 tests/sources/patch/basic/target.bst               |    7 -
 tests/sources/patch/different-strip-level/file.txt |    1 -
 .../patch/different-strip-level/file_1.patch       |    7 -
 .../patch/different-strip-level/project.conf       |    3 -
 .../sources/patch/different-strip-level/target.bst |    8 -
 .../patch/invalid-relative-path/file_1.patch       |    7 -
 .../patch/invalid-relative-path/irregular.bst      |    5 -
 .../patch/invalid-relative-path/project.conf       |    3 -
 tests/sources/patch/multiple-patches/file.txt      |    1 -
 tests/sources/patch/multiple-patches/file_1.patch  |    7 -
 tests/sources/patch/multiple-patches/file_2.patch  |    7 -
 tests/sources/patch/multiple-patches/project.conf  |    3 -
 tests/sources/patch/multiple-patches/target.bst    |    9 -
 .../sources/patch/separate-patch-dir/file_1.patch  |    7 -
 .../separate-patch-dir/files/test-dir/file.txt     |    1 -
 .../sources/patch/separate-patch-dir/project.conf  |    3 -
 tests/sources/patch/separate-patch-dir/target.bst  |    8 -
 tests/sources/pip.py                               |   61 --
 tests/sources/pip/first-source-pip/target.bst      |    6 -
 tests/sources/pip/no-packages/file                 |    1 -
 tests/sources/pip/no-packages/target.bst           |    6 -
 tests/sources/pip/no-ref/file                      |    1 -
 tests/sources/pip/no-ref/target.bst                |    8 -
 tests/sources/remote/missing-file/target.bst       |    2 +-
 tests/sources/remote/no-ref/target.bst             |    2 +-
 tests/sources/tar/no-ref/target.bst                |    2 +-
 tests/testutils/__init__.py                        |    2 +-
 tests/testutils/element_generators.py              |   41 +-
 tests/testutils/junction.py                        |    6 +-
 tests/testutils/repo/bzr.py                        |   47 -
 tests/testutils/site.py                            |   29 +
 tox.ini                                            |    7 +-
 238 files changed, 759 insertions(+), 2969 deletions(-)