Skip to content

Commit 1a3ab7e

Browse files
authored
Merge pull request #8 from SCF-Public-Goods-Maintenance/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 4b85e7d + 8fb0cba commit 1a3ab7e

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ repos:
88

99
# Prettier for "folding" prose to 101 characters
1010
- repo: https://github.com/pre-commit/mirrors-prettier
11-
rev: v3.1.0
11+
rev: v4.0.0-alpha.8
1212
hooks:
1313
- id: prettier
1414
types_or: [markdown]
1515
args: ["--print-width", "101", "--prose-wrap", "always"]
1616

1717
# Markdownlint for structural validation
1818
- repo: https://github.com/DavidAnson/markdownlint-cli2
19-
rev: v0.13.0
19+
rev: v0.21.0
2020
hooks:
2121
- id: markdownlint-cli2

docs/pg-atlas/api.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,24 +58,20 @@ RESTful principles for predictability and ease of consumption.
5858
### Ecosystem Projects
5959

6060
- `GET /projects` — List projects with pagination and filters.
61-
6261
- Query params: `type=pg_root`, `activity_status=live`, `search=keyword`, `limit=50`, `offset=0`.
6362
- Response: Paginated list with basic fields (canonical_id, display_name, type, activity_status,
6463
git_org_url, criticality_score, pony_factor, adoption_score).
6564

6665
- `GET /projects/{canonical_id}` — Detailed project view.
67-
6866
- Includes: metadata, activity_status, aggregated metrics (criticality_score, pony_factor,
6967
adoption_score), list of child repos with their metrics.
7068

7169
- `GET /projects/{canonical_id}/repos` — List all repos belonging to this project.
72-
7370
- Response: Array of repo objects with per-repo metrics and metadata.
7471

7572
### Repos
7673

7774
- `GET /repos` — List repos with pagination and filters.
78-
7975
- Query params: `project_id=...`, `activity_status=live`, `search=keyword`, `limit=50`, `offset=0`.
8076
- Response: Paginated list with basic fields (canonical_id, display_name, project_id,
8177
activity_status, latest_version, latest_commit_date, criticality_score, pony_factor,
@@ -88,11 +84,9 @@ RESTful principles for predictability and ease of consumption.
8884
### Dependencies
8985

9086
- `GET /repos/{canonical_id}/dependents` — Direct (active) dependents of this repo.
91-
9287
- Query: `active=true`, `within_ecosystem=true`.
9388

9489
- `GET /repos/{canonical_id}/dependencies` — Direct/upstream dependencies of this repo.
95-
9690
- Query: `active=true`, `within_ecosystem=true`.
9791

9892
- `GET /repos/{canonical_id}/blast-radius` — Transitive within-ecosystem dependents. Only available
@@ -109,7 +103,6 @@ RESTful principles for predictability and ease of consumption.
109103
These are early thoughts. Needs to be revisited after fleshing out use cases.
110104

111105
- `GET /scores` — Leaderboard of PGs sorted by composite or individual metric.
112-
113106
- Query: `sort=-criticality_score`, `min_criticality=5`, `level=project` (default) or `level=repo`.
114107

115108
- `GET /scores/{canonical_id}` — Full PG Score breakdown (components JSON).

0 commit comments

Comments
 (0)