Skip to content

sdist should follow symlinks #3963

Open
@sjakobi

Description

@sjakobi

Summary: instead of going with the originally proposed design we decided that cabal sdist should be changed to follow symlinks. Symlinks are not portable anyway, so the generated tarballs shouldn't include them. Original ticket description below.


For multi-package projects it would be nice if one could include e.g. common READMEs or CONTRIBUTING files in each package.

Currently, when I try this with stack sdist using Cabal-1.24.0.0, I get the following message:

'extra-src-files: ../README.md' is a relative path outside of the source tree. This will not work when generating a tarball with 'sdist'.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions