Devfiles in registry should not hard-code project name (when appropriate) #13936
Labels
area/devfile-registry
kind/task
Internal things, technical debt, and to-do tasks to be performed.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
Is your task related to a problem? Please describe.
All of the currently deployed devfiles in the registry hard-code their project's path, e.g.
This means that if a user adds any project to their workspace, the commands do not work (see #13594)
Describe the solution you'd like
Commands should be improved (where it is applicable) to use
${current.project.path}
For some devfiles this does not make sense, but it's worthwhile for "general" stacks such as python, java-maven, etc.
Describe alternatives you've considered
Leave it as-is, and treat devfiles in registry as "toy" samples that are difficult to modify.
Additional context
Depends on #13636
The text was updated successfully, but these errors were encountered: