Consolidate Workspace Config format
See original GitHub issueNOTES:
- 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:
- Created 6 years ago
- Comments:17 (13 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
+1 to consider removing multiple environments.
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.
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?
@gazarenkov do you think we can close this one now