Vity01 / backstage-jfrog-artifactory-libs

JFrog lib plugin for Backstage
Apache License 2.0
2 stars 3 forks source link

[Feature Request]: Add Version Pattern #3

Open doxsch opened 8 months ago

doxsch commented 8 months ago

Hi @Vity01

We would like to filter the displayed versions. For docker images, for example, we have the following tags:

As an example, we would like to display only the versions for alpine:

Therefore we would need a new annotation, for example:

jfrog.com/artifactory-artifact-version-pattern: ^\d+\.\d+\.\d+-alpine$

What do you think of this idea?

Vity01 commented 8 months ago

And where would you apply the filter?

doxsch commented 8 months ago

I think this would have to be modified in various places. Actually everywhere where you have a list of versioned artifacts. The method for finding the latest versions etc. would also have to be modified.