Open albertteoh opened 2 years ago
The simplest approach is to copy the release-notes.py script from jaegertracing/jaeger.
The trade-off is that this could get out of sync with jaegertracing/jaeger's version, so a potential alternative is to explore a file-sync mechanism and maintaining jaegertracing/jaeger's script as the canonical version: https://github.com/marketplace/actions/repo-file-sync-action.
The benefit of the latter approach is that it should scale quite easily to other jaegertracing repos like jaeger-operator, etc... which seem to either have no automated means of generating changelogs, or perhaps bespoke scripts to achieve the same.
Requirement - what kind of business use case are you trying to solve?
Generate changelog notes for a Jaeger UI release.
Problem - what in Jaeger blocks you from solving the requirement?
Tried following instructions in https://github.com/jaegertracing/jaeger-ui/blob/main/RELEASE.md which suggests using get-changelog.js, but resulted in:
Being a relative newbie to javascript, I may have not used the correct command to execute this script.
Proposal - what do you suggest to solve the problem or improve the existing situation?
Given Jaeger UI releases are, more or less, coupled to Jaeger releases, I propose that Jaeger UI adopt the same changelog generation scripts as Jaeger.
This was tested against Jaeger UI without any modifications to the existing release-notes.py.
I propose to encapsulate this within a Makefile target so the usage should be: