Skip to content

Change config storage paths from /home/theia/home/theia to the corresponding paths #18548

@RomanNikitenko

Description

@RomanNikitenko

Is your task related to a problem? Please describe.

There are 3 fields within config storage:

  • hostLogPath
  • hostStoragePath
  • hostGlobalStoragePath

At the moment they are overridden on che-theia side here.

The current state:

  • hostLogPath comes as /home/theia/.theia/logs/20201207T111804/host and then overridden to /home/theia/home/theia/
  • hostStoragePath comes as /home/theia/.theia/workspace-storage/be0a81bfde25dc291c35808bdaf5f836 and then overridden to /home/theia/home/theia/
  • hostGlobalStoragePath comes as /home/theia/.theia/globalStorage and then overridden to /home/theia/home/theia/

So, /home/theia/home/theia is used for config storage paths.

Describe the solution you'd like

I'm going to change the described behavior within eclipse-che/che-theia#778.
Please see more details here

I tested it and with my changes I have the results like:

  • hostLogPath comes as /home/theia/.theia/logs/20201207T103853/host and returns the same - /home/theia/.theia/logs/20201207T103853/host
  • hostStoragePath comes as /home/theia/.theia/workspace-storage/d4f33a13baafd8232351136427795e20 and returns the same - /home/theia/.theia/workspace-storage/d4f33a13baafd8232351136427795e20
  • hostGlobalStoragePath comes as /home/theia/.theia/globalStorage and returns the same - /home/theia/.theia/globalStorage

Please let me know if there are any objectives to keep /home/theia/home/theia as config storage paths and we have good reasons for such behavior.

Metadata

Metadata

Labels

area/editor/theiaIssues related to the che-theia IDE of Chekind/taskInternal things, technical debt, and to-do tasks to be performed.severity/P1Has a major impact to usage or development of the system.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions