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:31 UTC

[buildstream] branch master updated (d0ee47f5a -> f122efc99)

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

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


    from d0ee47f5a .asf.yaml: Whitespace commit, trying to trigger docs builds
     add 094e47442 doc/source/porting_project.rst: Correcting example of junction plugin in porting guide
     add 469d26934 _testing/_cachekeys.py: Fix references to buildstream._testing
     add bbb8eb3ed tests/conftest.py: Remove bzr from automated source tests
     add 2b80c50bc tests/sources/bzr.py: Removing bzr specific tests
     add 4c22eda96 tests/cachekey: Removing bzr from cachekey tests
     add b50cf3aa7 plugins/sources/bzr.py: Removing bzr source
     add e1044bee2 tests/sources/pip.py: Removing pip source test
     add 416d7a095 tests/integration/pip_source.py: Removing pip source integration test
     add 27b1d5703 tests/cachekey: Removing pip source from cachekey test
     add de47dea59 plugins/sources/pip.py: Removing pip source
     add 0c6e92667 tests/sources/patch.py: Removing patch source tests
     add 24ee1c7ff tests/cachekey: Removing patch source from cache key tests
     add a81dcba81 tests/sourcecache/project: Adding patch source to the project so tests pass
     add 0497b380e plugins/sources/patch.py: Removing patch source
     add 4831be073 tests: Use tar for testing in place of git wherever possible
     add 6db057861 tests/testutils/site.py: Move the pip_sample_plugins() check to a common site.py
     add 91aee3e95 tests/plugins/sample-plugins: Adding git source to sample plugins
     add 863383d36 tests/frontend/track.py: port tests to use internal git source
     add c79476749 tests/frontend/mirror.py: Use internal git source for these tests
     add dbddc2671 tests/sources/git.py: Remove git source tests
     add b1476f172 tests/conftest.py: Remove git from generic source tests
     add f66e31028 tests/cachekey: Removing git source from cache key tests
     add 45958df5b plugins/sources/git.py: Removing git source
     add a0b20edd8 tests: Using manual elements instead of autotools elements where possible
     add d3ad49485 tests/plugins/sample-plugins: Adding autotools plugin for local use
     add 1fbdbdb4c tests/format/variables.py: Use internal autotools plugin to test variable compositing
     add 74f10db52 tests/format/projectoverrides.py: Use internal autotools plugin to test the overrides
     add 3441c986b tests/integration: Use internal autotools element for autotools builds
     add 83ecba413 tests/remotecache/simple.py: Use internal autotools element for the build
     add 34e2c73af tests/remoteexecution: Use internal autotools element for remote execution tests
     add dbb2d3a3b tox.ini, doc/examples: Use autotools element from buildstream-plugins
     add 8de11af25 src/buildstream/plugins: Removing autotools element
     add 33d34ae27 tox.ini: Use version of bst-plugins-experimental which doesn't try to test upstream git
     new f122efc99 Merge pull request #1636 from apache/tristan/remove-plugins

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 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 +-
 .../plugins/sample-plugins}/MANIFEST.in            |    0
 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, 758 insertions(+), 2969 deletions(-)
 delete mode 100644 src/buildstream/plugins/sources/bzr.py
 delete mode 100644 src/buildstream/plugins/sources/git.py
 delete mode 100644 src/buildstream/plugins/sources/pip.py
 delete mode 100644 tests/cachekey/project/sources/bzr1.bst
 delete mode 100644 tests/cachekey/project/sources/bzr1.expected
 delete mode 100644 tests/cachekey/project/sources/git1.bst
 delete mode 100644 tests/cachekey/project/sources/git1.expected
 delete mode 100644 tests/cachekey/project/sources/git2.bst
 delete mode 100644 tests/cachekey/project/sources/git2.expected
 delete mode 100644 tests/cachekey/project/sources/git3.bst
 delete mode 100644 tests/cachekey/project/sources/git3.expected
 delete mode 100644 tests/cachekey/project/sources/patch1.bst
 delete mode 100644 tests/cachekey/project/sources/patch1.expected
 delete mode 100644 tests/cachekey/project/sources/patch2.bst
 delete mode 100644 tests/cachekey/project/sources/patch2.expected
 delete mode 100644 tests/cachekey/project/sources/patch3.bst
 delete mode 100644 tests/cachekey/project/sources/patch3.expected
 delete mode 100644 tests/cachekey/project/sources/pip1.bst
 delete mode 100644 tests/cachekey/project/sources/pip1.expected
 delete mode 100644 tests/integration/pip_source.py
 delete mode 100644 tests/integration/project/files/pip-source/app1.py
 delete mode 100644 tests/integration/project/files/pip-source/myreqs.txt
 copy {doc/source/sample_plugin => tests/plugins/sample-plugins}/MANIFEST.in (100%)
 rename {src/buildstream/plugins => tests/plugins/sample-plugins/src/sample_plugins}/elements/autotools.py (90%)
 rename {src/buildstream/plugins => tests/plugins/sample-plugins/src/sample_plugins}/elements/autotools.yaml (100%)
 rename src/buildstream/_gitsourcebase.py => tests/plugins/sample-plugins/src/sample_plugins/sources/git.py (77%)
 rename {src/buildstream => tests/sourcecache/project}/plugins/sources/patch.py (84%)
 delete mode 100644 tests/sources/bzr.py
 delete mode 100644 tests/sources/bzr/basic/test
 delete mode 100644 tests/sources/bzr/project.conf
 delete mode 100644 tests/sources/git.py
 delete mode 100644 tests/sources/git/project-override/project.conf
 delete mode 100644 tests/sources/git/project-override/repofiles/file.txt
 delete mode 100644 tests/sources/git/project-override/subrepofiles/ponyfile.txt
 delete mode 100644 tests/sources/git/template/inconsistent-submodule/.gitmodules
 delete mode 100644 tests/sources/git/template/othersubrepofiles/unicornfile.txt
 delete mode 100644 tests/sources/git/template/project.conf
 delete mode 100644 tests/sources/git/template/repofiles/file.txt
 delete mode 100644 tests/sources/git/template/subrepofiles/ponyfile.txt
 delete mode 100644 tests/sources/patch.py
 delete mode 100644 tests/sources/patch/basic/failure-empty-dir.bst
 delete mode 100644 tests/sources/patch/basic/failure-nonexistent-dir.bst
 delete mode 100644 tests/sources/patch/basic/file.txt
 delete mode 100644 tests/sources/patch/basic/file_1.patch
 delete mode 100644 tests/sources/patch/basic/irregular.bst
 delete mode 100644 tests/sources/patch/basic/project.conf
 delete mode 100644 tests/sources/patch/basic/target.bst
 delete mode 100644 tests/sources/patch/different-strip-level/file.txt
 delete mode 100644 tests/sources/patch/different-strip-level/file_1.patch
 delete mode 100644 tests/sources/patch/different-strip-level/project.conf
 delete mode 100644 tests/sources/patch/different-strip-level/target.bst
 delete mode 100644 tests/sources/patch/invalid-relative-path/file_1.patch
 delete mode 100644 tests/sources/patch/invalid-relative-path/irregular.bst
 delete mode 100644 tests/sources/patch/invalid-relative-path/project.conf
 delete mode 100644 tests/sources/patch/multiple-patches/file.txt
 delete mode 100644 tests/sources/patch/multiple-patches/file_1.patch
 delete mode 100644 tests/sources/patch/multiple-patches/file_2.patch
 delete mode 100644 tests/sources/patch/multiple-patches/project.conf
 delete mode 100644 tests/sources/patch/multiple-patches/target.bst
 delete mode 100644 tests/sources/patch/separate-patch-dir/file_1.patch
 delete mode 100644 tests/sources/patch/separate-patch-dir/files/test-dir/file.txt
 delete mode 100644 tests/sources/patch/separate-patch-dir/project.conf
 delete mode 100644 tests/sources/patch/separate-patch-dir/target.bst
 delete mode 100644 tests/sources/pip.py
 delete mode 100644 tests/sources/pip/first-source-pip/target.bst
 delete mode 100644 tests/sources/pip/no-packages/file
 delete mode 100644 tests/sources/pip/no-packages/target.bst
 delete mode 100644 tests/sources/pip/no-ref/file
 delete mode 100644 tests/sources/pip/no-ref/target.bst
 delete mode 100644 tests/testutils/repo/bzr.py
 create mode 100644 tests/testutils/site.py


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

Posted by tv...@apache.org.
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(-)