Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RegEx support for replication filters #11975

Open
MaxRink opened this issue May 19, 2020 · 6 comments
Open

RegEx support for replication filters #11975

MaxRink opened this issue May 19, 2020 · 6 comments
Assignees
Labels
area/replication kind/requirement New feature or idea on top of harbor

Comments

@MaxRink
Copy link

MaxRink commented May 19, 2020

Is your feature request related to a problem? Please describe.
Curretnly the replication filter only supports a very limited set of filters.
We basically want to mirror a lot of external repos for internal use and for that i basically want to filter out any non-release images.
That would be much easier with an regex syntax

@Cellebyte
Copy link

Cellebyte commented May 19, 2020

Another feature which would be pretty nice to have.
Version Aware Replication of Images and Helmcharts.
For that to work you can enable a regex which defines groups to match for.

e.g.:
bitnami/java
14.0.1-debian-10-r19-prod

regex lists:
^(\d+).(\d+).(\d+).-debian-10-r(\d+)-prod

tuple(14 0 1 19)
which then can be ordered from left to right to the semver compliant version.

14.0.1.19

And now you are able to define something like the last 10 versions of an image should be replicated.

@xaleeks xaleeks added kind/requirement New feature or idea on top of harbor area/replication labels May 26, 2020
@xaleeks xaleeks self-assigned this May 26, 2020
@HaveFun83
Copy link

Will be great the see this feature 👍

@hobti01
Copy link
Contributor

hobti01 commented Jan 26, 2021

Raised previously in #8614

@badsmoke
Copy link

is there any news? the linked thread is for a much older version.

@github-actions
Copy link

github-actions bot commented Jul 7, 2022

This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days.

@github-actions github-actions bot added Stale and removed Stale labels Jul 7, 2022
@badsmoke
Copy link

badsmoke commented Sep 6, 2022

at least put it on your todo list, for a current harbor version and not v1

@wy65701436 wy65701436 assigned qnetter and unassigned xaleeks Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/replication kind/requirement New feature or idea on top of harbor
Projects
None yet
Development

No branches or pull requests

7 participants