Repository navigation
Add trimmed manifest type and candidates scaffold - #13
Closed
justincasher wants to merge 1 commit into
Closed
justincasher wants to merge 1 commit into
justincasher wants to merge 1 commit into
Conversation
Reservoir's full manifest.json is ~53 MB, dominated by per-toolchain
build history (85%) and version history (12%) we do not need for
candidate selection. Introduce TrimmedPackage / TrimmedManifest plus a
trim_manifest() helper that keeps only core metadata, the latest
version, and the latest build per package, taking the bundle from
~53 MB to ~3 MB so it can be committed.
The aggregator CLI now writes the trimmed snapshot to
aggregator/candidates/raw_data/manifest_trimmed.json by default, with
an optional --raw-output flag for the full manifest (gitignored).
Scaffolds aggregator/candidates/{packages,raw_data}/ for the
per-package candidate files that follow in a later PR.
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.
Summary
manifest.jsonis ~53 MB, dominated by per-toolchain build history (85%) and version history (12%) we do not need for candidate selection. This PR addsTrimmedPackage/TrimmedManifestTypedDicts plus atrim_manifest()helper that keeps only core metadata, the most recent version, and the most recent build per package — taking the bundle from 53 MB → 2.7 MB so it can be committed.aggregator/candidates/raw_data/manifest_trimmed.jsonby default, with an optional--raw-outputflag for the full manifest (gitignored). The oldpython/cache/location is retired.aggregator/candidates/withpackages/(where per-package candidate files will live) andraw_data/(committed trimmed snapshot + ignored full snapshot). The auto-generated summary table incandidates/README.mdwill be filled in by a follow-up PR that adds thepackages/-> README rendering pipeline.Layout