-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
area/devfile-registryarea/editor/jetbrains/intellijIssues related to the IntelliJ-based IDE for Eclipse CheIssues related to the IntelliJ-based IDE for Eclipse Chearea/editor/theiaIssues related to the che-theia IDE of CheIssues related to the che-theia IDE of Chearea/editor/vscodeIssues related to the Code OSS editor of CheIssues related to the Code OSS editor of Chearea/uxIssues related to User Experience DesignIssues related to User Experience Designkind/enhancementA feature request - must adhere to the feature request template.A feature request - must adhere to the feature request template.severity/P1Has a major impact to usage or development of the system.Has a major impact to usage or development of the system.sprint/current
Description
Is your enhancement related to a problem? Please describe
most of our devfiles are single-project based.
so we should try to avoid to use PROJECTS_ROOT variable that is pointing to the parent folder of the project but use instead PROJECT_SOURCE variable that is pointing to the first project of the devfile.
Issue when using PROJECTS_ROOT is that if someone fork a repository and rename the repository name, devfile has still pointer to the previous project's name.
Describe the solution you'd like
- remove PROJECTS_ROOT in devfiles
- use PROJECT_SOURCE only if really needed as default working directory of commands should be PROJECT_SOURCE
so devfiles could be simplified
Describe alternatives you've considered
No response
Additional context
I've added editor area to be sure that when we execute commands, default directory if not specified is using PROJECT_SOURCE environment variable and not something else.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/devfile-registryarea/editor/jetbrains/intellijIssues related to the IntelliJ-based IDE for Eclipse CheIssues related to the IntelliJ-based IDE for Eclipse Chearea/editor/theiaIssues related to the che-theia IDE of CheIssues related to the che-theia IDE of Chearea/editor/vscodeIssues related to the Code OSS editor of CheIssues related to the Code OSS editor of Chearea/uxIssues related to User Experience DesignIssues related to User Experience Designkind/enhancementA feature request - must adhere to the feature request template.A feature request - must adhere to the feature request template.severity/P1Has a major impact to usage or development of the system.Has a major impact to usage or development of the system.sprint/current