Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] Add --extensions-dir arg to conan #16261

Open
1 task done
rconde01 opened this issue May 15, 2024 · 2 comments
Open
1 task done

[feature] Add --extensions-dir arg to conan #16261

rconde01 opened this issue May 15, 2024 · 2 comments

Comments

@rconde01
Copy link

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?

  • I've read the CONTRIBUTING guide
@memsharded
Copy link
Member

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?

@rconde01
Copy link
Author

I'll check it out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants