-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Support running the Devfile commands by Che-IDEA #21029
Support running the Devfile commands by Che-IDEA #21029
Comments
There are three possible solutions that were discussed internally.
We decided to go with solution 2, as it provides a much easier way to work with XML compared to solution 1. |
Solution 2 is more convenient, but requires more time for implementation on initial step. As far as we need some mechanism for manipulating with Devfile and XML configurations (run configurations in JetBrains IDEs), it will be better to create a simple library in Kotlin that can parse Devfile to fetch necessary information about commands, that can be used in simple command adapter on step 2 and standalone plugin for JetBrains IDEs on step 3. Kotlin library for parsing Devfile will be located here: https://github.com/che-incubator/kotlin-devfile-api Will create a dedicate issue for implementing simple kotlin library for manipulating with Devfile and support only necessary functionality at first time. On future iterations, the library will receive improvements to align to all Devfile fields. |
I'm ok with a Kotlin library for the Devfile-related operations. As we will need it anyway for deeper integration of JetBrains IDE's with Che. |
Hello, as Jetbrains is part of devfile specification I think it it would make sense to get their feedback on how they'll handle that part Anyway, there is a javascript library that is generated from the schema https://github.com/devfile/api/blob/main/.github/workflows/release-typescript-models.yaml https://github.com/devfile/api/blob/main/build/typescript-model/generate.sh |
Is your task related to a problem? Please describe
As a user, I want to be able to run my Devfile commands in Che-IDEA.
The commands should be visible as IDEA's Run Configurations.
Describe the solution you'd like
Before starting Che-IDEA, we can parse a flattened Devfile to read the commands and pass them to the corresponding IDEA's configurations files.
Describe alternatives you've considered
No response
Additional context
This issue is a part of the epic #20591
The text was updated successfully, but these errors were encountered: