Repository navigation
Render candidates README from Reservoir manifest - #15
Merged
Merged
Conversation
Adds aggregator.render with render_table(manifest) and update_readme() that replace the content between BEGIN/END AUTOGENERATED markers. Restructures the aggregator CLI as a click group with two subcommands: fetch (existing behavior) and render (new). Default paths point at aggregator/candidates/raw_data/manifest.json and the candidates README. Renders all 617 packages currently in Reservoir into the README sorted by stars descending with ties broken alphabetically. The packages/ subfolder and its .gitkeep are removed; inclusion decisions will be tracked in a separate decisions.jsonl when we start making them, not in per-package metadata files.
Reservoir's per-package version field is "0.0.0" for ~90% of packages because most have no git tag, so the column was largely uninformative. Switch to the package's updatedAt timestamp (formatted YYYY-MM-DD), which is meaningful for every package and surfaces which ones are actively maintained.
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
lean_pool.aggregator.rendermodule withrender_table(manifest)andupdate_readme(path, table). The renderer replaces the content between the existing<!-- BEGIN/END AUTOGENERATED TABLE -->markers, so anything you write outside the markers in the candidates README is preserved.clickgroup with two subcommands:python -m lean_pool.aggregator fetch— download the manifest (existing behavior).python -m lean_pool.aggregator render— regenerate the README table.aggregator/candidates/README.mdwith all 617 packages currently in Reservoir, sorted by stars descending with alphabetical tiebreak.aggregator/candidates/packages/.gitkeep. Per the discussion that led here, we are not storing per-package metadata files; when we start making inclusion decisions we will add a singledecisions.jsonlinstead.Table columns
Stars | Package (linked) | Description (truncated to 120 chars, pipes escaped) | License | Latest version | Build (✓ / ✗ / –)