-
Notifications
You must be signed in to change notification settings - Fork 43
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
Add metadata to indicate which collections are unmaintained / deprecated / will be removed #450
Add metadata to indicate which collections are unmaintained / deprecated / will be removed #450
Conversation
I created a linter for collection-meta.yaml: ansible-community/antsibull-build#617 |
8ab2fc0
to
4526745
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really want a removal version TBD
? This doesn't look really helpful.
This might be OK for now, but I think we shouldn't have this in a release. Do you think we can give an actual version in time for Ansible 9.10.0 / 10.4.0, that is within the next two weeks?
I disagree for renamed collections: there it simply says "it's renamed, but we haven't yet decided when to remove the redirects". Which IMO is totally fine, as long as we announce removal of the redirects in time.
Right now the old collection is / will be replaced by a set of redirects, which avoid breakage for users. So let's keep these for some time. We should definitely decide on how to handle renames, i.e. for how long to keep redirects, but I don't think we need to do this in the next two weeks so just that we can avoid a TBD. |
I think we should give a definite version when we remove a collection instead of just |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since nobody else left a comment, I guess people are fine with version: TBD
.
So I've reconsidered and say it's OK, too... after all it's it' better than nothing 🤷
We can always sitll disallow TBD later. If https://forum.ansible.com/t/8150 or something similar is accepted there should no longer be a need for TBD anyway. |
Sorry, I think I've lost track and am a little bit confused about this PR. I've changed my opinion on the TBD issue, but I don't understand what should happen with this PR now:
|
Mainly this. |
I renamed two fields to include a prefix |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't personally check the links/versions for validity, but this looks good to me other than that. I guess the only remaining thing is to actual run the linter in CI.
e6e4329
to
16f0e22
Compare
The linting step is now run before test-building the releases. |
Should it be part of the release playbook in antsibull, instead? |
I don't think so, that playbook should use the data (and assume it's correct - it can fail if it isn't), but not do extra linting like making sure the order of the entries is correct. |
Makes sense to me. We could also add the linter to the noxfile as a future enhancement. |
f655f84
to
c9902db
Compare
Anyone mind if I merge this? |
Let's wait until we decide the fate of ansible-community/antsibull-build#622. |
ansible-community/antsibull-docs#330 uses this data for the official docsite, to indicate that collections are deprecated and will be removed from Ansible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @felixfontein
So we should document this new workflow 'somewhere' So SC members know that once a vote to deprecate/remove a collection is final, they have to open a PR in this repo to add the details. |
Maybe something like ansible/ansible-documentation#1884? Feel free to close this PR if you think it's too broken to be fixed. It's just a suggestion 😉 edit: |
@mariolenz @gotmax23 @oraNod @samccann thanks for reviewing this! |
This is necessary to implement ansible-community/antsibull-docs#93.
Basically there are four ways in this PR that mark a collection for removal. I've added three further possibilities below:
What do you think? That should cover all cases in https://docs.ansible.com/ansible/devel/community/collection_contributors/collection_package_removal.html (if I didn't forgot about something), and there's the free-form version (
reason: other
/reason_text: ...
) for other cases.