Commit e419376
authored
Codegen cleanup, Dependabot migration, OpenAPI spec refresh (#28)
* Remove no-op class_overrides from codegen config
The keys Gate_QisGate / Gate_NativeGate never matched anything:
openapi-python-client looks up class_overrides by the post-pascal_case
ClassName (GateQisGate / GateNativeGate), so the underscore-form keys
were silently ignored. Generated output is unchanged.
* Migrate dependency updates from Renovate to Dependabot
Renovate isn't installed on the org and going public doesn't change
that - the renovate.json was inert. Dependabot is GitHub-native (no
third-party app/ToS), free for public repos, and fully covers this
repo's surface (uv lockfile + pinned GitHub Actions).
Behavior preserved:
- Weekly Monday schedule
- "dependencies" label on every PR
- Grouped Action updates (single PR per week)
Behavior added (industry standard per GitHub 2026 docs / Astral docs):
- 7-day cooldown to skip day-zero releases
- Grouped Python updates
Behavior dropped (intentional):
- Auto-merge of Action updates. Dependabot lacks native automerge;
adding it requires a separate workflow + a SHA-pinned auxiliary
action. Reviewing one grouped weekly Action-bump PR is acceptable
overhead. Easy to add later if it isn't.
Pre-commit hook revs (.pre-commit-config.yaml) are not covered by
Dependabot. Update via `pre-commit autoupdate` periodically; this
matches what was effectively happening with Renovate too, since
Renovate config didn't enable the pre-commit manager.
* Add pre-commit ecosystem to Dependabot config
GitHub announced native pre-commit support on 2026-03-10. Dependabot
now parses .pre-commit-config.yaml and bumps the rev field across all
hooks. Same weekly schedule + cooldown + grouping as the other
ecosystems, so all weekly updates land on Mondays.
Source: https://github.blog/changelog/2026-03-10-dependabot-now-supports-pre-commit-hooks/
* Add tiered cooldown and reorder Dependabot ecosystems
Per-semver cooldown (3/7/30 days for patch/minor/major) extends the
supply-chain wait window for major bumps while keeping patches snappy.
Ecosystem order now follows the prevailing convention used by pypa/pip,
psf/requests, cpython, and fastapi: github-actions before uv before
pre-commit.
* Limit semver cooldown tiers to the uv ecosystem
Dependabot rejected per-semver cooldown keys on github-actions and
pre-commit ecosystems - those tiers are only valid on semver-versioned
package managers. Keep the 3/7/30 tiers on uv; both other ecosystems
fall back to default-days only.
* Refresh vendored OpenAPI spec from upstream
Closes #26
* Normalize line endings to LF via .gitattributes
Adds `* text=auto eol=lf` so Windows checkouts match the LF used by CI,
Docker, and our linters/formatters.
* Drop EOL normalization rule from .gitattributes
No-op for the current contributor base (macOS dev, Linux CI). Trim back
to just the Linguist classifications.1 parent d157c32 commit e419376
5 files changed
Lines changed: 47 additions & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
Large diffs are not rendered by default.
This file was deleted.
0 commit comments