-
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
Introduce registryUrl field for cheEditor/chePlugin components #13104
Comments
@l0rd Could you please validate that it is consistent with our discussion |
@sleshchenko I like that |
@sleshchenko when we use plugin registry in Che we do not specify |
@garagatyi you mean that you would prefer registryUrl: https://che-plugin-registry.openshift.io # optional rather than registryUrl: https://che-plugin-registry.openshift.io/plugins # optional and that |
No, I'm OK to change that. I just mean that we do that ATM and we should think how it will work with UD and WS master when we change that. |
In a case of pastebin or any other raw content hosting URL: "id":"5f74f5d",
"registry":"https://pastebin.com" if an error occurs showing user "Downloading of meta information of plugin with ID 5f74f5d failed" seems weird. "id":"5f74f5d",
"registry":"https://pastebin.com" is not intuitive in my opinion. |
we have another convention that to download meta.yaml of a plugin we need to add
or
|
Actually, in case of plugin registry use used to use it and we do not have to. The following link is valid https://che-plugin-registry.openshift.io/plugins/che-dummy-plugin/0.0.1/
Both options of reference: https://pastebin.com/raw/kYprWiNB id: eclipse/che-theia:next # required. The format is {PUBLISHER}/{NAME}:{VERSION}
registryUrl: https://che-plugin-registry.openshift.io/ # optional
# reference should not be specified and it will be evaluated as `{registryUrl}/{publisher}/{name}/{version}` @garagatyi Please correct me if I'm wrong here @l0rd Can you share your opinion about it? |
@sleshchenko I am ok with your proposal of using |
The issue description is changed according to the latest agreement about |
Description
This issue is created as a result of a discussion that got a place in the following issue #13062 and continued in this one.
It's not obvious that id field of
chePlugin
/cheEditor
component may contain registry URL. And to make it clearer the format should be changed to the followingSo, user is able to specify plugin/editor with id and optional registry URL (default is default is missing) and then reference will be evaluated as
{REGISTRY_URL}/plugins/{PUBLISHER}/{NAME}/{VERSION}
.Or user is able to specify
reference
to point tometa.yaml
raw content available via HTTP and thenid
andregistryURL
must be not specified. See examples:Github
raw content servicePastebin
:Depends on #11818
The text was updated successfully, but these errors were encountered: