Commits on Source (7)
-
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
Showing
- NEWS 4 additions, 0 deletionsNEWS
- buildstream/_context.py 7 additions, 0 deletionsbuildstream/_context.py
- buildstream/_frontend/cli.py 8 additions, 1 deletionbuildstream/_frontend/cli.py
- buildstream/_project.py 26 additions, 9 deletionsbuildstream/_project.py
- buildstream/_stream.py 16 additions, 13 deletionsbuildstream/_stream.py
- buildstream/_workspaces.py 6 additions, 1 deletionbuildstream/_workspaces.py
- buildstream/data/userconfig.yaml 8 additions, 0 deletionsbuildstream/data/userconfig.yaml
- tests/frontend/workspace.py 136 additions, 5 deletionstests/frontend/workspace.py
- tests/integration/shell.py 26 additions, 0 deletionstests/integration/shell.py