che
che copied to clipboard
Devfile could not be found in the branch which name contains '/' sign
Describe the bug
In some cases users could have devfile.yaml file in the branch that contains / sign.
The problem is that it is not possible to create a workspace via factory by using this devfile.yaml.
In the dashboard I see a message like: "Devfile could not be found in repo. Applying the default configuration"
Che version
next (development version)
Steps to reproduce
- Create a branch with
/sign in your repository withdevfile.yaml - Try to create a workspace by factory using this branch
OR
try this factory: https://che-host/#/https://github.com/svor/quarkus-api-example/tree/new/branch in the dogfooding instance it's https://che-dogfooding.apps.che-dev.x6e0.p1.openshiftapps.com/#/https://github.com/svor/quarkus-api-example/tree/new/branch
Expected behavior
The workspace should be started from the existing devfile
Runtime
OpenShift
Screenshots

Installation method
chectl/next
Environment
Linux
Eclipse Che Logs
No response
Additional context
No response