| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When we are not recursing, `Element.dependencies()` uses a much more
light weight codepath since it just needs to print the direct
dependencies. However, this simple codepath was not accounting for
duplicates, in case something is both a build time and run time
dependency.
One way this manifested itself was in `bst show --format %{deps}`, but
it would also affect anything that was using this method to iterate on
the dependencies.
Fixes #1308.
|
|\
| |
| |
| |
| | |
CLI: Add support for `--deps build` and `--deps run` in more commands
See merge request BuildStream/buildstream!1904
|
| | |
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
|
| |
This can be quite handy when one is preparing to open a build shell.
This originally came up in
https://gitlab.com/BuildStream/buildstream/-/issues/685#note_105460896.
|
|\
| |
| |
| |
| | |
Improve fault tolerance for plugin defined BST_MIN_VERSION
See merge request BuildStream/buildstream!1928
|
| | |
|
|/
|
|
|
|
|
| |
This was not reporting errors if not given a string, since we
don't only pass strings parsed from project.conf but also pass
plugin defined Plugin.BST_MIN_VERSION definitions, we should
be more fault tolerant here.
|
|\
| |
| |
| |
| | |
_sandboxbuildboxrun.py: Pass --no-logs-capture to buildbox-run
See merge request BuildStream/buildstream!1927
|
|/
|
|
|
|
| |
buildbox-common master no longer forwards stdout/stderr of the action
command by default. The buildbox-run capabilities mechanism is used to
support old and new versions.
|
|\
| |
| |
| |
| |
| |
| | |
Resolve source's config with the element's variable
Closes #1127
See merge request BuildStream/buildstream!1924
|
| |
| |
| |
| |
| | |
This automatically expands the variables from the element into
the sources config
|
|/
|
|
|
|
|
| |
We explicitely ask plugin authors not to do this in our documentation,
we should therefore also not do it unless there is a real need.
For this cases, just pass the default values as class variables.
|
|\
| |
| |
| |
| |
| |
| | |
buildelement: Ensure command-subdir is part of the cache key
Closes #1295
See merge request BuildStream/buildstream!1920
|
| | |
|
|/
|
|
|
|
|
|
|
|
| |
`command-subdir` was previously missing from the cache key. This patch
makes it a part of the cache key _if_ it was specified. It means that
the cache key will not change for elements that had not defined a
`command-subdir`. However, it will change for every element that did
define it.
Fixes #1295.
|
|\
| |
| |
| |
| | |
Always resolve variables in elements
See merge request BuildStream/buildstream!1919
|
| |
| |
| |
| |
| | |
Now that we handle variable transformation more globally, we don't
need the transform value anymore
|
|/
|
|
|
| |
This will allow all users to not have to care about whether the option
is expanded or not, making it easier to use variables everywhere
|
|\
| |
| |
| |
| | |
Add a new helper function to test cache key stability
See merge request BuildStream/buildstream!1915
|
|/
|
|
|
| |
This allows plugin authors to implement cache keys tests
more easily
|
|\
| |
| |
| |
| | |
tests/integration/manual.py: Fix assertion for CLI invocation
See merge request BuildStream/buildstream!1921
|
|/
|
|
|
|
|
| |
The result of `bst artifact checkout` invocation was not correctly
assigned to the result object in a few places. Hence the assertion on
the next line was really testing the same thing as the previous
assertion, i.e. the result of `bst build`.
|
|\
| |
| |
| |
| | |
Update packages requirements
See merge request BuildStream/buildstream!1906
|
| |
| |
| |
| | |
Also fix linting errors coming with new version of pylint
|
|/ |
|
|\
| |
| |
| |
| | |
pip.py: Remove the pip element, it is in experimental
See merge request BuildStream/buildstream!1911
|
|/
|
|
|
| |
The pip element was copied already to bst-plugins-experimental.
We don't need to have two copies of it.
|
|\
| |
| |
| |
| | |
Return names of grpc errors
See merge request BuildStream/buildstream!1916
|
|/ |
|
|\
| |
| |
| |
| | |
element.py: Fix documentation around `node` usage
See merge request BuildStream/buildstream!1905
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
downloadablefilesource.py: Make it publicly accessible
Closes #610
See merge request BuildStream/buildstream!1908
|
|/
|
|
|
| |
This is now part of the BuildStream public API and can be used to
implement new plugins
|
|\
| |
| |
| |
| | |
.gitlab-ci.yml: Move from license-management to license-scanning
See merge request BuildStream/buildstream!1910
|
|/
|
|
|
|
| |
The former is removed in gitlab 13.0. Effective now.
More info at https://docs.gitlab.com/ee/user/compliance/license_compliance/#migration-from-license_management-to-license_scanning
|
|\
| |
| |
| |
| | |
setup.py: Also run pylint on this file
See merge request BuildStream/buildstream!1902
|
| | |
|
|/
|
|
| |
Also fix the various errors in the file
|
|\
| |
| |
| |
| | |
junction.py: Call node.validate_keys() in Plugin.configure()
See merge request BuildStream/buildstream!1899
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
_downloadablefilesource.py: Set user agent
Closes #1285
See merge request BuildStream/buildstream!1897
|
|/
|
|
|
|
|
| |
The default user-agnet for urllib is widely used for many bots and so is
blocked by many servers. Buy using our own then we we are not blocked by
gitlab.com etc and are also able to identify buildstream request to
servers.
|
|\
| |
| |
| |
| |
| |
| | |
Relax buildbox-casd timeout
Closes #1222
See merge request BuildStream/buildstream!1889
|
| |
| |
| |
| | |
for connection
|
|/ |
|
|\
| |
| |
| |
| | |
doc/format_project: Add links related to virtual environments
See merge request BuildStream/buildstream!1896
|
|/
|
|
|
| |
Add links to Python's official virtual environment tutorial and our
BuildStream virtual environment instructions.
|