Closed sivel closed 5 months ago
I am not sure what files we would be skipping. Perhaps only:
I wonder if tests are omitted by default. Need to check when I have a chance.
Any other ideas what to skip and if something at all?
docs
and tests
are purposefully included in the default manifest directives. docker-compose.yml
would not be included in the root, but would be if it happens to appear in a place where .yml
files are included. If you read the documentation link provided above, it outlines the default directives in use.
Please feel free to create a discussion at https://github.com/ansible-collections/news-for-maintainers/discussions if you would like to discuss this further.
We merged a new opt-in feature yesterday, allowing a
galaxy.yml
to specifyMANIFEST.in
directives instead of utilizingbuild_ignore
.The effective outcome is that
manifest:
is exclusive by default, whereasbuild_ignore:
is inclusive by default. When usingmanifest:
there are a default set of directives that should meet the majority of users use cases, as opposed to whatbuild_ignore:
had provided. Simply addingmanifest:
togalaxy.yml
and ensuring nobuild_ignore:
is specified will opt into this behavior.You can read more about this at https://docs.ansible.com/ansible-core/devel/dev_guide/developing_collections_distributing.html#manifest-directives
This will be included in 2.14, and as of now requires installing the optional dependency
distlib
. We plan to discuss whether we makedistlib
a hard dependency, and promotemanifest:
as the default, but for now, it is opt-in and an optional dependency.