Skip to content
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 verify-upstreams and sanity-tests subcommands #556

Merged
merged 10 commits into from
Jan 21, 2024

Conversation

gotmax23
Copy link
Contributor

@gotmax23 gotmax23 commented Nov 12, 2023

@gotmax23

This comment was marked as outdated.

@gotmax23 gotmax23 force-pushed the verify-upstream branch 2 times, most recently from eb6bab1 to 8625570 Compare November 22, 2023 05:38
@gotmax23 gotmax23 changed the title [RFC] add verify-upstream subcommand [RFC] add verify-upstreams and sanity-tests subcommands Nov 23, 2023
@gotmax23 gotmax23 force-pushed the verify-upstream branch 3 times, most recently from e75736a to 9a843f4 Compare November 29, 2023 04:55
@gotmax23 gotmax23 force-pushed the verify-upstream branch 3 times, most recently from 3a5dbaa to 3b411a7 Compare December 2, 2023 22:22
@gotmax23 gotmax23 added the rebase_merge Use the Rebase and merge feature to apply this PR label Dec 2, 2023
@gotmax23 gotmax23 marked this pull request as ready for review December 3, 2023 01:37
@gotmax23 gotmax23 force-pushed the verify-upstream branch 2 times, most recently from 959885f to c9a9b8c Compare December 3, 2023 02:47
@gotmax23 gotmax23 changed the title [RFC] add verify-upstreams and sanity-tests subcommands add verify-upstreams and sanity-tests subcommands Dec 3, 2023
src/antsibull/utils/paths.py Outdated Show resolved Hide resolved
src/antsibull/constants.py Outdated Show resolved Hide resolved
src/antsibull/sanity_tests.py Show resolved Hide resolved
@gotmax23 gotmax23 force-pushed the verify-upstream branch 2 times, most recently from 267a31f to cc3a7fd Compare December 16, 2023 22:07
@gotmax23 gotmax23 requested a review from felixfontein January 21, 2024 01:54
@gotmax23 gotmax23 force-pushed the verify-upstream branch 2 times, most recently from 3b5fdf8 to bb35c47 Compare January 21, 2024 21:26
@gotmax23
Copy link
Contributor Author

Restarting CI

@gotmax23 gotmax23 closed this Jan 21, 2024
@gotmax23 gotmax23 reopened this Jan 21, 2024
We can use a TypedDict to provide more structured type checking for the
tag data dictionary.
Add a `verify-upstreams` subcommand to ensure that files in a
collection's Galaxy collection artifact (roughly) match the contents of
its upstream repository.
This will help enforce the Repository Management policies in the
Collection Requirements.
Some collections have symlinks like
`playbooks/ansible_collections/NAMESPACE/NAME -> ../../../`
or `README.md -> ../README.md` (in a repository where the collection is
in a subdirectory) that require special handling.
We want to preserve symlinks unless they point to a file from outside
the collection directory.
@gotmax23 gotmax23 merged commit 243845b into ansible-community:main Jan 21, 2024
9 checks passed
@gotmax23
Copy link
Contributor Author

Thanks, @felixfontein, for the review and detailed feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rebase_merge Use the Rebase and merge feature to apply this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants