-
Notifications
You must be signed in to change notification settings - Fork 991
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
[question] Hooks and how are they working #17509
Comments
Hi @maitrey Thanks for your question. Yes, you can write a It might also be possible to put it inside "metadata" files instead. Maybe for docs is not the best if you want it always downloaded, but the concept is similar, you can use a hook to save the metadata file see https://docs.conan.io/2/devops/metadata.html#creating-metadata-with-hooks |
So the Jenkins stage runs after conan build + conan export-pkg , would it possible to still upload some generated pdf's ? Doesnot this then violate that package shall be immutable? |
The |
Regarding the documentation use case, if the files are heavy consider the following:
This can save transfer, time and cost if the files are heavy and are not needed everytime. When a developer wants to read them, they can do the |
Thank You for your answer, I was able to understand the feature bit better. |
What is your question?
Dear Conan Folks,
I am again in need of an advice:
I use conan-2.10.2 , Windows and Python-3.12.4.
For all my packages, I use conan build + conan export-pkg.
There is a seperate stage in Jenkins that is called after conan build + conan export-pkg.
This stages generates some documentation, is it possible to write a post package hook to add this file to the package?
Thanks!
Br,
Maitrey
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: