Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple GobPie confs in single workspace #31

Open
sim642 opened this issue May 4, 2022 · 1 comment
Open

Support multiple GobPie confs in single workspace #31

sim642 opened this issue May 4, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@sim642
Copy link
Member

sim642 commented May 4, 2022

Currently, GobPie assumes that gobpie.json is located at the root of the workspace where the IDE has been opened.

This could be relaxed to allow gobpie.json file to be located also in some subdirectory of the open workspace, GobPie just search the workspace for these files. Any paths and commands in gobpie.json should then be executed relative to it.

This could also allow multiple gobpie.json files to coexist in different subdirectories. Each one could correspond to an independent Goblint server, but the messages would be shown together in the single IDE instance.

@sim642 sim642 added the enhancement New feature or request label May 4, 2022
@sim642
Copy link
Member Author

sim642 commented May 19, 2022

Actually, GobPie shouldn't eagerly start a server for each gobpie.json it finds on startup because it could have very undesired effects if there are many (e.g. our bench repo). A more reasonable alternative is the following:

  1. If gobpie.json exists in project root, use it automatically.
  2. For other gobpie.jsons don't use them automatically, but only after the user has opened the conf file once.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant