Re: [BuildStream] Summary: Workspace related DX features & design
- From: Tristan Van Berkom <tristan vanberkom codethink co uk>
- To: Sander Striker <s striker striker nl>, Tom Pollard <tom pollard codethink co uk>
- Cc: BuildStream <buildstream-list gnome org>
- Subject: Re: [BuildStream] Summary: Workspace related DX features & design
- Date: Fri, 14 Sep 2018 12:17:40 +0900
Hi,
On Thu, 2018-09-13 at 12:38 +0100, Sander Striker via BuildStream-list wrote:
Hi,
[...]
2. ============
- Default location to be set at user level, with the standard
levels of
provenance. Both the default directory & --directory at cli are
referring to the 'root' directory in which directories for workspaces
will be created, with each element's workspace named after the
respective elementname as subdirs.
- Multiple workspaces:
~~~~~~~~~~~~~~~~~~~~
bst [project options] workspace open [open options] element1.bst
[workspacename] \
--open [open options] element2.bst [workspace name] \
--open [open options] element2.bst [workspace name] \
...
- [project options] = --directory pathto/project \
...
- [open options] = --directory pathto/workspace \
--no-checkout \
-f --force \
--track \
...
- [workspace name] = optional value to override the default behaviour
of naming workspaces as elementname
I don't think this is the consensus we reached. My impression was that we ended with:
bst [project options] workspace open [--directory DIRECTORY] [open options] ELEMENT
bst [project options] workspace open [open options] ELEMENT [ELEMENT ...]
https://mail.gnome.org/archives/buildstream-list/2018-September/msg00012.html
https://mail.gnome.org/archives/buildstream-list/2018-September/msg00017.html
https://mail.gnome.org/archives/buildstream-list/2018-September/msg00019.html
https://mail.gnome.org/archives/buildstream-list/2018-September/msg00023.html
+1
That is my recollection as well.
* If you want elaborate options which differ for each workspace, then
you need to open workspaces one by one.
* You cannot use the `--directory` option at all if you are opening
multiple workspaces in one go; multiple open requires a default
workspace directory be configured.
* When specifying the directory where the workspace will be created,
the default (if set) is ignored entirely.
Cheers,
-Tristan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]