Skip to content

Exclude pre-release from catalog, `latest` tag, and shorthand fetching

Context for this change:

Prereleases are by nature not production ready - so when shared on public / production endpoints they are hidden and ignored by default - but surfaceable by full version number specification.

This maybe especially important since GitLab.com does not have a pre-release components endpoint.

The above could be helpful in ensuring pre-releases can safely be shared and tested on a single catalog end point without affecting production systems using "latest" or version wildcard. (which, according to good DevOps habits, should not be done, but will be ;) )

Implementation Details

  • Don't show pre-releases when specifiying latest tag
  • Require full version to be specified for fetching a pre-release

Note

We might end up not showing pre-releases in the catalog at all, but this will be handled in a separate MR.

og context: #441266 (comment 1894144260)

Edited by Laura Montemayor