Various NuGet repository issues (V3, NuGet.config, registryUrls) #7912
-
What Renovate type, platform and version are you using? Self-hosted Docker (Tag: 23) There are various (possible) bugs
Full
Full
Relevant debug logs To Reproduce Run it on any Azure DevOps environment with the configs given. It's 100% reproduceable. Additional context I guess, either the must be a configuration error, or the business logic behind is buggy. Funnily, the trace-log is much less verbose and helpful than debug. The trace output only duplicates nonsense-logging dozens of time. |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 1 reply
-
@dannyyy Please try the following package-rule instead of the packageRules: [
{
datasources: [ 'nuget' ],
registryUrls: [
'https://api.nuget.org/v3/index.json',
'https://api.nuget-dummy.org/v3/index.json',
]
}
] this should hopefully override the extracted registry urls |
Beta Was this translation helpful? Give feedback.
-
also please checkout hostRules docs. |
Beta Was this translation helpful? Give feedback.
-
@viceice The The Is somewhere a schema available to get an idea of the current configuration possibilities? Most of the samples inside the documentation, issues and google-solutions are contradicting to each other. It would be awesome to evolve from a try & error approach to a versioned schema approach. |
Beta Was this translation helpful? Give feedback.
-
@dannyyy Do my suggestions work? Yes, the docs seem to be outdated, we'll fix this soon. We have a json schema, you need a schema aware editor like vscode. {
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
...
} @rarkins @HonkingGoose We need to extend the packageRules and fix the nuget samples |
Beta Was this translation helpful? Give feedback.
-
I've made a new issue at #7959 to discuss the docs changes. |
Beta Was this translation helpful? Give feedback.
-
In the mean time I had the chance to check your suggestions. Yes, all of them do. Thank you very much! |
Beta Was this translation helpful? Give feedback.
-
Is there anything remaining to be done or can this issue be closed? |
Beta Was this translation helpful? Give feedback.
-
I think this should be moved to discussion's. I don't see any bug or feature here. |
Beta Was this translation helpful? Give feedback.
@dannyyy Please try the following package-rule instead of the
nuget
object.this should hopefully override the extracted registry urls