-
Notifications
You must be signed in to change notification settings - Fork 336
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
data scraper for Changelogs #2949
base: main
Are you sure you want to change the base?
Conversation
This field stores the project's name and version string parsed from the file path and the slug.
This scraper doesn't generate changelog entries, instead it exits with an error when one is missing. The intention is to be notified when a changelog is missing.
Release names can be different on Github, which triggers false positives. The new 'versions' field in changelogs can be used to specify the release name on Github and to associate several releases with one changelog.
@@ -2,6 +2,7 @@ | |||
title: Release of OCaml 5.2.0 | |||
description: Release of OCaml 5.2.0 | |||
tags: [ocaml] | |||
versions: ["OCaml 5.2.0"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The versions
field is used when the release name doesn't match the changelog file name or to group several releases with one changelog (eg. beta releases)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the policy on prereleases? Do we want to advertise them or hide them? Aren't prerelease for the interested-in only?
@@ -129,6 +129,8 @@ module Changelog = struct | |||
body_html : string; | |||
body : string; | |||
authors : string list; | |||
project_name : string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
project_name
is parsed from the slug.
Thanks @Julow, that's great. |
This adds a tool that detects missing changelogs by looking at projects' release pages. My intention is to write a GA that will notify maintainers (perhaps by opening draft PRs) for new releases.
Does that sound good ?
This will not help catching new releases in its current form but it can be used to add changelogs that are already missing. Here's its output: