che icon indicating copy to clipboard operation
che copied to clipboard

Starting a new workspace with a clone of the specified branch doesn't work correctly if repo doesn't have devfile.yaml

Open SkorikSergey opened this issue 1 year ago • 1 comments

Describe the bug

Starting a new workspace with a clone of the specified branch doesn't work correctly if repo doesn't have devfile.yaml.

Che version

7.87@latest

Steps to reproduce

  1. Start a new workspace with a clone of the specified branch, for example from https://github.com/eclipse-che/che/tree/assets.

Expected behavior

Che repo on assets branch

Runtime

OpenShift

Screenshots

Selection_011 Selection_012

Installation method

chectl/latest

Environment

Linux

Eclipse Che Logs

No response

Additional context

No response

SkorikSergey avatar Jun 12 '24 14:06 SkorikSergey

@ibuziuk It is a regression after dropping the Devfile V1 support and removing the devfile-converter package https://github.com/eclipse-che/che-dashboard/pull/1090.

It happens because che-server still returns Devfile V1 with the proper branch for a project: Знімок екрана 2024-06-12 о 17 56 26

But che-dashboard lost the ability to convert Devfile V1 into Devfile V2 without the devfile-converter package and using just a default Devfile.

I am sure that we should fix it on the che-server side. WDYT?

olexii4 avatar Jun 12 '24 15:06 olexii4