Data sources that establish generic changelogs that cannot be processed by the implemented ChangeLogSources are not processed #40139
Unanswered
bdovaz
asked this question in
Request Help
Replies: 1 comment 12 replies
-
|
Sorry, but is this different from the discussion we had related to this issue:#40136? |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How are you running Renovate?
Self-hosted Renovate
Which platform you running Renovate on?
Other (please specify)
Which version of Renovate are you using?
42.66.2
Please tell us more about your question or problem
I believe that if it is not from an implemented provider, there is no generic one that simply performs a
GETand nothing else:renovate/lib/workers/repository/update/pr/changelog/release-notes.ts
Line 39 in 0c57142
https://github.com/renovatebot/renovate/blob/main/lib/workers/repository/update/pr/changelog/api.ts
Here you can see how it has to detect a platform; if it doesn't, it does nothing with it:
renovate/lib/util/common.ts
Line 24 in ef0a84b
renovate/lib/workers/repository/update/pr/changelog/index.ts
Line 30 in ef0a84b
For example, the
unity3dprovider assigns achangelogUrlto eachReleaseobject:renovate/lib/modules/datasource/unity3d/index.ts
Line 90 in 02e3f3c
What can be seen at this endpoint:
https://services.api.unity.com/unity/editor/release/v1/releases?stream=LTS
Example of a changelog URL:
https://storage.googleapis.com/live-platform-resources-prd/templates/assets/6000_0_53f1_2c8610e313/6000_0_53f1_2c8610e313.md
What happens if it's not from a provider here (github, gitlab, ...)? It doesn't process it:
https://github.com/renovatebot/renovate/tree/0c57142c4fc255a517fe26d25de636af5a7ba8d9/lib/workers/repository/update/pr/changelog
Renovate should process it and display it as in this PR example:
Reproduction PRs:
bdovaz/renovate_test#26
bdovaz/renovate_test#25
I would like to contribute with a PR, but before doing anything, I want to see which is the best option:
changelogUrl != null, attempts to make a request and get the content.Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions