Running locally with {{parentOrg}}
in config and it shows up as empty
#30851
Unanswered
nitrocode
asked this question in
Request Help
Replies: 1 comment 1 reply
-
From the docs: https://docs.renovatebot.com/configuration-options/#depnametemplate
You can only use the named groups which are present in the regex of |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What would you like help with?
None
How are you running Renovate?
None
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
I'm running renovate locally from a container
(I also tried adding
-e RENVOATE_PARENT_ORG="org"
)Using config containing a
depNameTemplate
of"{{parentOrg}}/{{depName}}"
.How come
parentOrg
returns an empty value?Is there a way to fill it with an environment variable?
The limitation isn't shown in these docs
Logs (if relevant)
The result is the following in the logs
The logs do not show any output related to an empty
parentOrg
other than showing the matched dependency without the org in thepackageName
Seems like parentOrg was empty when I used it in renovate.
There are other inputs too. Unsure of the differences.
https://docs.renovatebot.com/templates/
parentOrg
sourceRepoOrg
topLevelOrg
Code references
renovate/lib/workers/global/index.ts
Lines 33 to 43 in 1895d0b
renovate/lib/workers/global/index.ts
Lines 183 to 190 in 1895d0b
renovate/lib/workers/global/index.ts
Lines 168 to 171 in 1895d0b
Beta Was this translation helpful? Give feedback.
All reactions