Skip to content
Merged
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
9 changes: 7 additions & 2 deletions scripts/verify-vcs-urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,14 @@ def repo_slug_of(pkg: str, root: Path | None, org: str) -> str:
"""The package's real repository slug.

In a checkout this is read from `origin`, never from the directory name:
seven directories in the tree are named differently from their repository
(`pdf-toolkit` is `laranail/pdf`), so trusting the name would report a SPLIT
six of laranail's 73 checkouts are named differently from their repository
(`env-tools` is `laranail/env-kit`), so trusting the name would report a SPLIT
that is a local naming choice rather than a rename.

Measured 2026-11-13, comparing each `packages/*/` basename against
`git -C <dir> remote get-url origin`. It read seven until that day, when the
`laranail/pdf` checkout was renamed from `pdf-toolkit` to `pdf` and stopped
being one of them; the example moved with it.
"""
if root is None:
return pkg
Expand Down
Loading