Skip to content

chore(upstream): pin Gentleman.Dots 5b13e07 and verify stale pins by fetching them - #27

Merged
Dreamcoder08 merged 1 commit into
mainfrom
chore/upstream-gentleman-5b13e07
Sep 30, 2026
Merged

Dreamcoder08 merged 1 commit into
mainfrom
chore/upstream-gentleman-5b13e07

Conversation

@Dreamcoder08

Copy link
Copy Markdown
Owner

Pin. Gentleman.Dots has one new commit (5b13e07, a two-line fix of the nvim obsidian picker name); the pin, the sources table and the test fixture move to it. ML4W stays on tag 2.16 (its remote HEAD is ahead with unreleased commits; reported as drift only).

Defect found while verifying it. upstream-diff.py --check-pins could not check any pin that was no longer the remote HEAD: it ran git ls-remote <url> <sha>, which matches ref names, never hashes, so it always exited 2 ("Git exited 2"). It went unnoticed while every pin equalled HEAD. Reachability is now checked by fetching the pinned hash into a throwaway bare repo (the mechanism the diff already uses); a regression test forbids the ref-name lookup. Live result against the real remotes: Gentleman.Dots current, ML4W stale-but-reachable.

Tests: check-pins tests rewritten to the real behaviour, pytest exit 0, bats 192 ok, ruff and mypy clean. Includes the ODD feature document for this bump (Herdr 0.9.3 follows in its own PR).

…fetching them

Gentleman.Dots has one new commit (a two-line nvim obsidian picker fix); move the pin, the
sources table and the test fixture.

While verifying it, --check-pins turned out to be unable to check any pin that is no longer the
remote HEAD: it ran git ls-remote <url> <sha>, which matches ref names, never hashes, so it
always exited 2. It went unnoticed while every pin equalled HEAD. Fetch the hash into a throwaway
bare repo instead (as the diff already does) and forbid the ref-name lookup in a test.
@Dreamcoder08
Dreamcoder08 merged commit d499b13 into main Sep 30, 2026
8 checks passed
@Dreamcoder08
Dreamcoder08 deleted the chore/upstream-gentleman-5b13e07 branch September 30, 2026 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant