You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/policies.md
+15-11Lines changed: 15 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -69,40 +69,43 @@ In case of violations, the release manager must preform the following steps:
69
69
1. First, the collection must be restricted to the previous tagged release in
70
70
the `ansible-VERSION.constraints` file.
71
71
72
-
Take the `community.docker` collection as an example. If its version 3.9.0
73
-
was released and correctly tagged, and 3.9.1 was released but not correctly
74
-
tagged, add
72
+
Take the `community.docker` collection as an example. If its version 3.9.0
73
+
was released and correctly tagged, and 3.9.1 was released but not correctly
74
+
tagged, add
75
75
76
-
```
77
-
community.docker: <3.9.1
78
-
```
76
+
```
77
+
community.docker: <3.9.1
78
+
```
79
79
80
80
2. Commit only the changed `ansible-VERSION.constraints` file:
81
81
82
82
```
83
83
git add 8/ansible-8.constraints
84
84
git commit -m "pin community.docker to previous release"
85
85
```
86
+
86
87
3. Rerun the release playbook.
87
88
In this example, the ansible distribution will be built with
88
89
community.docker 3.9.0 even though community.docker 3.9.1 is the latest
89
90
version.
91
+
90
92
4. Proceed with the rest of the release process as normal.
91
93
Commit the other changed files.
92
94
The collection release PR should be applied using the `Rebase and merge`
93
95
option (as opposed to `Squash and merge`) so the first commit can be more
94
96
easily reverted when/if the collection fixes the issue.
97
+
95
98
5. The release manager or another community member needs to file an issue in
96
99
the violating collection's issue tracker.
97
100
This part should not block the current ansible package release,
98
101
but the issue must have been filed before the following minor release.
99
102
The following issue template can be used:
100
103
101
-
``` markdown
102
-
Hi! As part of the ansible community package release process, we've determined that version {VERSION} of {COLLECTION} was released to Ansible Galaxy but not properly tagged in this Git repository.
103
-
This violates the [repository management][1] section of the Collection Requirements:
104
+
``` markdown
105
+
Hi! As part of the ansible community package release process, we've determined that version {VERSION} of {COLLECTION} was released to Ansible Galaxy but not properly tagged in this Git repository.
106
+
This violates the [repository management][1] section of the Collection Requirements:
> Every collection MUST have a public git repository. Releases of the collection MUST be tagged in said repository. This means that releases MUST be `git tag`ed and that the tag name MUST exactly match the Galaxy version number. Tag names MAY have a `v` prefix, but a collection's tag names MUST have a consistent format from release to release.
108
111
>
@@ -112,7 +115,8 @@ In case of violations, the release manager must preform the following steps:
0 commit comments