Sponsored Content
Skip to content

chore: Make conan generate script a script - #6085

Merged
bthomee merged 2 commits into
XRPLF:developfrom
mathbunnyru:make_generate_script
Nov 26, 2025
Merged

chore: Make conan generate script a script#6085
bthomee merged 2 commits into
XRPLF:developfrom
mathbunnyru:make_generate_script

Conversation

@mathbunnyru

@mathbunnyru mathbunnyru commented Nov 26, 2025

Copy link
Copy Markdown
Contributor

High Level Overview of Change

I'm moving instructions to a separate file, and instead of removing packages, set conan home as temporary dir

There are many advantages:

  • I'm not messing with the user's conan home, so there is no need to remove packages (it might be not nice, when people use multiple branches, which change dependencies)
  • running is just calling one script (and it will be nicely saved in bash history)
  • bash code is stored in bash files, markdown in markdown (so tools|editors work better)
  • this can be automated if needed

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)

@mathbunnyru
mathbunnyru requested a review from bthomee November 26, 2025 17:42
@mathbunnyru mathbunnyru added Ready to merge *PR author* thinks it's ready to merge. Has passed code review. Perf sign-off may still be required. Trivial Simple change with minimal effect, or already tested. Only needs one approval. labels Nov 26, 2025
@codecov

codecov Bot commented Nov 26, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.6%. Comparing base (4e25dc9) to head (cf10499).
⚠️ Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           develop   #6085     +/-   ##
=========================================
- Coverage     78.6%   78.6%   -0.0%     
=========================================
  Files          818     818             
  Lines        68938   68938             
  Branches      8231    8241     +10     
=========================================
- Hits         54176   54163     -13     
- Misses       14762   14775     +13     

see 5 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.

@bthomee
bthomee enabled auto-merge (squash) November 26, 2025 18:21
@bthomee
bthomee merged commit 2ed4047 into XRPLF:develop Nov 26, 2025
3 checks passed
@mvadari mvadari added this to the 3.2.0 milestone May 20, 2026
beartec-jpg pushed a commit to beartec-jpg/FalconLedger that referenced this pull request Jun 1, 2026
)

This change moves the lockfile instructions into a script, and instead of removing packages it sets the Conan home directory to a temporary directory.

There are several advantages, such as:
* Not affecting the user's Conan home directory, so there is no need to remove packages.
* Only the script needs to be run, rather than several commands.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ready to merge *PR author* thinks it's ready to merge. Has passed code review. Perf sign-off may still be required. Trivial Simple change with minimal effect, or already tested. Only needs one approval.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants