renovate icon indicating copy to clipboard operation
renovate copied to clipboard

Major overhaul of changelog retrieval

Open viceice opened this issue 3 years ago • 10 comments

What would you like Renovate to be able to do?

We should do a major refactoring of the current changelog retrieval to support more datasources. Currently we only support GitLab and GitHub.

features

  • [x] #2987
  • [ ] #3903
  • [x] #5181
  • [x] #5822
  • [x] #6171
  • [x] #7776
  • [ ] #8177
  • [x] #9061
  • [x] #10921
  • [ ] #12042
  • [x] #12346
  • [ ] #13385
  • [ ] #14128
  • [x] #14964

known bugs

  • [x] #2960
  • [x] #5574
  • [x] #10143
  • [ ] #13037
  • [x] #13139

If you have any ideas on how this should be implemented, please tell us here.

Refactor existing code to decouple gitlab and github code. Use base classes for shared code / functions.

Is this a feature you are interested in implementing yourself?

Maybe

viceice avatar Feb 10 '22 14:02 viceice

@viceice There's a typo in the issue title.

retrival should be spelled retrieval.

Or you can replace retrieval with fetching to use a simpler word.

HonkingGoose avatar Feb 10 '22 18:02 HonkingGoose

@viceice There's a typo in the issue title.

retrival should be spelled retrieval.

Or you can replace retrieval with fetching to use a simpler word.

You can keep it 😝

viceice avatar Feb 10 '22 18:02 viceice

Would you consider support for running a script in the host repo to fetch release notes for "known" things that renovate doesn't necessarily need to implement itself?

ZacSweers avatar Jun 11 '22 19:06 ZacSweers

Would you consider support for running a script in the host repo to fetch release notes for "known" things that renovate doesn't necessarily need to implement itself?

no

viceice avatar Jun 11 '22 20:06 viceice

What if there's release notes available on GitHub, but no CHANGELOG file in the repo/package (i.e. the release notes are not apart of the repo's contents/git objects)? Will renovate still pull release notes from the descriptions of GitHub releases?

tmillr avatar Dec 19 '22 17:12 tmillr

It would be great to be able to configure custom URLs for release notes sources where renovate could fetch it's info from.

e.g. For all Android Jetpack releases notes, renovate is currently unable to get the notes since Google publish all their releasenotest on https://developer.android.com/jetpack/androidx/versions

eric-labelle avatar Jan 05 '23 15:01 eric-labelle

Is this the issue to track for Ruby changelogs as well?

shkm avatar Jun 02 '23 14:06 shkm

Is this the issue to track for Ruby changelogs as well?

i think that should be a separate feature but can be tracked in list of this issue. please create a feature discussion to describe what the expected behavior should be.

viceice avatar Jun 03 '23 10:06 viceice

I would like to templatize custom changelog URLs (customFullChangelogUrlTemplate?) to use something like : https://gitlab.com/myorg/myproject/-/releases/scope-1%2Fcomponent-1%2F{{{version}}}

Context: we have a "monorepo" with independent release object for each component (here docker images), we choose to name releases with something like scope-1/component-1/v1.2.3 (gitlab replaces / with %2F in URLs).

Another way to match our needs will be to specify a release name prefix (by example: scope-1%2Fcomponent-1%2F).

sereinity avatar Jul 05 '23 11:07 sereinity

What if there's release notes available on GitHub, but no CHANGELOG file in the repo/package (i.e. the release notes are not apart of the repo's contents/git objects)? Will renovate still pull release notes from the descriptions of GitHub releases?

@rarkins FYI, this is the situation for our private packages. We have no CHANGELOG.md file, but we have the releases on Github.

paymand avatar Nov 14 '23 16:11 paymand