Closed anasereijo closed 2 years ago
There is a hardcoded redirect for these charms.
Hi @Roadmaster, do you know if we should remove mattermost-charmers-mattermost
from the store? I think I was asked by you or @mthaddon to set up this redirection.
mattermost-charmers-mattermost is imported from https://jaas.ai/u/mattermost-charmers/mattermost, and as a rule we don't remove or change visibility status from imported charms as it will cause breakage when accessing the charm via the compatibility API. Someone might want to deploy the old charm as well, and removing it will prevent them from doing so.
The cause of the confusing "when clicking, both open the same URL" is the hard redirect that Jeff mentioned. If the redirect is an issue, I would suggest reconsidering that redirect.
Okay, this is the issue created by @mthaddon to set up the redirection. Let see his opinion on this.
The redirect was put in place because mattermost themselves refer to that "old" link (mattermost-charmers-mattermost) in a blog post, but the charm was renamed to mattermost-k8s and published directly on charmhub. As such we'd prefer the redirect to remain in place. Ideally if someone tried to deploy mattermost-charmers-mattermost they would get mattermost-k8s instead, and if this is true after charmstore is shut down that's fine too (i.e. deploying cs:~mattermost-charmers/mattermost actually means you're deploying mattermost-k8s).
Okay, so does it means that we need to leave as it is? Having two charms on the results and one redirecting to the other one is not nice.
@Roadmaster what do you think now after @mthaddon comment?
HI there,
I was double-checking this and realized mattermost-charmers-mattermost should actually not be findable, because it's not promulgated on charmstore.
I will reimport the charm today, it should be done in about 1 hour. This should solve the findability issue.
As for Tom's request " Ideally if someone tried to deploy mattermost-charmers-mattermost they would get mattermost-k8s instead" - I don't think we have this kind of juju API-level redirect. We might be able to play around with our charm mapping mechanism to make it happen but I would definitely suggest waiting until we have done the cutover to charmhub. Otherwise, if contacting the authors of the blog post in question is an option, that would be cleaner - update the name at the source instead of hacking around on our side.
LOL. the reason mattermost-charmers-mattermost is findable is because it's among the set of featured charms (to appear in the front page).
Can you please confirm (@mthaddon or @jkfran ) that we don't want that charm featured anymore?
(if you go to the front page right now you won't see it though, because its package_id changed when I reimported it).
If you want it to be de-featured:
1- I remove it from the featured list which requires running an update process on my sie 2- I delete and reimport it (yet again). 3- At this point all should be as desired.
If you like, I can feature mattermost-k8s instead. Let me know either way.
@Roadmaster lol, I think feature mattermost-k8s instead is the right thing to do, @mthaddon ?
I think we can close this issue now. Thank you all!
I searched for Mattermost and got 3 search results:
at first look, the first 2 results look very similar, but the authors are different: the first one is by Mattermost Charmers and the second one is by Paul Collins. When overlaying the card, we can see different URLs for both cards.
but when we click they both open the same URL > https://charmhub.io/mattermost-k8s by Paul Collins.
Solutions: