Skip to content

Add conan.lock#5596

Closed
legleux wants to merge 1 commit intodevelopfrom
legleux/conan_lockfile
Closed

Add conan.lock#5596
legleux wants to merge 1 commit intodevelopfrom
legleux/conan_lockfile

Conversation

@legleux
Copy link
Copy Markdown
Collaborator

@legleux legleux commented Jul 22, 2025

Adds a conan.lock file to freeze rippled's dependencies.

  • Chore (no impact to binary, e.g. .gitignore, formatting, dropping support for older tooling)

@legleux legleux marked this pull request as ready for review July 22, 2025 18:00
@legleux legleux force-pushed the legleux/conan_lockfile branch from ebc0afd to 8f20404 Compare July 22, 2025 19:38
@codecov
Copy link
Copy Markdown

codecov bot commented Jul 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.8%. Comparing base (5c2a3a2) to head (0da5bc9).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           develop   #5596     +/-   ##
=========================================
- Coverage     78.8%   78.8%   -0.0%     
=========================================
  Files          814     814             
  Lines        71205   71204      -1     
  Branches      8330    8352     +22     
=========================================
- Hits         56111   56085     -26     
- Misses       15094   15119     +25     

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

@legleux legleux force-pushed the legleux/conan_lockfile branch 2 times, most recently from a61b2f5 to ba161cf Compare July 23, 2025 19:48
Copy link
Copy Markdown
Collaborator

@Bronek Bronek Jul 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you pls add a subsection under https://github.com/XRPLF/rippled/blob/develop/CONTRIBUTING.md#instructions-for-maintainers how to update this file when we bump some dependency ?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point.

Copy link
Copy Markdown
Contributor

@mathbunnyru mathbunnyru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Agree with Bronek, please add instruction how to update the lockfile.
  2. Just to make sure - you have ripple artifactory remote first, right?

container: ghcr.io/xrplf/ci/debian-bookworm:clang-16

env:
CONAN_URL: http://18.143.149.228:8081/artifactory/api/conan/dev
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this be https, with actual DNS name ?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually, I think this belongs to a different PR, one which also removes external Conan overrides, and corresponding conan export from workflows and from BUILD.md ?

Copy link
Copy Markdown
Collaborator Author

@legleux legleux Jul 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this be https, with actual DNS name ?

Wasn't pointing to the correct place at the time. It should be working now.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one can be removed since it's already defined in the top-level env:.

Copy link
Copy Markdown
Collaborator Author

@legleux legleux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will push up changes with doc changes and workflow edits removed in since #5607

container: ghcr.io/xrplf/ci/debian-bookworm:clang-16

env:
CONAN_URL: http://18.143.149.228:8081/artifactory/api/conan/dev
Copy link
Copy Markdown
Collaborator Author

@legleux legleux Jul 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this be https, with actual DNS name ?

Wasn't pointing to the correct place at the time. It should be working now.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point.

# to pollute conan/profiles directory with settings which might not work for others
env:
build_dir: .build
CONAN_URL: http://18.143.149.228:8081/artifactory/api/conan/dev
Copy link
Copy Markdown
Collaborator

@bthomee bthomee Jul 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be changed to https://conan.ripplex.io now?

container: ghcr.io/xrplf/ci/debian-bookworm:clang-16

env:
CONAN_URL: http://18.143.149.228:8081/artifactory/api/conan/dev
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one can be removed since it's already defined in the top-level env:.

@legleux legleux force-pushed the legleux/conan_lockfile branch from ba161cf to 0da5bc9 Compare July 25, 2025 02:34
generator. Pass `--help` to see the rest of the command line options.


#### Conan lockfile
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, I've seen this before.
No, I've written this before 😃
https://github.com/XRPLF/clio/blob/develop/docs/build-clio.md#conan-lockfile

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why mess with perfection?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

haha

@legleux legleux force-pushed the legleux/conan_lockfile branch from 0da5bc9 to a441887 Compare July 25, 2025 17:29
@legleux legleux force-pushed the legleux/conan_lockfile branch from a441887 to 8c711f3 Compare July 25, 2025 17:43
Comment on lines 38 to +40
- [Python 3.7](https://www.python.org/downloads/)
- [Conan 1.60](https://conan.io/downloads.html)[^1]
- [CMake 3.16](https://cmake.org/download/)
- [Conan 2](https://conan.io/downloads.html)
- [CMake 3.22](https://cmake.org/download/)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest to not make any changes here, as #5478 is already making them.

@mathbunnyru mathbunnyru mentioned this pull request Sep 1, 2025
13 tasks
@legleux legleux closed this Sep 2, 2025
@legleux legleux deleted the legleux/conan_lockfile branch September 16, 2025 21:45
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.

4 participants