| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| |
| | |
.gitlab-ci.yml: Use gitlab's builtin License Compliance analyzer
See merge request BuildStream/buildstream!1732
|
|/
|
|
| |
See https://docs.gitlab.com/ee/user/application_security/license_compliance/
|
|\
| |
| |
| |
| | |
cascache: refactor, extract CASDProcessManager and CASDConnection
See merge request BuildStream/buildstream!1638
|
| |
| |
| |
| |
| | |
It doesn't seem like we need to call GetCapabilities here, as we're not
querying anything. Remove the call to save some time.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Change _CASCacheUsageMonitor to hold a CASDChannel instead of
it's parent CASCache. This means that when in spawn mode, we don't need
to pickle the CASCache, only the CASDChannel.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Encapsulate the management of a connection to CASD, so we can hide the
details of how it happens. This will make it easier to port to Windows,
as we will have to take a different approach there.
Remove the _LimitedCASDProcessManagerProxy, as CASDChannel does
everything the child jobs will need.
Also make get_local_cas() public, since it is already used outside of
the CASCache class. Make get_cas() public to match.
|
| |
| |
| |
| |
| |
| |
| | |
Elsewhere in cascache, cleaning up is called 'release_resources', so
follow that convention for consistency.
Also fix a case where self.process was not set to None in terminate().
|
|/
|
|
|
|
|
|
|
|
| |
Make it easier to specialize handling of the buildbox-casd process on
Windows, by splitting it into it's own class. This allows us to
encapsulate some decisions, and decreases the complexity of the CASCache
class.
Take some of the complexity out of this file by splitting the
responsibility of managing the process out to another file.
|
|\
| |
| |
| |
| | |
.gitlab-ci.yml: Use Debian10 instead Debian9
See merge request BuildStream/buildstream!1727
|
|/
|
|
| |
Debian 10 is the current stable version
|
|\
| |
| |
| |
| | |
Use fedora31 instead older versions
See merge request BuildStream/buildstream!1728
|
|/
|
|
| |
Fedora 31 is the current release and Fedora 29 is EOL
|
|\
| |
| |
| |
| |
| |
| | |
Simplify the codebase using post-tracking removal simplicity of the pipeline
Closes #1199, #1195, #1194, and #1193
See merge request BuildStream/buildstream!1718
|
| |
| |
| |
| |
| |
| | |
There was some duplicated functionality between `Stream._load()` and
`Stream._load_tracking()`, this is factored out and hopefully makes
the cognitive complexity a bit lower.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These were caused by unhandled errors from plugins when calling
`Source.get_consistency()`. This doesn't really solve the problem,
since that interface is still used un-wrapped elsewhere, but it
enables removing `Element.__schedule_tracking()` and fixes a bug.
Ultimately we'd like to remove `Source.get_consistency()`, so this
isn't too long-term of a problem.
|
| | |
|
| | |
|
| | |
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
.gitlab-ci.yml: Track new version of freedesktop-sdk to fix overnigth test
Closes #1207
See merge request BuildStream/buildstream!1720
|
|/
|
|
|
|
| |
This version tracks correct mesa-aco repo
Fixes #1207
|
|\
| |
| |
| |
| |
| |
| | |
doc/examples/flatpak-autotools: remove references to sdk.gnome.org
Closes #690
See merge request BuildStream/buildstream!1719
|
|/
|
|
| |
download from flathub instead, and update to 1.6 as flathub doesn't include 1.4
|
|\
| |
| |
| |
| |
| |
| | |
Improve help message for workspace soft-reset
Closes #1170
See merge request BuildStream/buildstream!1710
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
Remove update_state
Closes #1054
See merge request BuildStream/buildstream!1660
|
| |
| |
| |
| |
| |
| | |
Just as with the previous commit, inspired by our code quality
linter. Poor practice from the previous function probably snuck in
here too.
|
| |
| |
| |
| |
| | |
This is on suggestion of our code quality linter - it should make
understanding the pre-requisites of the function simpler.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
This was previously used to handle unstable cache keys, but has been
obsoleted by @traveltissues' recent improvements.
|
|/
|
|
|
|
| |
Move the logic that decides whether we can schedule an element for
assembly *into* this function. This makes it a fair bit easier to
grok, and reduces the complexity of `_update_state()`.
|
|\
| |
| |
| |
| | |
plugins/sources/deb: Re-enable import check for arpy
See merge request BuildStream/buildstream!1714
|
|/
|
|
|
|
|
|
|
| |
In the olden days on linting BuildStream, we did not had plugin
dependencies installed in the environment. Now that we run these things
via tox, we have all the dependencies (including plugin dependencies) in
the virtual environment that tox uses to run the commands.
So remove the disabling of import errors for `arpy` module.
|
|\
| |
| |
| |
| | |
cascache.py: Use a shebang that won't fail on /bin/bash-less systems
See merge request BuildStream/buildstream!1712
|
|/
|
|
|
|
| |
`#!/usr/bin/env bash` should generally be used instead to avoid
breaking on systems that do not *have* a `/bin/bash`. This is just a
test, but rather annoying on my machine.
|
|\
| |
| |
| |
| | |
_stream: Force workspace removal
See merge request BuildStream/buildstream!1709
|
|/ |
|
|\
| |
| |
| |
| | |
Use Black to format code
See merge request BuildStream/buildstream!1703
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add `doc/source/conf.py` to the filelist for Black and Pylint.
Previously this file was not covered by any of the linters, so this
patch includes one-off sweeping changes for the formatting.
To make pylint happy, we had to disable a warning about defining a
variable called `copyright` since that's a built-in. It's unlikely that
we will ever need the built-in `copyright()` in this module, so it seems
safe to disable it.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Now that code formatting is managed by Black, and we don't need to run
`pycodestyle` separately, remove corresponding mentions from hacking
documentation.
Add documentation on how to run Black.
Move out linting and formatting into a separate section for better
readability.
|