Open tdruez opened 5 months ago
Hey @tdruez I was thinking to work on this, the possible procedure would be
CHANGELOG.rst
using the CHANGELOG.rst
just like that in the https://github.com/nexB/scancode.io/releasesAnd that's it.
And that's it.
Not exactly, my point is to have detailed notes along a release about what's new and what requires special attention for upgrading. Similar to https://docs.djangoproject.com/en/5.0/releases/5.0/
And that's it.
Not exactly, my point is to have detailed notes along a release about what's new and what requires special attention for upgrading. Similar to https://docs.djangoproject.com/en/5.0/releases/5.0/
So that CHANGELOG would be hard coded since you are mentioning in https://docs.djangoproject.com/en/5.0/releases/5.0/ instead of that automatically generated from the PR's squashed commit having detailed description of the changes made in the codebase and automatically added in the CHANGELOG?
My suggestion:
I have a idea to automate this process like instead of having CHANGELOG
, we should also go with the approach that the https://github.com/django/django/ has used of having https://github.com/django/django/tree/main/docs/releases with each file created on the new release with all this using a GitHub Action
The GitHub Action will work at the time of release, take up the Target of the change branch
, Tag of the version details
and getting the commit details on that branch and then adding in the form of the release file or changes in the CHANGELOG.
The content in https://github.com/django/django/tree/main/docs/releases seems to be manually added though.
The content in https://github.com/django/django/tree/main/docs/releases seems to be manually added though.
But we can came up with something automated stuff, lemme try this on a empty repo of myself and if works i will implement over scancode.io whatsay?
@swastkk I think you are missing my initial point:
The changelog can be automatically generated from the commits at release time. What would be more interesting instead of maintaining the current changelog at would be to provide "Release notes" including pertinent information about new features, new pipelines, deprecation, etc...
Ya I understood that thing, you are saying like we use to maintain the ChangeLog
on time to time basis but this changelog is easily generated at release time, so we have to develop a method to get the Changelog file updated on the release time or alternatively creating a New release file with version.md
containing all the information about the changelog on version release.
For Example
A data migration is included to facilitate the migration of existing data. Only the new names are available in the web UI but the REST API and CLI are backward compatible with the old names. Issue #1044
Implemented both approaches with GitHub action working on the
on:
release:
types: [published]
but with that on each version release, having detailed information about the changes made in the codebase.
Which approch do you think suits the scancode project?
For examplary purpose i took the release notes of scancode.io
The changelog can be automatically generated from the commits at release time.
What would be more interesting instead of maintaining the current changelog at https://github.com/nexB/scancode.io/blob/main/CHANGELOG.rst would be to provide "Release notes" including pertinent information about new features, new pipelines, deprecation, etc... Similar to Django's release notes https://docs.djangoproject.com/en/5.0/releases/5.0/