specify patches in conandata.yaml
See original GitHub issueit’s often needed to specify patches to apply, and list of patches may vary from version to version. we may use something like:
patches:
1.70.0:
- "001-xxx"
- "002-xxxx"
it also would be nice to ensure every recipe uses the same format. consider use some sort of schema to validate conandata.yml
has only allowed fields.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:13 (13 by maintainers)
Top Results From Across the Web
conandata.yml — conan 1.53.0 documentation
This file can be used, for example, to declare a list of sources links and checksums for the recipe or a list patches...
Read more >How to populate conandata.yml? - Stack Overflow
Is there any way to write anything to conandata.yml file? I want calculate execution time of code and populate my conandata.yml with it....
Read more >Conan packages in the Package Registry - GitLab Docs
Set a default remote for your project (optional). If you want to interact with the GitLab Package Registry without having to specify a...
Read more >cpp-project-framework - Python Package Health Analysis - Snyk
A Cross-Platform Modern C++ Project Framework Set Up Using CMake, ... In menu, select "Tools > Generate Patch..." ... Add patch file to...
Read more >Add libxml2 · da2248913e - aeon-conan-packages - Aeon Git
recipes/libxml2/all/conandata.yml. Unescape Escape View File ... win32/configure.js ... _autotools.configure(args=configure_args, configure_dir=self.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@conan-io/barbarians Let’s decide something here about this. Any objection about specifying patches in the
conandata.yml
? Agreed with the format?@memsharded about our conversation about “peeling” the conandata being exported to avoid creating new recipe revisions when only new version keys are added we would be ok, but only if we agree on the “standard” key and introduce checks of known keys in the CI.
Maybe we should keep it uniform no matter if it is a single patch or several.
By that way we would always get a list back or could maybe improve
tools.patch()
to support this as well. This would allow to manage patches truly inconandata.yml
without code changes (adding or removing a loop likefor patch in patches:
)