| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|/
|
|
|
| |
i.e. there are now __update_cache_keys(), __update_artifact_state()
__reset_cache_data() and __update_cache_key_non_strict() methods.
|
|\
| |
| |
| |
| |
| |
| | |
Artifact as a Proto: rework
Closes #974
See merge request BuildStream/buildstream!1292
|
| |
| |
| |
| |
| |
| |
| | |
If an element is cached without a buildtree it not longer entails
that it may be possible to pull a buildtree for it, if it wasn't
cached with one at creation. Query _buildtree_exists() to reduce
possible redudant pull attempts.
|
| |
| |
| |
| | |
This method is no longer used and as such can be removed.
|
| | |
|
| |
| |
| |
| | |
This private method is no longer used and as such can be removed.
|
| |
| |
| |
| |
| |
| |
| | |
With artifact as a proto, it doesn't make sense to do it this way, bits
of code can be removed.
Part of #974
|
| |
| |
| |
| |
| |
| |
| |
| | |
This will replace the previous use of a directory structure.
Quite a lot is changed here, predominantly _artifact and _artifactcache
modules.
Part of #974
|
| |
| |
| |
| |
| |
| | |
By extracting the functionality from the Element() it allows
the removal of code duplication for artifact assertion in
ArtifactShare(), via a new get_artifact_name() method in Cli().
|
| |
| |
| |
| | |
Part of #974
|
| |
| |
| |
| | |
Part of #974
|
| |
| |
| |
| |
| | |
A few variables were naming artifactcache variables cas, which was
confusing. Changed this and comments to clarify this.
|
|/
|
|
|
|
| |
This will be used to store artifact protos.
Part of #974
|
|\
| |
| |
| |
| |
| |
| | |
Pip elem install from pip source
Closes #589
See merge request BuildStream/buildstream!1336
|
| |
| |
| |
| |
| | |
Previous test tested both package and requirements.txt dependency
features in a single test. Now features are independently tested.
|
| |
| |
| |
| |
| |
| | |
In refrence to https://gitlab.com/BuildStream/buildstream/issues/589.
`pip.yaml` now installs pip packages from `/.bst_pip_downloads` if
the directory exists.
|
|/
|
|
|
|
| |
In order to ensure that pip_source is pulling transitive dependencies,
adapted python_repo to use `install_reqiures` in its default setup
script.
|
|\
| |
| |
| |
| | |
requirements: Do not require PyGObject
See merge request BuildStream/buildstream!1343
|
|/
|
|
|
| |
Since !1341 got merged, we do not depend on `PyGObject`. The only thing
that needed it was OSTree so this can be safely removed now.
|
|\
| |
| |
| |
| |
| |
| | |
Remove OSTree plugin; It lives now in the bst-plugins-experimental repo
Closes #977
See merge request BuildStream/buildstream!1341
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
Add BST_REQUIRES_PREVIOUS_SOURCE_STAGE option
Closes #982
See merge request BuildStream/buildstream!1319
|
| |
| |
| |
| |
| |
| | |
Tests that sources are cached seperately where appropriate.
Part of #982
|
|/
|
|
|
|
|
| |
This is an element option that allows sources to be staged more
seperately where possible rather than on a per element option.
Part of #982
|
|\
| |
| |
| |
| |
| |
| | |
Ensure previous sources refs are updated during track
Closes #1010
See merge request BuildStream/buildstream!1330
|
|/
|
|
|
|
|
|
|
|
|
|
| |
Updates the refs in the job process (but doesn't write), to ensure
following sources can see consistency of previous sourcse has been
updated. `_save_ref` is renamed `_set_ref` with writing to file now
optional.
This also changes the previous_source_access test to use a remote, so
that it actually tests this cornercase.
Fixes #1010
|
|\
| |
| |
| |
| | |
jobs/job.py: refactor, rm redundant _retry_flag
See merge request BuildStream/buildstream!1335
|
|/
|
|
|
| |
This member variable is always assigned right before it's tested, so it
doesn't need to persist in the object.
|
|\
| |
| |
| |
| |
| |
| | |
Fix build track all no strict
Closes #1014
See merge request BuildStream/buildstream!1332
|
| |
| |
| |
| |
| |
| | |
actually build
This is a regression test for issue #1014
|
| |
| |
| |
| |
| | |
This adds a check to test_build_track() to ensure that the target
is cached as a result of building with tracking of selected elements.
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
When calculating the strict key, we do not know for sure yet that the
element is required or whether it will ever have a cache key, as
we could be tracking elements which will result in resolving an
element which is a build-only dependency of the target.
This ensures that we process all elements which need to be processed,
which is important for cases where we are building in non-strict mode
and tracking is also enabled.
This fixes issue #1014
|
|\
| |
| |
| |
| |
| |
| | |
Fix no strict junctions
Closes #1018
See merge request BuildStream/buildstream!1333
|
| |
| |
| |
| |
| |
| | |
non-strict mode
This is a regression test for #1018
|
|/
|
|
|
|
|
|
|
|
|
|
| |
Recent code changes has avoided resolving cache keys in some conditions,
which causes loading to break when attempting to stage junctions in non-strict
mode.
Instead of calling Element._update_state() here to resolve the
cache key, setting it to be required causes it to automatically
have it's cache key resolved, solving the problem.
This change fixes #1018
|
|\
| |
| |
| |
| |
| |
| | |
element.py: Reset workspace state if last successful build is missing.
Closes #1017
See merge request BuildStream/buildstream!1328
|
| |
| |
| |
| |
| |
| | |
artifacts are deleted
This is a regression test for #1017
|
| |
| |
| |
| |
| |
| |
| | |
The artifact directories are based on the element normal_name, which
substitutes any path separators with dashes.
Fix the helper function to use the correct path.
|
|/
|
|
|
|
|
|
| |
If the artifact referred to by the last successful build in the
workspace state no longer exists, reset the workspace state and
do not attempt to perform an incremental build instead of crashing.
This fixes #1017
|
|\
| |
| |
| |
| | |
tox.ini: do not hardcode sphinx version
See merge request BuildStream/buildstream!1306
|
|/
|
|
|
| |
This is not needed anymore since
431e578bf1b80074bd0f0ca8559e998dad59d4c0
|
|\
| |
| |
| |
| | |
.gitlab-ci.yml: Add Fedora 30 and remove deprecated Fedora 28
See merge request BuildStream/buildstream!1320
|
|/ |
|
|\
| |
| |
| |
| | |
_yaml.py, source.py: Fix tracking of refs inside conditions
See merge request BuildStream/buildstream!1324
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously if you had a source of the form:
```yaml
- (?):
somecondition:
url: blah
ref: foo
othercondition:
url: blah
ref: bar
```
And you did `bst source track` on the element then you'd get something
output of the form:
```yaml
- (?)...
...
ref: wibble
```
With this patch, the *correct* ref inside the conditionals is updated
instead.
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
|
|\
| |
| |
| |
| |
| |
| | |
_artifactcache.py: display the actual key being pulled
Closes #981
See merge request BuildStream/buildstream!1304
|
|/
|
|
| |
Fixes #981
|
|\
| |
| |
| |
| | |
_yaml.py: remove duplicated check
See merge request BuildStream/buildstream!1318
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
Fix cloned plugin ids
Closes #1012
See merge request BuildStream/buildstream!1316
|