Explicit CHANGELOG.md display #1857
Replies: 4 comments 1 reply
-
That's correct, yes.
Possibly. We've also talked about formatting commit messages into that tab, a little like GitHub also does. @Sherlouk even had a prototype of that working but we decided it needed to be a little richer in its display, which makes it a bigger feature to undertake.
Certainly it's an interesting idea. I'd be interested to know what percentage of packages use a Changelog before committing to it. Would you have an interest in working on the feature if that research turned up good numbers? |
Beta Was this translation helpful? Give feedback.
-
Possibly yeah! |
Beta Was this translation helpful? Give feedback.
-
Interesting! Here are some very brief thoughts on what I think will be involved. It's not going to be a trivial feature to implement but is certainly possible. The first thing we'll need to do is figure out which packages have a Changelog. The best place to do this will probably be the analysis process (which has access to a checked-out version of the repository) and we'll want to store a boolean value in the Then, we'll need to display the changelog for pages where that flag and display a new tab. I don't think it should replace the Release Notes tab as it's quite possible repositories will have both. In terms of rendering the changelog. I think we should leverage GitHub's rendering as we do for Readme files. They sanitise the HTML and render GFM tags which people may also be doing with their changelogs. We currently scrape the rendered GitHub page, which is not ideal at all (and we have #1095 logged to fix that) and it may make sense to do the same here, but we should check if the API mentioned in #1095 supports Changelog files, too, and if it does, consider prioritising #1095 before implementing this. If you are interested, we'll need you to sign a standard Apache Contributor License Agreement before starting work. The easiest way to get that organised would be on our Discord. |
Beta Was this translation helpful? Give feedback.
-
There's the generic
To sum up your suggestions:
|
Beta Was this translation helpful? Give feedback.
-
Currently the SPI has a prominent tab for release notes. I assume that's powered by GH releases, right?
Would you consider exposing
CHANGELOG.md
files (if existing) as a tab (or otherwise), similar to what CocoaPods does?PS: I didn't have any official releases tagged on GH. Thus the tab was fully empty. Should it be hidden in that case?
SPI:
CocoaPods:
Beta Was this translation helpful? Give feedback.
All reactions