Sponsored Content
Skip to content

chore: Don't allow files more than 400kb to be added to the repo - #6597

Merged
bthomee merged 1 commit into
XRPLF:developfrom
mathbunnyru:no_large_files
Mar 19, 2026
Merged

chore: Don't allow files more than 400kb to be added to the repo#6597
bthomee merged 1 commit into
XRPLF:developfrom
mathbunnyru:no_large_files

Conversation

@mathbunnyru

@mathbunnyru mathbunnyru commented Mar 19, 2026

Copy link
Copy Markdown
Contributor

High Level Overview of Change

The largest file in the latest develop is https://github.com/XRPLF/rippled/blob/develop/docs/NodeStoreRefactoringCaseStudy.pdf
It's a bit less than 400kb, which is I use as a limit for the hook.
In the future, if we really want to add such files, we should use git-lfs.

This PR doesn't fix the problem completely, since there are files in history that were quite large.
But we'll need to override history, which is quite difficult for contributors, so let's make sure it won't get worse

Context of Change

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 March 19, 2026 18:28
@mathbunnyru mathbunnyru added the Trivial Simple change with minimal effect, or already tested. Only needs one approval. label Mar 19, 2026
@mathbunnyru mathbunnyru added the Ready to merge *PR author* thinks it's ready to merge. Has passed code review. Perf sign-off may still be required. label Mar 19, 2026
@bthomee bthomee changed the title chore: Don't allow files more than 400kb being added to the repo chore: Don't allow files more than 400kb to be added to the repo Mar 19, 2026
@bthomee
bthomee enabled auto-merge March 19, 2026 21:20
@bthomee
bthomee added this pull request to the merge queue Mar 19, 2026
Merged via the queue into XRPLF:develop with commit 762922a Mar 19, 2026
1 check 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
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