renovatebot / renovate

Home of the Renovate CLI: Cross-platform Dependency Automation by Mend.io
https://mend.io/renovate
GNU Affero General Public License v3.0
17.56k stars 2.31k forks source link

Support changelogs from Azure DevOps #18324

Open sch1ldkr0ete opened 2 years ago

sch1ldkr0ete commented 2 years ago

What would you like Renovate to be able to do?

Fetch changelogs from Azure DevOps and add the changelog to the PR.

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

Changelog fetching is already implemented for GitHub and GitLab. So we could implement something analog for Azure DevOps using the Azure DevOps Services REST API.

Implementing this could be blocked by #14138 though.

Is this a feature you are interested in implementing yourself?

Yes

HonkingGoose commented 2 years ago

@viceice Can you take a look at this issue? Maybe you want to add it to your big to-do list in #14138?

rarkins commented 2 years ago

We have not made any progress on a big rewrite and I wouldn't want to stand in the way of someone adding a useful feature for themselves and others. If it can be done with more if/else statements.. so be it.

sorensenmatias commented 1 year ago

@sch1ldkr0ete I was really sorry to see your PR for this getting closed due to inactivity. Are there any plans to pick this up again?

illay1994 commented 1 year ago

@rarkins Could you please guide me a little bit? I looked on other provides and they implement their own {platform}-tags datasource based on API request (We have git-tags that should be reused?). What is the preferable solution?

rarkins commented 1 year ago

Are you a user of Azure DevOps and require this use case yourself?

illay1994 commented 1 year ago

Hi @rarkins Yes. We have self-hosted renovate. We run the docker container's latest tag every hour. We have ~30 repos enrolled for now. (~5% of total repos) Repositories are discovered automatically based on #18811 discussion.

rarkins commented 1 year ago

@illay1994 great, so I'm assuming you have some private packages on azure which you would like to support changelogs for? If so, how are those changelogs published? e.g. in a CHANGELOG.md file in the repo, or some other way?

illay1994 commented 1 year ago

Hi @rarkins I would like to start with the CHANGELOG.MD file. And try this way first. We publish in a lot of private places. (Azure wiki, azure artifacts, and others)

ceng-p commented 6 months ago

Any updates @illay1994 ?

illay1994 commented 6 months ago

Not yet. I don't have enough time to fix. You are welcome to contribute

sheldonhull commented 3 weeks ago

I have a qualified url to the file for one of my packages. I can click and open it directly this way as I'm authenticated and when I ran with renovate it opened git credential manager auth, but then said: "Unknown changelog source".

To be clear, even if I have a changelog path that is fully qualified, there is no way to tell it the changelog direct url for "raw" content currently because it seems to prefilter for the support with current platform, correct?