[feature] Add `--extensions-dir` arg to conan
What is your suggestion?
Currently extensions need to be in CONAN_HOME, but potentially you want the extension source to be kept in your repository for versioning purposes - e.g. if you change the behavior over time and other infrastructure depends on a particular behavior. This would be facilitated by an --extensions-dir argument which overrides, or potentially takes precedence, over the directory in CONAN_HOME.
Have you read the CONTRIBUTING guide?
- [X] I've read the CONTRIBUTING guide
Hi @rconde01
Currently extensions need to be in CONAN_HOME, but potentially you want the extension source to be kept in your repository for versioning purposes - e.g. if you change the behavior over time and other infrastructure depends on a particular behavior.
For this purpose we have recently added the conan config install-pkg command that can use Conan packages to store the extensions, so they are not only versioned, but they can also be updated, they can be part of lockfiles and they can even be part of the package_id of the packages that use that specific configuration package. Have you checked it?
I'll check it out
Just getting around to this now. Unfortunately this doesn't really fix the problem I had, which is that I might have multiple clones using the same local cache. Regardless of how the extensions get installed, I still have the problem that both can't work at the same time. The suggested switch would allow that.