Commits on Source (36)
-
Javier Jardón authored
They are too specific to be included by default Recommendation is if you are building in Linux is to use the ones begin used in the freedesktop-sdk project, for example See #645
-
Javier Jardón authored
-
Javier Jardón authored
-
Javier Jardón authored
Remove default strip-commands Closes #645 See merge request !987
-
Valentin David authored
When using aliases there are multiple remotes used in the cache repository. When fetching, tags are not updated if the were previously fetched from a different remote. Commits that not in a branch and only tagged do not get fetched if the tag is not fetched. Fixes #812
-
Valentin David authored
Force updating tags when fetching git repository Closes #812 See merge request !1000
-
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. This is a part of #222
-
Jonathan Maw authored
Changes to _context.py: * Context has been extended to contain a WorkspaceProjectCache, as there are times when we want to use it before a Workspaces can be initialised (looking up a WorkspaceProject to find the directory that the project is in) Changes to _stream.py: * Removed staging the elements from workspace_open() and workspace_reset() Changes in _workspaces.py: * A new 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 new WorkspaceProjectCache object, which keeps WorkspaceProjects around so they don't need to be loaded from disk repeatedly. * Workspaces has been extended to contain the WorkspaceProjectCache, and will use it when opening and closing workspaces. * Workspaces.create_workspace has been extended to handle the staging of the element into the workspace, in addition to creating the equivalent WorkspaceProject file. This is a part of #222
-
Jonathan Maw authored
This is a part of #222
-
Jonathan Maw authored
This is a part of #222
-
Jonathan Maw authored
This is a part of #222
-
Jonathan Maw authored
This is a part of #222
-
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. This is a part of #222
-
Jonathan Maw authored
This is a part of #222
-
Jonathan Maw authored
This is a part of #222
-
Jonathan Maw authored
Support invoking buildstream from a workspace outside a project See merge request !924
-
Jonathan Maw authored
-
Jonathan Maw authored
-
Jonathan Maw authored
Known issues: * `bst shell` works, but `bst shell COMMANDS...` doesn't, because click has no way of separating optional args from variable-length args. * `bst checkout` and `bst source-checkout`'s usage strings mark LOCATION as an optional argument. Because click gets confused if there's an optional argument before a mandatory argument, I had to mark LOCATION as optional internally. * `bst workspace open` makes no sense with element being optional, so I skipped it. * `bst workspace close` will probably need to be revisited when multiple projects can own one workspace. * `bst workspace reset` will happily delete the directory you're currently in, requiring you to `cd $PWD` to see the contents of your directory. I could exclude the top-level directory of the workspace being deleted, but it is entirely valid to run workspace commands from deeper in the workspace. This is a part of #222
-
Jonathan Maw authored
This is a part of #222
-
Jonathan Maw authored
This is a part of #222
-
Jonathan Maw authored
This is a part of #222
-
Jonathan Maw authored
Guess the element when running commands in a workspace See merge request !954
-
Phil Dawson authored
This commit is part of the work towards #672
-
Phil Dawson authored
-
Phil Dawson authored
-
Phil Dawson authored
This is part of the work towards #672
-
Phil Dawson authored
-
Phil Dawson authored
Retire bst source bundle command Closes #672 See merge request !959
-
richardmaw-codethink authored
-
richardmaw-codethink authored
-
richardmaw-codethink authored
-
richardmaw-codethink authored
-
richardmaw-codethink authored
-
richardmaw-codethink authored
Add artifact log command See merge request !920
-
Fix #530 - Extract free space computation in a function for easier mocking - Mock space computation during cache quota tests - Mock cache size during cachque quota tests - Add two more tests when the configuration would require to much storage space
Showing
- NEWS 21 additions, 0 deletionsNEWS
- buildstream/_artifactcache/artifactcache.py 16 additions, 4 deletionsbuildstream/_artifactcache/artifactcache.py
- buildstream/_context.py 39 additions, 3 deletionsbuildstream/_context.py
- buildstream/_frontend/app.py 1 addition, 1 deletionbuildstream/_frontend/app.py
- buildstream/_frontend/cli.py 232 additions, 63 deletionsbuildstream/_frontend/cli.py
- buildstream/_project.py 37 additions, 15 deletionsbuildstream/_project.py
- buildstream/_stream.py 96 additions, 101 deletionsbuildstream/_stream.py
- buildstream/_workspaces.py 240 additions, 9 deletionsbuildstream/_workspaces.py
- buildstream/buildelement.py 8 additions, 0 deletionsbuildstream/buildelement.py
- buildstream/data/projectconfig.yaml 3 additions, 33 deletionsbuildstream/data/projectconfig.yaml
- buildstream/data/userconfig.yaml 8 additions, 0 deletionsbuildstream/data/userconfig.yaml
- buildstream/plugins/sources/git.py 1 addition, 1 deletionbuildstream/plugins/sources/git.py
- buildstream/utils.py 31 additions, 0 deletionsbuildstream/utils.py
- doc/sessions/developing.run 5 additions, 0 deletionsdoc/sessions/developing.run
- doc/source/developing/workspaces.rst 6 additions, 1 deletiondoc/source/developing/workspaces.rst
- doc/source/sessions-stored/developing-build-after-changes-workspace.html 46 additions, 0 deletions...ions-stored/developing-build-after-changes-workspace.html
- doc/source/using_commands.rst 0 additions, 7 deletionsdoc/source/using_commands.rst
- tests/artifactcache/expiry.py 32 additions, 1 deletiontests/artifactcache/expiry.py
- tests/cachekey/project/elements/build1.expected 1 addition, 1 deletiontests/cachekey/project/elements/build1.expected
- tests/cachekey/project/elements/build2.expected 1 addition, 1 deletiontests/cachekey/project/elements/build2.expected