Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,9 @@ __pycache__/
.venv/
.ruff_cache/
.pytest_cache/
cache/

# Aggregator: the Reservoir manifest is fetched on demand and kept
# locally only. Curated per-package files in candidates/packages/
# are the source of truth that gets committed.
/aggregator/candidates/raw_data/

23 changes: 23 additions & 0 deletions aggregator/candidates/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Candidates

Tracking which Lean packages we are considering for inclusion in
`lean-pool`, along with the reasoning behind each decision.

## Layout

- `packages/` — one file per candidate package, holding the curated
metadata and review status. The per-package files are the source of
truth for everything in this directory and are populated by a
follow-up PR.
- `raw_data/` (gitignored) — local-only Reservoir manifest snapshots.
Running `uv run python -m lean_pool.aggregator` from `python/`
downloads `manifest.json` here. Nothing in this folder is committed;
if we later want a stable snapshot we will publish it as a GitHub
Releases asset rather than tracking it in git.

The summary table below is auto-generated from `packages/` and should
not be edited by hand.

<!-- BEGIN AUTOGENERATED TABLE -->
<!-- The aggregator will populate this section in a follow-up PR. -->
<!-- END AUTOGENERATED TABLE -->
Empty file.
5 changes: 4 additions & 1 deletion python/lean_pool/aggregator/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
save_manifest,
)

REPO_ROOT = Path(__file__).resolve().parents[3]
DEFAULT_OUTPUT = REPO_ROOT / "aggregator" / "candidates" / "raw_data" / "manifest.json"


@click.command()
@click.option(
Expand All @@ -24,7 +27,7 @@
@click.option(
"--output",
type=click.Path(dir_okay=False, path_type=Path),
default=Path("cache/manifest.json"),
default=DEFAULT_OUTPUT,
show_default=True,
help="Where to save the downloaded manifest.",
)
Expand Down
Loading