| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Not needed now that capabilities service is used.
Part of #915
|
|
|
|
|
|
|
|
| |
This is used in the remote initialisation to check that artifact service
is supported. This should allow us to seperate the endpoints of
different services more easily in future.
Part of #915
|
|
|
|
| |
Part of #915
|
|
|
|
| |
Part of #915
|
|
|
|
| |
Part of #915
|
|\
| |
| |
| |
| |
| |
| | |
README.rst: Fix path for badge images
Closes #1056
See merge request BuildStream/buildstream!1422
|
|/
|
|
|
|
|
|
|
|
|
| |
These badges are not committed to `bst-1.2` branch and hence are not
available on docs.buildstream.build website.
As it was mentioned in the issue comments, the correct place to obtain
these badges is always from the `master` branch, which is what the
buildstream.gitlab.io/buildstream website corresponds to.
Fixes #1056.
|
|\
| |
| |
| |
| | |
.gitignore: Fix path of .egg-info
See merge request BuildStream/buildstream!1420
|
|/
|
|
|
|
| |
.egg-info directory is created next to setup.py and not inside the src
directory, so restore its original path. This line was incorrectly
modified as part of !1322.
|
|\
| |
| |
| |
| | |
Do not leak subproject remotes
See merge request BuildStream/buildstream!1416
|
| |
| |
| |
| |
| |
| | |
project_overrides and project_extra_specs were moved in 24c0de16.
However, their removal was accidentally reverted in f4dbce44.
This patch removes the unnecessary code.
|
| |
| |
| |
| |
| | |
Assert that junction elements are pushed to a parent project's
cache. This is the current default behaviour in BuildStream.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Make a copy of the global list rather than using the global
list.
This was originally addressed by:
e1420437a2d82af099bdb3d273823effbea35ce4
and then again by 1ee4a4ba3a91e27515967d5e2daaedf664f10c78.
|
| | |
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
.gitignore: Remove redundant pycache entries
See merge request BuildStream/buildstream!1421
|
|/
|
|
|
| |
Python 3 only ever creates .pyc files inside the __pycache__ directory
so ignoring just __pycache__ directory is sufficient.
|
|\
| |
| |
| |
| | |
_yaml: Remove useless calls to '_yaml.node_sanitize'
See merge request BuildStream/buildstream!1412
|
|/
|
|
|
|
| |
Calling '_yaml.dump' will itself call '_yaml.node_sanitize', therefore
we can remove all calls to it in places where we directly after call
dump.
|
|\
| |
| |
| |
| | |
Improve subproject fetching
See merge request BuildStream/buildstream!1414
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
This is in preparation for moving subproject fetching to the Stream
class. Project loading may require subproject fetching as part of
processing include directives.
|
|/
|
|
|
|
| |
Treat junction element sources the same as sources of any other element
and always fetch subprojects as needed. Do not ask the user to manually
fetch subprojects.
|
|\
| |
| |
| |
| | |
Notify direct reverse dependencies when an Element becomes ready for runtime and cached
See merge request BuildStream/buildstream!1406
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
An Element becomes ready for runtime and cached when:
1. It has a strong cache key
2. It is cached
3. Its runtime dependencies are ready for runtime and cached
(this ensures the runtimes of runtimes are also cached).
This patch introduces the method attempt_to_notify_reverse_dependencies
which will notify all direct reverse dependencies of an Element once
said Element becomes ready for runtime and cached.
|
| | |
|
|/
|
|
|
| |
Each other callback callsite immediately sets the callback to None
once invoked. We should be consistent.
|
|\
| |
| |
| |
| |
| |
| | |
CLI options for on demand blob fetching
Closes #1044
See merge request BuildStream/buildstream!1400
|
| |
| |
| |
| | |
Part of #1044
|
| |
| |
| |
| | |
Part of #1044
|
| |
| |
| |
| |
| |
| | |
This will fetch artifacts if they're not local or are incomplete.
Part of #1044
|
| |
| |
| |
| |
| |
| |
| |
| | |
One test to check that artifacts are pulled and a checkout is successful
when the --pull option is specified. Another to check that it attempts
to pull but fails gracefully if the artifact isn't present.
Part of #1044
|
| |
| |
| |
| |
| |
| |
| | |
This will set up a pull queue and pull relevant artifacts if not present
or incomplete.
Part of #1044
|
| |
| |
| |
| | |
Add test that ensures method is actually covered now and it works.
|
|/
|
|
|
|
|
| |
This never will have worked because digests aren't hashable, and this
method wasn't being covered in any tests. Also changed
`remote_missing_blobs` to ensure the blobs list is an iterator and
updated its docs.
|
|
|
|
| |
Fixes #1046
|
|\
| |
| |
| |
| | |
_frontend/cli.py: Tweak 'try' & 'always' bst shell buildtree handling
See merge request BuildStream/buildstream!1392
|
|/
|
|
|
|
|
|
|
|
|
| |
If the cached Artifact wasn't originally generated with a buildtree,
then there's no need to attempt to find it in remotes by entering
Stream(). In interactive mode we only present the user the option to
attempt the pull with the above assumption on buildtree_exists, so
apply the same to applicable non interactive choices.
This also includes some tweaks in integration/shellbuildtrees.py
to reflect changes and cover cases that were missing.
|
|\
| |
| |
| |
| | |
Guard against gRPC channels in the main process
See merge request BuildStream/buildstream!1405
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
jobs/job: send ChildJob the context, not scheduler
See merge request BuildStream/buildstream!1407
|
|/
|
|
|
|
|
| |
Instead of passing the whole scheduler to the ChildJob, only pass the
part that is used - the context. Reducing the amount of shared state
makes it easier to follow what's going on, and will make it more
economical to move to away from the 'fork' model later.
|
|\
| |
| |
| |
| | |
enable PyLint "arguments-differ" error, and fixup complaints
See merge request BuildStream/buildstream!1390
|
| |
| |
| |
| |
| |
| | |
Don't return, instead of returning 'the result' of os.unlink - it also
doesn't return anything (and neither does the semantically identical
os.remove).
|
| | |
|
| |
| |
| |
| |
| | |
Ignore the warning for `_init_project_interactive`, as we really don't
care what the arguments are.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Update OptionEnum and OptionFlags to match the Option base-class.
Introduce 'load_special' to allow explicit usage of extended
functionality, which wouldn't necessarily be supported by different
subclasses.
By making the signatures of overridden methods deliberately match, we
can use PyLint to ensure the signatures don't accidentally differ.
Also replace `super(cls, self)` with the equivalent and less error-prone
`super()`, wherever we've touched it. In separate work we may want to
replace this across the project.
We must introduce __init__() functions for OptionEnum and OptionFlags to
get a clean pass from PyLint. It seems that it's unable to see that
load_special() is also transitively called from __init__().
|