conan-io / conan

Conan - The open-source C and C++ package manager
https://conan.io
MIT License
7.97k stars 952 forks source link

[question] source_credentials.json jinja example #16407

Closed kip3f closed 4 weeks ago

kip3f commented 1 month ago

What is your question?

Hi! I'm experimenting with injecting credentials using source_credentials.json, and I'm interested in setting up a jinja template to do this as per the web page. Is there an example showing how I could configure this? (I've never used Jinja before)

Have you read the CONTRIBUTING guide?

memsharded commented 1 month ago

Hi @kip3f

You have some examples in:

This is the basic jinja usage, for a full reference of jinja you can read: https://jinja.palletsprojects.com/en/3.1.x/templates/

memsharded commented 1 month ago

Did this help? Maybe we can close the ticket? Thanks!

kip3f commented 4 weeks ago

Hi memsharded, this was very helpful, please close the ticket, thanks. May I recommend that the source_credentials.json website be updated to only include jinja templates? I think that would have helped clarify things.