question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Consolidate Workspace Config format

See original GitHub issue

NOTES:

  • content type serializing WSConfig is out of scope, we can imagine other than JSON (for instance YAML) as an alternative.
  • serialization mechanism and accessibility are out of scope as well. We can imagine storing WSConfig anywhere (DB, local file etc) and keep it locally or remotely (accessible via http using URL for ex)

Context: For the time we have several formats and mechanisms to start Workspace such as (Factory, Stack, Chefile) which extends WorkspaceConfiguration to add additional automation ability and semantic. I suppose for the time being we have enough experience to formalize consolidated model of WSConfig which would add “useful” metainfo from Factory and Stack definition and so remove different evolution branches of it and in perspective retire other formats from the Che core model.

Proposal It is proposed to extend it adding two top-level objects:

  • tags (inherited from stack)
  • ide (inherited from factory)
config: {
  name: "",
  description: "",
  defaultEnv: "",
  environments: {},
  projects: {},
  commands: {}
  tags: [],     --  from stack, things like "java", "maven", "sample" etc
  ide: {}        --  from factory, things like handlers for IDE app events etc
}

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:17 (13 by maintainers)

github_iconTop GitHub Comments

2reactions
garagatyicommented, Dec 8, 2017

+1 to consider removing multiple environments.

yes, it is in our factory format but usefulness is doubtful, do you have some arguments?

We have those features in factory. If we remove factory concept then either we move those features to WSConfig or declare that they are not needed anymore.

Not sure I understand. If it is expected that IDE (for example) opens the same file on loading - then yes it should be the case (thats what factory does). If it is not needed (which is the case for 99%) then no actions should be configured.

If we remove factory object and use stored WSConfig instead than configured onOpen action IS useful on WSConfig applying, but might not be useful or even bad for UX in case applied WSConfig is used continuously. Am I correct that this issue suggests removing factory object?

0reactions
gorkemcommented, Aug 24, 2019

@gazarenkov do you think we can close this one now

Read more comments on GitHub >

github_iconTop Results From Across the Web

User and Workspace Settings - Visual Studio Code
User and Workspace Settings. You can configure Visual Studio Code to your liking through its various settings. Nearly every part of VS Code's...
Read more >
Angular workspace configuration
The angular.json file at the root level of an Angular workspace provides workspace-wide and project-specific configuration defaults.
Read more >
Identity merge & deduplication - Google Workspace Admin Help
This consolidation guide is for customers with users that have 2 Google Workspace accounts, one in the source environment and one in the...
Read more >
Workspaces | Yarn - Package Manager
An in-depth guide to Yarn's workspaces, a feature that provides an easy way to store multiple packages inside the same project.
Read more >
catkin config – Configure a Workspace
Each time you source a catkin setup file from a result-space (devel-space or install-space), it sets the $CMAKE_PREFIX_PATH in your environment, and this...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found