Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Major overhaul of changelog retrieval #14138

Open
13 of 19 tasks
viceice opened this issue Feb 10, 2022 · 11 comments
Open
13 of 19 tasks

Major overhaul of changelog retrieval #14138

viceice opened this issue Feb 10, 2022 · 11 comments
Labels
core:changelogs Related to changelogs/release notes fetching priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others type:feature Feature (new functionality)

Comments

@viceice
Copy link
Member

viceice commented Feb 10, 2022

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

known bugs

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 viceice added type:feature Feature (new functionality) priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others status:requirements Full requirements are not yet known, so implementation should not be started core:changelogs Related to changelogs/release notes fetching labels Feb 10, 2022
@HonkingGoose

This comment was marked as resolved.

@viceice

This comment was marked as resolved.

@viceice viceice changed the title Major overhaul of changelog retrival Major overhaul of changelog retrieval Feb 10, 2022
@ZacSweers
Copy link

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?

@viceice
Copy link
Member Author

viceice commented Jun 11, 2022

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

@tmillr
Copy link

tmillr commented Dec 19, 2022

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?

@eric-labelle
Copy link

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

@shkm
Copy link

shkm commented Jun 2, 2023

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

@viceice
Copy link
Member Author

viceice commented Jun 3, 2023

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.

@sereinity
Copy link

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).

@rarkins rarkins added status:ready and removed status:requirements Full requirements are not yet known, so implementation should not be started labels Oct 1, 2023
@paymand
Copy link
Contributor

paymand commented Nov 14, 2023

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.

@KUGA2
Copy link
Contributor

KUGA2 commented Nov 28, 2024

I am not sure if this has been mentioned before;
What about custom datasources (or built in ones) providing full urls to markdown changelogs? Can this be fetched?

I guess right now fetching is only supported from github gitlab etc because there is some knowledge of where the change logs for releases are. But if I specify the full url in the custom datasources json why cant this be fetched? Put the links (old and new version) in the PR and show a diff (old vs new) directly.

{
  "releases": [
    {
      "version": "1.0.0",
      "changelogUrl": "https://example.com/1.0.0/CHANGELOG.md"
    },
    {
      "version": "1.0.1",
      "changelogUrl": "https://example.com/1.0.1/CHANGELOG.md"
    }
  ],
}

Of course the underlying download step should take the settings in hostRules into account.

@rarkins rarkins added type:feature Feature (new functionality) and removed type:feature Feature (new functionality) labels Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core:changelogs Related to changelogs/release notes fetching priority-3-medium Default priority, "should be done" but isn't prioritised ahead of others type:feature Feature (new functionality)
Projects
None yet
Development

No branches or pull requests

10 participants