Commits on Source (33)
-
James Ennis authored
profile_start() and profile_end() calls have been incorporated into Scheduler.run()
-
James Ennis authored
profile_start() and profile_end() calls have been added to Stream.load_selection()
-
James Ennis authored
-
James Ennis authored
Add new 'scheduler' and 'load-selection' profiling topics See merge request !1088
-
Tristan Van Berkom authored
Instead only rely on the headroom to be enough to protect against out of space conditions. The headroom can become configurable as a separate step is required. The changes to achieve this are: * Rename ArtifactCache.has_quota_exceeded() to ArtifactCache.full(). * ArtifactCache.full() now also reports True if the available space on the artifact cache volume is smaller than the headroom. This ensures jobs get triggered to cleanup the cache when reaching the end of the disk. * When loading the artifact quota, it is now only an error if the quota exceeds the overall disk space, not if it does not fit in the available space. It is still a warning if the quota does not fit in the available space on the artifact cache volume. * Updated scheduler.py and buildqueue.py for the API rename * tests: Updated the artifactcache/expiry.py test for its expectations in this regard. Added a new test to test an error when quota was specified to exceed total disk space, and adjusted the existing tests to expect a warning when the quota does not fit in the available space. This fixes issue #733 and #869.
-
Tristan Van Berkom authored
_artifactcache.py: Don't require the quota to be available on disk. Closes #869 and #733 See merge request !1106
-
Previously, one had to manually install `click-man` package, and remember to run the correct command. Now, we can simply run `tox -e man` to update the man pages.
-
Notable changes: * New `source` and `artifact` command groups * Man pages corresponding to obsolete commands, that were marked as hidden in Click, have now been removed. Fixes #881.
-
Simplify our docs, by requesting users to run `tox -e man` to update man pages, instead of manually installing `click-man` and running the command manually.
-
If the `man` directory is empty, then it won't be copied in the source distribution, and `list_man_pages()` will throw an exception when trying to list files in a non-existent directory. This prevents us from installing the BuildStream package when the man pages are not there. The most common use-case for this is when we want to re-generate the man pages but want to install the package before re-generating them.
-
Tristan Van Berkom authored
Generate man pages using tox & update them Closes #880 and #881 See merge request !1107
-
Angelos Evripiotis authored
-
Angelos Evripiotis authored
Now that 'bst track' is obsolete, change guidance to refer to the replacement 'bst source track' instead.
-
Angelos Evripiotis authored
Now that 'bst fetch' is obsolete, change guidance to refer to the replacement 'bst source fetch' instead.
-
Angelos Evripiotis authored
Fixup refs to 'bst track' and 'bst fetch' See merge request !1086
-
Tom Pollard authored
use_artifact_config added as an optional default arg, allowing for loading of given elements artifact remote config.
-
Tom Pollard authored
Provide bst shell --use-buildtree the ability to attempt to acquire missing buildtrees, given respective option, user pull-buildtree context and remote availability. _frontend/cli.py: Refactor logic for determining --use-buildtree option with given opportunity to attempt pulling a non-local buildtree. Element loaded with artifact_config to allow remote querying. _stream.py: With given user option and element state, construct PullQueue to fetch remote buildtree. Continue or Error without buildtree if cannot be attained. tests/integration/build-tree.py: Update to support new usecases
-
Tom Pollard authored
Download buildtrees on demand for bst shell --use-buildtree Closes #829 See merge request !1050
-
Abderrahim Kitouni authored
This is needed since 0f2bc375
-
Abderrahim Kitouni authored
This is needed since 629a6e52, and was lost in the conversion to requirements.in
-
Javier Jardón authored
requirements/requirements.in: update minimum versions Closes #884 See merge request !1114
-
Job can complete before we return from `Job.span()` to `Scheduler._spawn_job()`, so that `_active_jobs` would not yet contain the job. This would print a stack on the console and try to run a second time the job which can have unexpected effects. In order to reproduce the issue, in `buildstream/_scheduler/jobs/job.py`, in `Job.spawn`, add a call to `time.sleep()` right before call to `asyncio.get_child_watcher()`. This fixes issue #857.
-
Jürg Billeter authored
Fix crash when spawned job completes very fast Closes #857 See merge request !1095
-
Fixes #882.
-
Jürg Billeter authored
Fix type of error codes in CAS server Closes #882 See merge request !1099
-
Fixes #873
-
Jürg Billeter authored
Make sure testing cache directory exists Closes #873 See merge request !1092
-
Angelos Evripiotis authored
This is a breaking change, as it affects behaviour that people might be relying on. An entry has been added to NEWS. As proposed on the mailing list, this change removes the unconditional prompts on: o: bst workspace reset o: bst workspace close --remove-dir If interactive, these commands would always interrupt you with a prompt like this: This will remove all your changes, are you sure? This seems like it may just save someone's work some time. It may also condition folks to hit 'y' quickly without thinking. This change also makes the non-interactive behaviour consistent with the interactive behaviour in the default case. There is also the case of the prompt configured by 'really-workspace-close-project-inaccessible', which may be tackled in later work. This change also removes the new config options to suppress those prompts, and their associated news entry. The relevant bit of the mailing list conversation is here: https://mail.gnome.org/archives/buildstream-list/2018-December/msg00106.html The issue to make interactive and non-interactive behaviour consistent is here: #744
-
Angelos Evripiotis authored
BREAK:remove unconditional 'are you sure?' prompts See merge request !1061
-
Dor Askayo authored
Also bump the element's version so cached artifacts would be invalidated. Fixes #883
-
James Ennis authored
filter.py: don't recurse when staging dependencies Closes #883 See merge request !1110
-
James Ennis authored
-
James Ennis authored
Warning to be emitted when an explicitly defined split domain is not found in the list of known, available domains.
Showing
- CONTRIBUTING.rst 2 additions, 7 deletionsCONTRIBUTING.rst
- NEWS 6 additions, 7 deletionsNEWS
- buildstream/_artifactcache.py 42 additions, 19 deletionsbuildstream/_artifactcache.py
- buildstream/_cas/casserver.py 3 additions, 3 deletionsbuildstream/_cas/casserver.py
- buildstream/_context.py 0 additions, 14 deletionsbuildstream/_context.py
- buildstream/_frontend/cli.py 26 additions, 24 deletionsbuildstream/_frontend/cli.py
- buildstream/_gitsourcebase.py 1 addition, 1 deletionbuildstream/_gitsourcebase.py
- buildstream/_loader/loader.py 2 additions, 2 deletionsbuildstream/_loader/loader.py
- buildstream/_pipeline.py 2 additions, 2 deletionsbuildstream/_pipeline.py
- buildstream/_profile.py 4 additions, 0 deletionsbuildstream/_profile.py
- buildstream/_scheduler/queues/buildqueue.py 1 addition, 1 deletionbuildstream/_scheduler/queues/buildqueue.py
- buildstream/_scheduler/scheduler.py 9 additions, 3 deletionsbuildstream/_scheduler/scheduler.py
- buildstream/_stream.py 38 additions, 5 deletionsbuildstream/_stream.py
- buildstream/data/userconfig.yaml 0 additions, 16 deletionsbuildstream/data/userconfig.yaml
- buildstream/element.py 26 additions, 5 deletionsbuildstream/element.py
- buildstream/plugins/elements/filter.py 3 additions, 1 deletionbuildstream/plugins/elements/filter.py
- buildstream/plugins/elements/junction.py 3 additions, 3 deletionsbuildstream/plugins/elements/junction.py
- buildstream/plugins/sources/bzr.py 1 addition, 1 deletionbuildstream/plugins/sources/bzr.py
- buildstream/plugins/sources/deb.py 1 addition, 1 deletionbuildstream/plugins/sources/deb.py
- buildstream/plugins/sources/git.py 1 addition, 1 deletionbuildstream/plugins/sources/git.py