Closed gastaldi closed 2 years ago
So one have to do 2 queries to get all of them ?
So one have to do 2 queries to get all of them ?
If you need all streams, you simply invoke the endpoint introduced in #71
Okey..what's the usecase of unlisted then ?
Having 2.7 and 2.2 streams, once 2.2 is no longer supported, the 2.2 stream must have unlisted
set to true
See @aloubyansky comments in https://github.com/quarkusio/registry.quarkus.io/issues/66#issuecomment-1020927250
okey but why are we calling this "unlisted" as opposed to "recommended" ? jsut seems like a "opposite" api...we aren't unlisting things we are changing the recommendation.
Maybe.
At the moment we're listing the streams from the top 2 latest and greatest platform releases. I figured it would be easier in the case where you have two streams to mark the streams that are no longer supported as unlisted from the platform catalog (same nomenclature as when extensions shouldn't be displayed in code.quarkus) instead.
But we can discuss and change if necessary, let's discuss in the next meeting.
This introduces an
unlisted
column (default: false) in theplatform_stream
table along with a new admin endpoint to change its value and uses it in the queries.Fixes #66