Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Kabanero repo in Codewind is outdated #1068

Closed
makandre opened this issue Nov 8, 2019 · 13 comments
Closed

Kabanero repo in Codewind is outdated #1068

makandre opened this issue Nov 8, 2019 · 13 comments

Comments

@makandre
Copy link
Contributor

makandre commented Nov 8, 2019

Codewind version: 0.6.0
OS:

Che version:
IDE extension version:
IDE version:
Kubernetes cluster:

Description:

The Kabanero repo that comes pre-configured in Codewind is old, it's 0.1.2 and they are up to 0.3.0 now

The way we hardcode it is also incorrect now due to Codewind's architectural change in 0.6.0. The repo needs to be added "programmatically" via Template Manager, so that the repo will propagate to the local and appsody extension's appsody CLIs

Steps to reproduce:

Workaround:

@tobespc
Copy link
Contributor

tobespc commented Nov 11, 2019

The architecture change has not modified this area at all. The question here is do we hardcode the default set of templates that we ship with or, have some clever install that will use the template manager to inject them at that time ?

@makandre
Copy link
Contributor Author

So users enabling this may run into problem and not realize it's outdate. For 0.6.0, should we remove this from the pre-configured repos until we can do it properly?

@tobespc @deboer-tim

@deboer-tim
Copy link
Contributor

Kabanero wasn't tagging a latest release when we started, but now they are. I've confirmed that we should switch to it, and doing so will mean that (like Appsody) we don't actually need a different URL every time they have a new release. Here's the correct URL to use:
https://github.com/kabanero-io/collections/releases/latest/download/kabanero-index.json

@tobespc
Copy link
Contributor

tobespc commented Nov 18, 2019

we need to have the git redirect work complete first on this #614

@tobespc tobespc self-assigned this Nov 18, 2019
@tobespc
Copy link
Contributor

tobespc commented Nov 19, 2019

the redirect work is not going to complete in time for 0.6.0 so I have manually upgraded the collections version to be 0.2.1

@tobespc
Copy link
Contributor

tobespc commented Dec 10, 2019

the redirect code is now in so closing as this is now resolved

@tobespc tobespc closed this as completed Dec 10, 2019
@makandre
Copy link
Contributor Author

@tobespc But we are not using the latest link it seems: https://github.com/eclipse/codewind/blob/master/src/pfe/portal/modules/Templates.js#L38

Also, we still have to address the other issue: if we hardcode the repo link here, that doesn't add the corresponding index.yaml url to the appsody CLI

@makandre
Copy link
Contributor Author

/reopen

@jgwest jgwest reopened this Dec 10, 2019
@stalleyj
Copy link
Contributor

stalleyj commented Jan 7, 2020

@makandre I don't understand the issue you describe around the index.yaml and appsody CLI. Can this be raised as a separate issue to updating the repo link ?

@stalleyj
Copy link
Contributor

stalleyj commented Jan 7, 2020

/assign

@makandre
Copy link
Contributor Author

makandre commented Jan 7, 2020

@stalleyj I have opened #1645

@stalleyj
Copy link
Contributor

stalleyj commented Jan 8, 2020

#1651

@tobespc
Copy link
Contributor

tobespc commented Jan 8, 2020

I have retested and can verify its good

@tobespc tobespc closed this as completed Jan 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants