sbt-plugin
datasource should always overridePackageName
with _2.12_1.0
suffix
#33939
Unanswered
MPV
asked this question in
Request Help
Replies: 1 comment 2 replies
-
A potential drawback would be that hardcoding to |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How are you running Renovate?
A Mend.io-hosted app
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
No response
Please tell us more about your question or problem
As a follow-up / separate issue related to:
...where we were able to workaround that temporarily by setting this for
sbt-plugin
:Now we are still having problems to look up SBT plugins, since they are requested as
myplugin
whereas instead they are published with the package name beingmyplug_2.12_1.0
, as this is the requirement when building SBT plugins:This is possible to also override and solve, by also doing:
overridePackageName: "{{ packageName }}_2.12_1.0"
i.e:
...to get SBT plugins to work via GAR / Google Artifact Registry (until a fix is in place).
That said, we suggest that the
sbt-plugin
datasource should start hardcoding a suffix of_2.12_1.0
into the packageName, to make sure it's explicitly finding the dependencies by the right name (and not by accident as when its parsing HTML and discovers it).Logs (if relevant)
Logs (after overrides, working)
Beta Was this translation helpful? Give feedback.
All reactions