#3782 Pagure tarballs created by setuptools dereference symlinks, use `git archive` instead
Closed: Fixed Opened by ngompa.

Tarballs created by setuptools/distutils using python setup.py sdist will resolve symlinks as part of the archive creation process. This is a known issue in setuptools.

This behavior, however, breaks Pagure itself since a number of hooks need symlinks to function correctly.

However, creating source tarballs using git archive should work as intended.


Metadata Update from @pingou:
- Issue assigned to pingou
- Issue set to the milestone: 5.2
- Issue tagged with: debt

Commit 4937c4e2 fixes this issue

Metadata
Related Pull Requests