-
Notifications
You must be signed in to change notification settings - Fork 72
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
Package CHANGELOGs #17
Comments
Previous discussion on package CHANGELOGs, in chronological order, copied over from #14 for ready reference: @mtojek said:
@ruflin said:
@ycombinator said:
@urso said:
@ycombinator said:
@mtojek said:
@urso said:
|
Yeah, fair points. I was thinking having some light structure from the start is good because adding structure to unstructured data is always harder later on. That said, I do not have a concrete use case in mind for structured CHANGELOGs today either! So I'm okay not using YAML for CHANGELOGs.
Given the tooling that's being developed around packages, I think generating CHANGELOGs from PRs as part of the step that publishes a new version of a package to the package registry/storage might be the way to go. I think we will still need to store the generated CHANGELOGs somewhere though? Maybe it's worth discussing a bit about where users might be expected to view package CHANGELOGs? |
There is a fundamental difference here form the changelog for package a package and the overall Beats changelog. In the future, only a subset of the packages will come from the One very annoying thing around changelogs in Beats was that we had constant conflicts. This is because ALL changes went into a single changelog. But each package has its own and I expect 1, max 2 engineers work on the same package and unlikely at the same time. Because of this, conflicts will be hopefully rare. Last, I went for the structure format to allow the part that visualises the changelog to decide on how it visualises it, perhaps only picks the last entries or the entries since the last version installed. |
One more thing that just came to my mind: It is possible that in the |
Recently there has again been desire for packages to have package CHANGELOGs. The most recent motivation comes from folks QA'ing packages so they can easily track changes across package versions they are testing. I'd like to resurrect this discussion now with a hope that we can arrive at some consensus at least for an initial implementation of package CHANGELOGs, just to get things moving. I'll start by summarizing the discussion in the comments above so far.
I think we need to separate the ideas of:
I think this separation will allow us to make progress on this issue. For 1. — in the interest of moving this issue forward — I propose that packages contain a required Keep in mind that we can always decide to go from structured to unstructured (e.g. YAML to MD) later or change the format of the structure (e.g. YML to JSON) later but going from unstructured to structured later will probably be cumbersome and labor-intensive. For 2., as a follow up step, we can build tooling to generate an entry in the |
That sound like a really good plan, @ycombinator |
Thanks @ph @urso @mtojek and @kaiyan-sheng for consensus on the format and location of package CHANGELOGs (point 1 from my last comment). I've updated this issue's description to safely rollout the package We can continue the discussion on point 2 now:
@mtojek I think you had some ideas about how to go about this. Do you mind reiterating / elaborating on them a bit now so we can discuss them and arrive at some consensus? |
All items in checklist (in issue description) have now been completed. Closing issue. |
* Create stub for CLI * Run make check * Add README file * Fix: README * Fix make check
Forked off from discussion about package CHANGELOGs in #14.
We need to decide how best to capture CHANGELOGs for packages. Some ideas that have been proposed so far:
[UPDATE] After discussion below and consensus on where and how package CHANGELOGs should be stored, I'm adding a few checklist items below for next steps to implement the agreed-upon changes:
integrations
repo with skeleton CHANGELOG files for each integration package: Adding package changelogs integrations#675integrations
repo package owners about adding CHANGELOG files: email sentelastic-package
with package spec changes: Updating package spec dependency elastic-package#252integrations
repo withelastic-package
changes: Adding package changelogs integrations#675The text was updated successfully, but these errors were encountered: