Commits on Source (30)
-
Qinusty authored
The SKIPPED message type is now used to indicate the end of a task which was successful without having to perform the given task. This overhauls the use of `Queue.done()` and therefore queues do not need to provide a processed/skipped return value from `done()`. Instead this is replaced with the action of raising a `SkipJob` exception from within `Queue.process()`.
-
Qinusty authored
Adds a test to ensure that BuildStream alerts the user of a skipped push when the remote already has the artifact cached.
-
Qinusty authored
This removes the timed_activity for an element _push action. This is unnecessary as the job is already being timed elsewhere.
-
Qinusty authored
Pulled/Pushed messages will no longer be produced from within element.py, instead they will be produced during CasCache push() and pull() appropriately. Message consistency has also been improved.
-
Qinusty authored
Both pulling and pushing INFO messages are now status messages. Calls to the messaging API through `self.context.message()` have now been switched to `element.info`.
-
This actually improves reliability of the status bar because we now disable it completely in the case that not all of the terminal escape sequences are supported on the given terminal. This replaces the few functions we were using, to move the cursor up one line, move it to the beginning of the line, and to clear a line, with low level functions provided by the curses module in the standard library. This change makes it easier for downstream distro package maintainers to package BuildStream, particularly on Fedora. Asides from changing _frontend/status.py, this commit includes the following changes: * _frontend/app.py: Use python isatty() function to determine if we are connected to a tty, instead of relying on blessings. * setup.py: Remove the dependency on blessings.
-
Tristan Van Berkom authored
_frontend/status.py: Completely remove the blessings dependency from BuildStream See merge request !808
-
Adam Jones authored
-
Javier Jardón authored
Fix rst link formatting for guideline links See merge request !811
-
Tristan Van Berkom authored
This fixes an issue where the re-instantiated Source used with Source mirroring enabled is not completely initialized. Failing to load the ref from the project.refs file for instance, will result in a crash at `fetch` time. This fixes issue #666
-
Tristan Van Berkom authored
source.py: Fix re-instantiation Closes #666 See merge request !817
-
Jim MacArthur authored
The check for directory should have always been here. The early warning test doesn't work for `bst checkout` because caches haven't been configured at the point of the test, so I've had to remove it.
-
Jim MacArthur authored
The return value is always upload_vdir.ref.
-
Jim MacArthur authored
Also add docstring to method and remove return value since it was useless
-
Jim MacArthur authored
-
Jim MacArthur authored
Remote exec: Remove early warning and check directory is not None See merge request !800
-
Currently, `source-bundle` command is entirely broken as it tries to stage the sources in a directory that doesn't exist. Fix it by ensuring that we create the necessary directories before calling any methods that try to use those directories. This fix comes with a regression test to ensure that the basic use-case of `source-bundle` continues to work in future. Fixes #651.
-
Chandan Singh authored
Fix source-bundle command Closes #651 See merge request !807
-
-
Chandan Singh authored
setup.py: Make website the primary homepage See merge request !795
-
knownexus authored
This has been moved from app.py As it will have different functionality depending on platform Once the Darwin (MacOS) platform is added Removed `resource.setrlimit()` functionality from app.py Added `resource.setrlimit()` functionality to platform.py as function
-
knownexus authored
_platform/linux.py: Add FUSE check Without this check, WSL would error upon finding FUSE missing This must be bypassed to allow remote execution
-
knownexus authored
This is due to Darwin (MacOS) having a different Max-Jobs limit _platform/platform.py: Adding max-jobs call _project.py: redirected 'max-jobs' to point at the platform
-
knownexus authored
This was done so a default exists, but allows platforms to override as needed _platform/platform.py: Added CAS call function _platform/linux.py: Added override to CAS call _platform/unix.py: Remove CAS call
-
knownexus authored
This is to allow platforms that do not support sandboxing To error is a controlled/known way
-
knownexus authored
Adding functionality to recognise Darwin as a platform in plaform.py
-
knownexus authored
non-Linux platforms don't return EISDIR when attempting to unlink a directory Stopped safe_remove attempting to unlink dirs Previously safe_remove would attempt to unlink a path Before attempting to remove it if it was a dir Now it checks for a dir before that step
-
James Ennis authored
- This patch was required due to not being able to execute `bst` on a Linux machine without Fuse or Bubblewrap available
-
James Ennis authored
Showing
- CONTRIBUTING.rst 2 additions, 3 deletionsCONTRIBUTING.rst
- buildstream/_artifactcache/cascache.py 23 additions, 17 deletionsbuildstream/_artifactcache/cascache.py
- buildstream/_exceptions.py 9 additions, 0 deletionsbuildstream/_exceptions.py
- buildstream/_frontend/app.py 1 addition, 10 deletionsbuildstream/_frontend/app.py
- buildstream/_frontend/status.py 76 additions, 6 deletionsbuildstream/_frontend/status.py
- buildstream/_platform/darwin.py 50 additions, 0 deletionsbuildstream/_platform/darwin.py
- buildstream/_platform/linux.py 28 additions, 10 deletionsbuildstream/_platform/linux.py
- buildstream/_platform/platform.py 30 additions, 4 deletionsbuildstream/_platform/platform.py
- buildstream/_platform/unix.py 1 addition, 2 deletionsbuildstream/_platform/unix.py
- buildstream/_project.py 3 additions, 1 deletionbuildstream/_project.py
- buildstream/_scheduler/jobs/job.py 25 additions, 5 deletionsbuildstream/_scheduler/jobs/job.py
- buildstream/_scheduler/queues/buildqueue.py 1 addition, 2 deletionsbuildstream/_scheduler/queues/buildqueue.py
- buildstream/_scheduler/queues/fetchqueue.py 1 addition, 3 deletionsbuildstream/_scheduler/queues/fetchqueue.py
- buildstream/_scheduler/queues/pullqueue.py 3 additions, 5 deletionsbuildstream/_scheduler/queues/pullqueue.py
- buildstream/_scheduler/queues/pushqueue.py 3 additions, 11 deletionsbuildstream/_scheduler/queues/pushqueue.py
- buildstream/_scheduler/queues/queue.py 2 additions, 7 deletionsbuildstream/_scheduler/queues/queue.py
- buildstream/_scheduler/queues/trackqueue.py 2 additions, 9 deletionsbuildstream/_scheduler/queues/trackqueue.py
- buildstream/_stream.py 2 additions, 0 deletionsbuildstream/_stream.py
- buildstream/element.py 10 additions, 18 deletionsbuildstream/element.py
- buildstream/sandbox/__init__.py 1 addition, 2 deletionsbuildstream/sandbox/__init__.py
buildstream/_platform/darwin.py
0 → 100644