Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

conan config set hooks.conan-center does not work #506

@jalapenopuzzle

Description

@jalapenopuzzle

The setup instructions at
https://github.com/conan-io/hooks#hook-activation
give the following instruction:

conan config set hooks.conan-center

However, when I try this with conan 2.0.7 (current version), it says:

conan config set hooks.conan-center
usage: conan config [-h] [-v [V]] {home,install,list,show} ...
conan config: error: argument subcommand: invalid choice: 'set' (choose from 'home', 'install', 'list', 'show')
ERROR: Exiting with code: 2

It seems that set has been removed from the list of choices.

The instructions also mention setting up a conan.conf file, but do not mention WHERE this file should be placed.

Please advise how to set up the conan hooks, which is required to be able to raise pull requests against https://github.com/conan-io/conan-center-index.

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions