Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Create a policy for hotfix/bugfix ansible releases #231

Closed
gotmax23 opened this issue May 20, 2023 · 6 comments
Closed

Create a policy for hotfix/bugfix ansible releases #231

gotmax23 opened this issue May 20, 2023 · 6 comments

Comments

@gotmax23
Copy link
Contributor

Summary

Currently, we preform releases every three weeks following ansible-core releases. Occasionally (e.g. ansible-community/ansible-build-data#232, ansible-community/ansible-build-data#114), there may be a reason to cut a bugfix release. We should consider creating a policy on when to preform interim bugfix releases and add documentation for how to cut a hotfix/bugfix release in ansible-build-data (ansible-community/ansible-build-data#221 tracks release documentation efforts).

@gotmax23 gotmax23 added discussion_topic next_meeting Topics that needs to be discussed in the next Community Meeting labels May 20, 2023
@felixfontein
Copy link
Contributor

It's every four weeks, not every three.

@felixfontein
Copy link
Contributor

In the past we did some bugfix releases:

  1. 5.7.4 (May 2022)
  2. 5.0.1 (December 2021)
  3. 2.10.3 (one day after 2.10.2) - note that we did use a different version scheme back then

5.7.1: "This is a hotfix release to ansible 5.7.0 in order to roll back the version of fortinet.fortios to 2.1.4 from 2.1.5 to address a syntax error pending a new release of the collection."

5.0.1: "Ansible 5.0.1 raises the python requirement from >=2.7 to >=3.8 in order to match ansible-core. The content of 5.0.1 is otherwise identical to 5.0.0." - we even had to remove 5.0.0 to make some old pip versions happy.

2.10.3: "Yesterday's release of Ansible-2.10.2 contained some output from running tests which amounted to a 30% increase in the size of the Ansible tarball. The size ended up doubling the time necessary to install ansible using pip. The Ansible-2.10.3 release removes the test output to bring the size back down to a more normal level. Other than that, it should be the same as the 2.10.2 release."

So far, all bugfix releases for Ansible (after 2.9) were about packaging issues. Security issues were fixed in regular 'minor' releases. (This is also what ansible-core does.) But then, we also were not aware of a serious (enough) security issue fixed in a collection long before the next Ansible release.

@gotmax23
Copy link
Contributor Author

gotmax23 commented May 31, 2023

@samccann suggested:

I'd say a secruity issue gets fixed, anything else is up to the discretion of the release manager, with the option to raise it to the steering committeee if the user feels it needs to override the release manager

and there was some agreement about that policy in the meeting.


Later, it was suggested to open up this decision to all of the 'release team' and ansible-build-data committers

@felixfontein
Copy link
Contributor

Regarding security fixes, I think it depends on how critical they are (and how critical the underlying issue is). Not every security fix in a contained collection does need to trigger a new bugfix release, that would just be excessive.

Having a consensus between a few folks of the release team and the ansible-build-data committers sounds like a good idea as a criterium for whether to make a release or not.

@samccann samccann removed the next_meeting Topics that needs to be discussed in the next Community Meeting label Jul 19, 2023
@mariolenz
Copy link
Contributor

@gotmax23 Please close this issue if done, or open a new forum topic and then close the issue with a pointer to the new discussion: Community-topics: Archiving the repo

@Andersson007
Copy link
Contributor

as @gotmax23 is notified, let's close it, thanks everyone!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants