-
Notifications
You must be signed in to change notification settings - Fork 9
[Vote ends on 2022-03-23] Which files to remove from the Ansible 6 installation #76
Comments
+1 |
+1 |
+1 either way but will this also affect |
@briantist no, |
+1 |
+1 |
1 similar comment
+1 |
+1 In favor of stripping any files that are not explicitly part of the collection "runtime". Ideally collection archival process should take care of this but we know that the process is not perfect and that too often the archives endup containing more than needed. |
+1 |
2 similar comments
+1 |
+1 |
+1, slimming down the package is a good idea. |
Votes:
|
Re-count:
|
Oh, I totally missed gundalow here! Sorry! |
* Exclude certain unnecessary files from the bdist. * Collect ignore list in code (while looking at the real file list), not in template. * Add changelog fragment. * Adjust to ansible-community/community-topics#76.
Thanks everyone! ansible-community/antsibull#342 is now merged, once a new version of Antsibull is released (end of this week / beginning of next) we're ready for 6.0.0a1 :-) |
Summary
From Ansible 6 on, exclude the following directories and files from the installation (and thus from the wheels) for every collection included:
tests/
,docs/
, and every file and directory starting with a period in the collection root ("dot files" like.gitignore
, directories like.github/
). All files will still be present in the source tarball on PyPi, they will only not be installed and not be present in wheels.This approach can be amended (after another vote) if it turns out to cause big problems during the alpha/beta phase of Ansible 6. (For Ansible 7 or a later release, we can of course decide to do something else.)
The text was updated successfully, but these errors were encountered: