feat: Package validator-keys inside rippled - #7905
Open
mathbunnyru wants to merge 10 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Packages validator-keys alongside xrpld by updating CMake, packaging scripts (RPM/DEB), and CI strategy/workflows so the validator-keys binary is built, uploaded, downloaded, and installed into /usr/bin as part of the Linux packaging pipeline.
Changes:
- Include
validator-keysin RPM and Debian packages and update package metadata/docs accordingly. - Pin
validator-keys-toolviaFetchContentto an exact commit and ensure it’s built in CI when enabled. - Extend CI matrix + workflows to upload/download a separate
validator-keys-*artifact and make packaging depend on both binaries.
Reviewed changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| package/rpm/xrpld.spec | Installs and lists validator-keys in RPM payload and description. |
| package/README.md | Documents that packaging now includes validator-keys and requires -Dvalidator_keys=ON. |
| package/debian/rules | Installs validator-keys into the Debian package. |
| package/debian/control | Updates Debian long description to mention validator-keys. |
| package/build_pkg.sh | Requires/stages validator-keys alongside xrpld during packaging. |
| CMakeLists.txt | Reorders includes so validator-keys exists before packaging logic is evaluated. |
| cmake/XrplValidatorKeys.cmake | Pins validator-keys-tool commit; ensures target is built and patched for non-Nix runtimes. |
| cmake/XrplPackaging.cmake | Makes package target depend on both xrpld and validator-keys. |
| cmake/PatchNixBinary.cmake | Generalizes patching so it can handle targets defined in subprojects. |
| .github/workflows/reusable-package.yml | Downloads both artifacts (xrpld + validator-keys) before packaging. |
| .github/workflows/reusable-build-test-config.yml | Optionally runs validator-keys unit tests and uploads the validator-keys artifact when present. |
| .github/scripts/strategy-matrix/linux.json | Enables -Dvalidator_keys=ON for the debian/rhel build configs that feed packaging. |
| .github/scripts/strategy-matrix/generate.py | Extends packaging matrix entries to include validator_keys_artifact_name. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
bthomee
reviewed
Jul 29, 2026
bthomee
left a comment
Collaborator
There was a problem hiding this comment.
Overall looking very good - almost there.
bthomee
previously approved these changes
Jul 30, 2026
bthomee
approved these changes
Jul 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
High Level Overview of Change
Trying to package validator-keys binary as part of rippled packaging process
Context of Change
API Impact
libxrplchange (any change that may affectlibxrplor dependents oflibxrpl)