-
Notifications
You must be signed in to change notification settings - Fork 65
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
Formalize/document process for providing Fleet and Elastic Agent release notes #124
Comments
@ph @jen-huang Do we want to tackle this for 7.14, or continue to update the relnotes manually? |
@andresrc We need to sort out some automation for generating release notes for Fleet and Elastic Agent. Maybe this should be a dev issue instead of docs? |
@andresrc Are there any updates on the release notes process? I'd like to stop doing this manually or get the development team to own the updates because it keeps slipping through the cracks for patch releases. |
@cmacknz I am reviving this discussion because I've been doing the Elastic Agent release notes manually for quite some time now. It involves me picking through the changelog each release, comparing it to the commit for the build candidate, and copying (plus editing) the list of Elastic Agent changes into the release notes published under https://www.elastic.co/guide/en/fleet/current/release-notes.html. I also copy the Fleet-related release notes from the Kibana docs so that they are in one place for Fleet and Elastic Agent users. I know you've been working on Beats release notes, and I wonder if we can start following a similar process. We also need to decide if duplicating the Fleet release notes in the Fleet/Agent documentation makes sense (rather than pointing to the Kibana docs). (TBH, I was really hoping that we would have some kind of consolidated release notes by now so that users would see all the stack-related release info in one place, but that hasn't happened yet because no one is leading the effort AFAIK.) I'd like to arrive at some kind of automated system (or at least have someone from the dev team on the hook for these release notes). @ollyhowell I'm marking this as a to-do on our project board because it's been in the backlog for too long. |
We are planning to use a new process for the agent release notes starting in 8.5.0 using https://github.com/elastic/elastic-agent-changelog-tool. The first PR is here elastic/elastic-agent#1244. @andresrc can provide more details the tool itself, but it should remove the need to manually pick out the changes that should be published from the agent changelog.next file. |
@dedemorton we are using 8.5.0 as a pilot we will send more details during the FF period. |
I'm going to leave this open to make sure that the new process is communicated to the writing team once we have things nailed down. |
@cmacknz Just wanted to check in with you on a few questions related to the Elastic Agent/Fleet Server release notes.
|
We are planning to keep using the elastic-agent-changelog tool in the elastic-agent repository for 8.6
We've only changed the process for the elastic-agent repository, so no.
We're open to suggestion on this. I think what makes the most sense is for the development team to make sure that the changelog fragments are correct, and can generate a valid changelog. The writing team is then responsible for creating the changelog PR and editing the content as needed. For timing usually the final BC being generated is when we try to generate and cleanup the changelog. It is a lot easier to notice the addition of new changelog fragements though, so we could try to start the process earlier if it would be helpful. |
We are still figuring out how to manage and enforce the creation of changelog entries. In particular we need some automation to delete the fragements once the release has happened. |
@cmacknz We need to sort out the release notes process. For the 8.6.x release notes, it's probably better for users if we continue to assemble the content manually so that it is consistent with other 8.6.x release notes. Right now, your release process document is a little vague about how that happens for Agent/Fleet relnotes. That document needs to be clear about who is doing the manual work and what needs to be done. For 8.7, though, it would be really good to get this process fully automated. We need to have a plan for what the new release notes content will look like. Ideally, at some point, your team should "own" the release notes and just ask the writers to review them. Some thoughts:
cc'ing @elastic/ingest-docs for awareness. |
Sorry I think I should have pinged @pierrehilbert on my question. |
According to me, the best solution would be to migrate beats on the new changelog solution too and to change the current pipeline to consolidate ascii doc from each repository. |
I definitely think the changelog consolidation step for the Elastic Agent should be triggered by the Beats changelog job (or another similarly named new job): https://beats-ci.elastic.co/job/Beats/job/Release/job/beats-release-changelog/ We need automation to generate the YAML changelog summary in the agent repository and also delete the changelog fragments that are no longer needed. I would set this up before we migrate Beats to make sure we get it working properly. |
@cmacknz Will the automation work happen in time for 8.7? Do we want to change the format of the published release notes to work better with your automation? Based on the responses to my questions, I'm not sure when the dev team will take over ownership of the release notes or what the writing team needs to do to support you for 8.7 and later. I'll continue to hack together the 6.8.x relnotes until that's no longer required. |
Related: https://github.com/elastic/elastic-agent-changelog-tool Is there an issue or meta-issue in the Goals:
Next steps
|
Related: #200 |
Hey @karenzone, |
Thank you, @pierrehilbert. I'm out the following week, but will set something up when I return. |
Closing because this issue is quite old. If this work is still required, please open a new issue. |
We've been building the Fleet and Elastic Agent release notes by hand since version 7.13, but we need to formalize a process and start generating release notes.
02/15/2023 Edited to make this description more relevant.
The text was updated successfully, but these errors were encountered: