Commits on Source (35)
-
Jim MacArthur authored
-
Jim MacArthur authored
Avoid hanging artifact cache tests See merge request !964
-
Jürg Billeter authored
-
Jürg Billeter authored
-
Jürg Billeter authored
This eliminates unneeded copies of the project directory for junctions with a single local source.
-
Jürg Billeter authored
Optimization for local junctions See merge request !290
-
Jürg Billeter authored
-
Jürg Billeter authored
-
Jürg Billeter authored
This improves readability.
-
Jürg Billeter authored
-
Jürg Billeter authored
-
Jürg Billeter authored
This adds the batch() context manager.
-
Jürg Billeter authored
This allows the sandbox to output messages using the plugin id.
-
Jürg Billeter authored
-
Jürg Billeter authored
-
Jürg Billeter authored
-
Jürg Billeter authored
This allows batching of all sandbox commands aross prepare() and assemble().
-
Jürg Billeter authored
-
Jürg Billeter authored
-
Jürg Billeter authored
-
Jürg Billeter authored
Execute batched commands in a single shell script.
-
Jürg Billeter authored
-
Jürg Billeter authored
Command batching Closes #675 See merge request !915
-
Jonathan Maw authored
i.e. with a given directory and filename, check parent directories until either a directory with the filename is found, or you reach the root of the filesystem.
-
Jonathan Maw authored
WorkspaceProject contains all the information needed to refer back to a project from its workspace (currently this is the project path and the element used to create this workspace) This is stored within a WorkspaceProjectCache object, which keeps WorkspaceProjects around so they don't need to be loaded from disk repeatedly.
-
Jonathan Maw authored
-
Jonathan Maw authored
-
Jonathan Maw authored
Searching for the workspace file is preferred to searching for the project file for the moment, because it avoids the circumstance of the workspaces being inside a directory where a higher-level directory may have project.conf (but may not be a buildstream project). This will benefit from being revisited when support for multiple projects owning a workspace is supported - if we're inside a project and running commands in a workspace that refers to multiple projects, we want the one we're inside, not whichever added it first.
-
Jonathan Maw authored
-
Jonathan Maw authored
-
Jonathan Maw authored
-
Jonathan Maw authored
-
Jonathan Maw authored
cli: Interactively warn if the user is trying to close the workspace they're using to load the project This involves changes in: * _stream.py: * Add the helper Stream.workspace_is_required() * userconfig.yaml: * Add a default value for prompt.really-workspace-close-project-inaccessible * _context.py: * Load the prompt 'really-workspace-close-project-inaccessible' from user config. * cli.py: * If buildstream is invoked interactively, prompt the user to confirm that they want to close the workspace they're using to load this project.
-
Jonathan Maw authored
-
Jonathan Maw authored
Showing
- NEWS 6 additions, 0 deletionsNEWS
- buildstream/__init__.py 1 addition, 1 deletionbuildstream/__init__.py
- buildstream/_context.py 19 additions, 1 deletionbuildstream/_context.py
- buildstream/_frontend/cli.py 10 additions, 12 deletionsbuildstream/_frontend/cli.py
- buildstream/_loader/loader.py 11 additions, 5 deletionsbuildstream/_loader/loader.py
- buildstream/_project.py 28 additions, 11 deletionsbuildstream/_project.py
- buildstream/_stream.py 35 additions, 1 deletionbuildstream/_stream.py
- buildstream/_workspaces.py 211 additions, 1 deletionbuildstream/_workspaces.py
- buildstream/buildelement.py 11 additions, 12 deletionsbuildstream/buildelement.py
- buildstream/data/userconfig.yaml 8 additions, 0 deletionsbuildstream/data/userconfig.yaml
- buildstream/element.py 64 additions, 16 deletionsbuildstream/element.py
- buildstream/plugins/elements/compose.py 3 additions, 2 deletionsbuildstream/plugins/elements/compose.py
- buildstream/plugins/sources/local.py 3 additions, 0 deletionsbuildstream/plugins/sources/local.py
- buildstream/sandbox/__init__.py 1 addition, 1 deletionbuildstream/sandbox/__init__.py
- buildstream/sandbox/_sandboxbwrap.py 1 addition, 11 deletionsbuildstream/sandbox/_sandboxbwrap.py
- buildstream/sandbox/_sandboxchroot.py 1 addition, 11 deletionsbuildstream/sandbox/_sandboxchroot.py
- buildstream/sandbox/_sandboxdummy.py 1 addition, 11 deletionsbuildstream/sandbox/_sandboxdummy.py
- buildstream/sandbox/_sandboxremote.py 70 additions, 12 deletionsbuildstream/sandbox/_sandboxremote.py
- buildstream/sandbox/sandbox.py 286 additions, 4 deletionsbuildstream/sandbox/sandbox.py
- buildstream/scriptelement.py 30 additions, 26 deletionsbuildstream/scriptelement.py