Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-4510

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

XMLWordPrintable

    • False
    • None
    • False
    • Release Notes
    • Hide
      = Fixed workspaces startup from a branch that contains slashes (/) in the name

      Before this update, starting a workspace from a branch of a Git repository with a slash (`/`) resulted in a "devfile could not be found" error. With this update, the issue is solved.
      Show
      = Fixed workspaces startup from a branch that contains slashes (/) in the name Before this update, starting a workspace from a branch of a Git repository with a slash (`/`) resulted in a "devfile could not be found" error. With this update, the issue is solved.
    • Bug Fix
    • Done

      Description of problem:

      It is not possible to create a workspace via factory from the branch that contains `/` sign.

      In the dashboard I see a message like: "Devfile could not be found in ..... Applying the default configuration"

      Workaround
      Rename the branch by removing `/`

      Steps to Reproduce

       # Try to create a workspace from this repository (with new/branch branch name) https://github.com/svor/quarkus-api-example/tree/new/branch
       

      Actual results:

      Tha Dashboard shows a message: "Devfile could not be found in https://github.com/svor/quarkus-api-example/tree/new/branch. Applying the default configuration"

      Expected results:

      The worksapce should be started from the branch that contains `/`

      Reproducibility (Always/Intermittent/Only Once):

      Always

            ibuziuk@redhat.com Ilya Buziuk
            vsvydenk Valerii Svydenko
            Serhii Skoryk Serhii Skoryk
            Jana Vrbkova Jana Vrbkova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: