conan-io / hooks

Official Conan client hooks
MIT License
33 stars 46 forks source link

[conan center] Check there are no symlinks to outside files #202

Open jgsogo opened 4 years ago

jgsogo commented 4 years ago

I see no reason why a package in Conan Center should add a symlink to a file outside the package. A hook checking for this would avoid errors like https://github.com/conan-io/conan-center-index/pull/1762 (failure would have been in the PR instead of master branch)

jgsogo commented 4 years ago

Probably a stand-alone hook, I think it could be useful for anyone using Conan

jgsogo commented 4 years ago

It could be built on top of a tool like this one: https://github.com/conan-io/conan/pull/7178