Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always fetch raw devfiles from the dashboard #22927

Open
akurinnoy opened this issue Apr 17, 2024 · 1 comment
Open

Always fetch raw devfiles from the dashboard #22927

akurinnoy opened this issue Apr 17, 2024 · 1 comment
Labels
area/che-server area/dashboard area/factory/server Server side of factory implementation kind/enhancement A feature request - must adhere to the feature request template. severity/P1 Has a major impact to usage or development of the system.

Comments

@akurinnoy
Copy link
Contributor

Is your enhancement related to a problem? Please describe

Right now, the dashboard can only get raw devfiles from registries (defined in CR). The che-server is responsible for resolving all other URLs. But the che-server can't resolve some raw devfile URLs, like https://registry.devfile.io/devfiles/dotnet60/1.0.3.

Describe the solution you'd like

The dashboard should try to get the data from a URL and determine if it is a raw devfile. If it isn't, it should use the che-server API to resolve the URL.

Describe alternatives you've considered

No response

Additional context

eclipse-che/che-website#98 (comment)

@ibuziuk
Copy link
Member

ibuziuk commented Apr 17, 2024

@akurinnoy @vinokurig smth. to discuss before the next sprint planning
currently I'm not convinced that dashboard should handle raw devfiles e.g. the fix might be on che-server side to support URLs like https://registry.devfile.io/devfiles/dotnet60/1.0.3 (I suspect it does not work atm due to missing .devfile in the path)

@svor svor added severity/P1 Has a major impact to usage or development of the system. area/che-server area/factory/server Server side of factory implementation labels Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/che-server area/dashboard area/factory/server Server side of factory implementation kind/enhancement A feature request - must adhere to the feature request template. severity/P1 Has a major impact to usage or development of the system.
Projects
Status: No status
Development

No branches or pull requests

3 participants