conan-io / hooks

Official Conan client hooks
MIT License
32 stars 45 forks source link

Debian: conan-center hook always reports "pre_export(): could not get source code" #302

Open alejandro-colomar opened 3 years ago

alejandro-colomar commented 3 years ago

Having installed conan with the latest (I did it a few weeks ago; maybe it's not the latest by now...) official Debian installer found in https://conan.io/downloads.html

Using Debian Sid (unstable)

~/src/conan/conan-center-index$ conan config install https://github.com/conan-io/hooks.git -sf hooks -tf hooks
Trying to clone repo: https://github.com/conan-io/hooks.git
Repo cloned!
Copying file conan-center.py to /home/alx/.conan/hooks/.
Copying file export_metadata.py to /home/alx/.conan/hooks/.
Copying file spdx_checker.py to /home/alx/.conan/hooks/.
Copying file members_typo_checker.py to /home/alx/.conan/hooks/.
Copying file recipe_linter.py to /home/alx/.conan/hooks/.
Copying file attribute_checker.py to /home/alx/.conan/hooks/.
Copying file binary_linter.py to /home/alx/.conan/hooks/.
Copying file github_updater.py to /home/alx/.conan/hooks/.
~/src/conan/conan-center-index$ conan config set hooks.conan-center
~/src/conan/conan-center-index$ cd recipes/libavrocpp/all/
~/src/conan/conan-center-index/recipes/libavrocpp/all$ conan create . libavrocpp/1.10.2@
ERROR: [HOOK - conan-center.py] pre_export(): could not get source code
~/src/conan/conan-center-index/recipes/libavrocpp/all$ conan create . libavrocpp/1.10.3@
ERROR: [HOOK - conan-center.py] pre_export(): could not get source code
~/src/conan/conan-center-index/recipes/libavrocpp/all$ conan create . libavrocpp/1.10.1@
ERROR: [HOOK - conan-center.py] pre_export(): could not get source code
alejandro-colomar commented 3 years ago

Related to https://github.com/conan-io/hooks/issues/157

uilianries commented 3 years ago

@alejandro-colomar Thank you for moving to a new issue!