che icon indicating copy to clipboard operation
che copied to clipboard

Devfile could not be found in the branch which name contains '/' sign

Open svor opened this issue 3 years ago • 0 comments

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

  1. Create a branch with / sign in your repository with devfile.yaml
  2. 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

screenshot-devspaces apps sandbox-m2 ll9k p1 openshiftapps com-2022 09 16-10_28_19

Installation method

chectl/next

Environment

Linux

Eclipse Che Logs

No response

Additional context

No response

svor avatar Sep 16 '22 07:09 svor