8000 fix: Specify transitive_headers when building with Conan 2 by mathbunnyru · Pull Request #5462 · XRPLF/rippled · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: Specify transitive_headers when building with Conan 2 #5462

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

Merged
merged 2 commits into from
Jun 3, 2025

Conversation

mathbunnyru
Copy link
Contributor
@mathbunnyru mathbunnyru commented Jun 2, 2025

High Level Overview of Change

To be able to consume rippled in Conan 2, the recipe should specify transitive_headers for external libraries which are present in the exported header files.
I implement it in a way not to break compatibility with Conan 1, where this flag was not present.

https://docs.conan.io/2/tutorial/creating_packages/add_dependencies_to_packages.html#tutorial-create-packages-headers-transitivity

Context of Change

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (non-breaking change that only restructures code)
  • Performance (increase or change in throughput and/or latency)
  • Tests (you added tests for code that already exists, or your new feature included in this PR)
  • Documentation update
  • Chore (no impact to binary, e.g. .gitignore, formatting, dropping support for older tooling)
  • Release

API Impact

  • Public API: New feature (new methods and/or new fields)
  • Public API: Breaking change (in general, breaking changes should only impact the next api_version)
  • libxrpl change (any change that may affect libxrpl or dependents of libxrpl)
  • Peer protocol change (must be backward compatible or bump the peer protocol version)

Copy link
codecov bot commented Jun 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.0%. Comparing base (053e1af) to head (3ef2af4).
Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           develop   #5462   +/-   ##
=======================================
  Coverage     79.0%   79.0%           
=======================================
  Files          817     817           
  Lines        71737   71737           
  Branches      8313    8313           
=======================================
  Hits         56656   56656           
  Misses       15081   15081           

see 3 files with indirect coverage changes

Impacted file tree graph

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@bthomee bthomee requested a review from legleux June 2, 2025 14:23
@bthomee bthomee added this to the 2.5.0 (Q2 2025) milestone Jun 3, 2025
@bthomee bthomee enabled auto-merge (squash) June 3, 2025 16:54
@bthomee bthomee merged commit 0310c5c into XRPLF:develop Jun 3, 2025
26 checks passed
mathbunnyru added a commit to XRPLF/clio that referenced this pull request Jun 6, 2025
Merge right after: #2178
Waits for: XRPLF/rippled#5462
This was referenced Jun 12, 2025
@legleux legleux mentioned this pull request Jun 23, 2025
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

Successfully merging this pull request may close these issues.

3 participants
0