-
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
Clarify names of Sample projects #13793
Comments
@sparkoo samples are in the devfile registry now. I don't think we should use samples.json anymore. |
There is no project description in devfile registry. But is that worth using sample.json and cross-matching it with the devfile registry just to get a description? And some projects in the devfile registry don't have a corresponding entry in sample.json. How are we going to deal with them? |
@l0rd could you please then point me, what exactly is source of sample projects? I can see this list in devfile registry https://github.com/eclipse/che-devfile-registry/tree/master/devfiles which AFAIK is stack list. However, I can't see sample projects there. I've discussed this with @ashumilova who gave me a bit different info than you, or I don't understand something here (which is highly possible). @ashumilova could you please comment on this? |
@sparkoo no worries that's absolutely new stuff and it may be possible that I am missing something. Every devfile in the devfile registry has a project sample (e.g. here for the angular stack). When a user will select a stack (e.g. the angular stack) the only sample he will see will be the one included in the devfile whereas before he could the list of all the samples in samples.json. Now the problem is that, in the dashboard, every sample has a name and a description but, in the devfile format specification, projects don't have a description. To fix that I would proceed in 3 iterations:
And I am perfectly ok if we do only iteration 1 for Che 7 GA but I think we should not use sample.json anymore. But @ashumilova is working on it and may have better ideas |
thanks @l0rd and @ashumilova |
@ashumilova what's not clear is from where the second sample (the real world app sample) come from, is it defined in the devfile or in the samples.json? |
Reworked that part. In this PR samples.json is not used at all. Samples page displays projects defined in devfile as well. On workspace details page - adding project widget will not have samples tab - only git and github. |
ok. I'm closing this one as |
Description
Follow up of #13592. We should clean up sample projects names and descriptions. This list should also be sorted alphabetically so samples should be named according to that (e.g. all java samples will start with
java-
to have them close together).dev note: sample projects are defined here: https://github.com/eclipse/che/blob/master/ide/che-core-ide-templates/src/main/resources/samples.json
Reproduction Steps
"Add new Workspace" screen > click button "Add or import project" > see list of samples
OS and version:
latest 7.0.0-rc-4.0-SNAPSHOT
Diagnostics:
The text was updated successfully, but these errors were encountered: