appsody / website

Appsody website and documentation. This repo will be archived soon.
https://appsody.dev
Apache License 2.0
13 stars 29 forks source link

Remove deprecated stacks from the `Most Popular` section on the homepage #570

Closed Kamran64 closed 4 years ago

Kamran64 commented 4 years ago

The java microprofile stack is soon to be deprecated (PR here: https://github.com/appsody/stacks/pull/764) and formally replaced with the java openliberty stack. As it stands, under the Most Popular section on the website the java-microprofile stack is listed there as it is one of the most pulled images.

It would be a bit odd to keep this tile here when we don't expect users to continue using this stack. As such, in this section, we should check to see if a stack is deprecated first. If it is, we should skip this stack and display the stack with the next highest pull count.

This issue only applies to the java-microprofile stack right now but the solution should apply to any stack that is deprecated in future (if that is the case).