Skip to content

Bundles lose symlinks #534

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

Closed
nOw2 opened this issue May 15, 2012 · 3 comments
Closed

Bundles lose symlinks #534

nOw2 opened this issue May 15, 2012 · 3 comments
Labels
auto-locked Outdated issues that have been locked by automation type: bug A confirmed bug or unintended behavior

Comments

@nOw2
Copy link

nOw2 commented May 15, 2012

I have in-house source packages into which I want to add symlinks for directories. These work fine except when I create a bundle (we use bundles to release code to production).

The bundles are zip files which is where I believe the symlinks are being lost. 'unzip -v' on the bundle shows the broken symlinks, turned into empty directories.

@nOw2
Copy link
Author

nOw2 commented May 15, 2012

Found this comment - my vote is definitely to move to tar since on testing it preserves symlink information.

pip/req.py:
    def create_bundle(self, bundle_filename):
        ## FIXME: can't decide which is better; zip is easier to read
        ## random files from, but tar.bz2 is smaller and not as lame a
        ## format.

@nOw2
Copy link
Author

nOw2 commented May 15, 2012

Reference to a sample which zips symlinks:
https://gist.github.com/610907

@dholth
Copy link
Member

dholth commented May 15, 2012

mksquashfs is the coolest way to preserve symlinks

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 5, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation type: bug A confirmed bug or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants