-
Notifications
You must be signed in to change notification settings - Fork 31
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
Ansible tarball duplicates symlinked modules #218
Comments
The duplication seems to be done by the Maybe the best way around this would be to extract the resulting tarball, de-duplicate, and then re-tar. |
We could do that. Of course, by then we've lost the symlink information. We could hash all of the files to decide what files are the same. Or we could override the setuptools sdist implementation with our own (which is what is done inside of ansible). |
We still have the symlink information since we have the original version that was tared :) But yeah, replacing the sdist implementation sounds better, especially if ansible-core already does that. |
There maybe some about building on Python 3.9 and symlinks changing (at least using the process that builds ansible-core) |
The main impact of this will go away with Ansible 6 since then community.general and community.network will drop the symlinks and use meta/runtime.yml for redirects (since they drop Ansible 2.9 support). |
Due to [1] the same file exists in two places, so fix the second file too. [1] ansible-community/antsibull-build#218 git-svn-id: file:///srv/repos/svn-community/svn@1140361 9fca08f4-af9d-4005-b8df-a31f2cc04f65
Due to [1] the same file exists in two places, so fix the second file too. [1] ansible-community/antsibull-build#218 git-svn-id: file:///srv/repos/svn-community/svn@1140361 9fca08f4-af9d-4005-b8df-a31f2cc04f65
@felixfontein Is this still relevant? I thought people switched to the routing/redirect mechanism by now... |
Some did, but not all. The bulk of it did though (which was community.network and community.general). Since we don't really want to create (and maintain) our own package biulder which doesn't do this, I think we can close it though. Thanks for the reminder :) |
All modules in c.g and c.n are in subdirectories, with symlinks in
plugins/modules/
to the correct copy. The collection artefact on galaxy contains these symlinks, but the Ansible tarball replaced the symlinks with copies.The text was updated successfully, but these errors were encountered: