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

Reposilite should search all mirrors when looking up the last version of a package #2056

Open
Jean-Daniel opened this issue Feb 26, 2024 · 1 comment
Labels
enhancement Improvement of existing feature request

Comments

@Jean-Daniel
Copy link

Request details

I use to have an artifactory virtual repository exposing both the Google maven repo (https://dl.google.com/android/maven2/) and maven central (https://repo1.maven.org/maven2/).

Unfortunately, both repositories exposes a bunch of deprecated packages, that use to be published in one repo, and are now published in the other.

When requesting the last version of a package like com.android.tools.build:gradle, if reposilite lookup maven central first, it find the version 2.3.3, and does no try to search for more recent version in the Google repo.

On the other side, when looking up for com.google.devtools.ksp:symbol-processing, this is the Google repo that return an old release.

Artifactory was handling it properly by returning the most recent version for both packages.

An other way to help mitigation this issue, would be to support a groups blacklist in the mirror setting to be able to tell reposilite to ignore some mirror for a specific package.

@dzikoysk dzikoysk added enhancement Improvement of existing feature request and removed triage labels Feb 28, 2024
@dzikoysk
Copy link
Owner

Yeah, I think this kind of enhancement makes sense for such a weird scenarios. For now, I think you could try to use this functionality:

to only list these particular artifact groups for each repo. A bit annoying, but should work as a quick solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement of existing feature request
Projects
None yet
Development

No branches or pull requests

2 participants