Skip to content

Latest commit

 

History

History
223 lines (150 loc) · 12.4 KB

removal_from_ansible.rst

File metadata and controls

223 lines (150 loc) · 12.4 KB

Ansible Community Package Collections Removal Process

Sometimes the Ansible community removes a collection from the Ansible package for stability, legal, or security reasons. This document describes why we might remove a collection from the Ansible community package (build data).

In cases of emergency (for example, a serious security vulnerability that is not fixed in a collection) the Ansible Community Engineering Steering Committee can vote on emergency exceptions. In most cases, we follow the rules listed on this page.

The general process of removing a collection follows these steps:

  1. Announcing an upcoming removal of a collection.
  2. Removing the collection.
  3. When appropriate, re-adding the collection.
  1. Announce upcoming removal in the Ansible changelog (https://github.com/ansible-community/ansible-build-data/blob/main/<X>/changelog.yaml). See the following link for an example on how to add changelog entries to the Ansible changelog.
  2. Announce upcoming removal in the collection's issue tracker.
  3. Announce upcoming removal in The Bullhorn.

To remove a collection from Ansible version X.0.0:

  1. Remove from ansible.in (https://github.com/ansible-community/ansible-build-data/blob/main/<X>/ansible.in).
  2. Remove from collection-meta.yaml (https://github.com/ansible-community/ansible-build-data/blob/main/<X>/collection-meta.yaml).
  3. Document actual removal for the first/next alpha of Ansible X.0.0 in the Ansible changelog (https://github.com/ansible-community/ansible-build-data/blob/main/<X>/changelog.yaml). See the following link for an example on how to add changelog entries to the Ansible changelog.

Re-adding a collection to Ansible works the same as adding it in the first place. See the process of adding a new collection to Ansible for reference.

  1. Re-add collection to ansible.in (https://github.com/ansible-community/ansible-build-data/blob/main/<X>/ansible.in).
  2. Re-add collection to collection-meta.yaml (https://github.com/ansible-community/ansible-build-data/blob/main/<X>/collection-meta.yaml).
  3. If the removal was announced in the Ansible changelog for a version that has not yet been released (https://github.com/ansible-community/ansible-build-data/blob/main/<X>/changelog.yaml), remove the announcement.

The community can remove a collection from the Ansible community package if the collection is broken.

A collection is considered broken if one of the following conditions is true:

  1. It depends on another collection included in X.0.0 but does not work with the actual version of it that is included, and there is no content in the collection that still works.

We remove broken collections from Ansible (X+1).0.0 under the following conditions:

  1. The collection seems to be unmaintained and nobody fixes the problems.
  2. The plan to remove the collection in the next major Ansible release is publicized at least two months before the (X+1).0.0 release, and at least one month before the first (X+1).0.0 beta release (feature freeze).

The announcement mentioned below must state the reasons for the proposed removal and alert maintainers and the Ansible community that, to prevent the removal, the collection urgently needs new maintainers who can fix the problems.

  1. Announce upcoming removal in Ansible X+1.
  2. Remove collection from Ansible X+1.
  1. The issues have to be fixed and a new release (bugfix, minor or major) has to be made before the Ansible X+1 feature freeze.
  2. Someone has to promise to maintain the collection and prevent a similar situation at least for some time.
  1. Update the removal issue in the collection's issue tracker and close the issue.
  2. Announce cancelled removal in The Bullhorn.
  3. Re-add collection to Ansible X+1.

Conditions under which the collections can be re-included in the Ansible package without going through the full inclusion process:

  1. The issues have to be fixed and a new release has to be made before the Ansible X+2 feature freeze.
  2. Someone has to promise to maintain the collection and prevent a similar situation at least for some time.
  1. Follow regular process of adding a new collection to Ansible.

A collection is considered unmaintained if multiple of the following conditions are satisfied:

  1. There has been no maintainer's activity in the collection repository for several months (for example, pull request merges and releases).
  2. CI has stopped passing (or even has not been running) for several months.
  3. Bug reports and bugfix PRs start piling up without being reviewed.

There is no complete formal definition of an unmaintained collection.

  1. The appearance that the collection is no longer maintained and might be removed from the Ansible package has to be announced both in The Bullhorn and in the collection's issue tracker.
  2. At least four weeks after the notice appeared in The Bullhorn and the collection's issue tracker, the Ansible Community Engineering Steering Committee (SC) must look at the collection and vote that it considers it unmaintained. The vote must be open for at least one week.
  3. If the SC does not vote that the collection seems to be unmaintained, the process is stopped. The issue needs to be updated accordingly.
  4. If X.0.0 will be released next, set Y=X+1. If X.0.0 has already been released, but (X+1).0.0 has not yet been released, set Y=X+2.
  5. Announce upcoming removal from Ansible Y.
  6. Remove collection from Ansible Y.
  1. Ansible Y has not yet been released.
  2. One or multiple maintainers step up, or return, to clean up the collection's state.
  3. There have been concrete results made by new maintainers (for example, CI has been fixed, the collection has been released, pull request authors have got meaningful feedback).
  1. The Steering Committee votes on whether the result is acceptable.
  2. A negative vote must come with a good explanation why the clean up work has not been sufficient. In that case, this process stops.
  3. If the Steering Committee does not vote against still removing the collection (this includes the case that the vote did not reach quorum), proceed as follows.
  4. Re-add collection to Ansible Y.

There is no simplified process. Once the collection has been removed from Ansible Y.0.0, it needs to go through the full inclusion process to be re-added to the Ansible package. Exceptions are only possible if the Steering Committee votes on them. The Steering Committee can approve or deny a fast re-entry without going through the full review process.

A collection can be removed from the package if it violates one or more of the Collection Requirements without resolving the violations within the time allowed.

This section is not applicable to cases of broken or unmaintained collections. Instead, see the corresponding paragraphs of this document.

  1. A collection violates one or more of the Collection Requirements.
  2. Collection maintainers have not fixed the violations and have not released a fixed version of the collection within the time period established by this document.
  1. Any community member who finds a collection that violates one or more of the Collection Requirements may file an issue against said collection's repository. If the reporter is unsure whether something constitutes a violation or believes that the apparently violated guideline is unclear, they should consult with the steering committee by filing a community topic before proceeding.
  2. The issue filed against the collection's repository should include the following information:
  • References to the corresponding Collection Requirements the collection violates.
  • Actions collection maintainers need to do to make the collection comply with the requirements.
  1. A default term for the collection to solve the issue is four weeks since the issue was created. It can vary depending on a requirement violated, SC opinions or other circumstances.
  2. If the violation is not fixed or there is a disagreement between the reporter and the maintainers, the reporter or another person creates a community topic.
  3. Two SC members check the reported circumstances and confirm in the topic that the violation is present from their point of view, and is one that must be fixed.
  4. The Community and SC vote on considering the collection violating the requirements and removing it from the package. The vote must be open for at least one week.
  5. If SC votes that the collection does NOT violate the requirements, the process is stopped. The issue needs to be updated accordingly.
  6. If X.0.0 will be released next, set Y=X+1. If X.0.0 has already been released, but (X+1).0.0 has not yet been released, set Y=X+2.
  7. Announce upcoming removal from Ansible Y in the original issue in the collection's repository.
  8. Announce upcoming removal from Ansible Y.
  9. Remove collection from Ansible Y.
  1. Ansible Y has not yet been released.
  2. All the requirements violations have been fixed.
  1. SC votes on whether the result is acceptable.
  2. A negative vote must come with a good explanation why the actions done by collection maintainers have not been sufficient.
  3. If SC does not vote against the removal of the collection (this includes the case that the vote did not reach quorum), the removal will continue.
  4. If SC votes to cancel the removal, re-add collection to Ansible Y.

There is no simplified process. Once the collection has been removed from Ansible Y.0.0, it needs to go through the full inclusion process to be re-added to the Ansible package. Exceptions are only possible if SC votes on them. SC can approve or deny a fast re-entry without going through the full review process.