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: 3 additions & 3 deletions components/lychee/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ prove valid links and missing file/fragment failures with Lychee 0.24.2+.

The online lane excludes explicitly inventoried private GitHub repository and
raw-content URLs whose auth boundary makes a calling repository's token receive
a 404. The current inventory is `melodic-software/claude-code-plugins`,
`dotfiles`, `github-iac`, `medley`, `provisioning`, and `standards`; public
siblings and stale pre-transfer owner URLs remain checked. Public bot-blocking
a 404. The current inventory is `melodic-software/dotfiles`, `github-iac`,
`medley`, and `provisioning`; public siblings and stale pre-transfer owner
URLs remain checked. Public bot-blocking
exceptions are path-scoped to the current Medium Dungeon Master article, the
Medium Fortmatic postmortem, Miro
article `31624028247058`, IsDown's Anthropic status page, the npm package
Expand Down
7 changes: 4 additions & 3 deletions components/lychee/fixtures/good/Exclusions.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@
Private repositories intentionally excluded from the unauthenticated online
lane:

- <https://github.com/melodic-software/claude-code-plugins>
- <https://github.com/melodic-software/dotfiles>
- <https://github.com/melodic-software/github-iac>
- <https://github.com/melodic-software/medley>
- <https://github.com/melodic-software/provisioning>
- <https://github.com/melodic-software/standards>
- <https://raw.githubusercontent.com/melodic-software/claude-code-plugins/main/README.md>
- <https://raw.githubusercontent.com/melodic-software/dotfiles/main/README.md>

The exact current public URLs that reject automated link checkers are excluded:

Expand All @@ -32,5 +30,8 @@ Other paths on those public hosts remain subject to checking:
Public siblings and stale pre-transfer owner links remain subject to checking:

- <https://github.com/melodic-software/ci-runner>
- <https://github.com/melodic-software/claude-code-plugins>
- <https://github.com/melodic-software/standards>
- <https://github.com/kyle-sexton/provisioning>
- <https://raw.githubusercontent.com/melodic-software/ci-runner/main/README.md>
- <https://raw.githubusercontent.com/melodic-software/claude-code-plugins/main/README.md>
12 changes: 9 additions & 3 deletions components/lychee/lychee.test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ require_min_version lychee "$(lychee --version | awk '{ print $2 }')" 0.24.2
private_org_rule="$(grep -F \
" '^https?://github\\.com/melodic-software/" "$config" || true)"
assert_eq 'private GitHub exclusion is one exact transferred-org inventory' \
" '^https?://github\\.com/melodic-software/(claude-code-plugins|dotfiles|github-iac|medley|provisioning|standards)(\\.git)?([/#?]|$)'," \
" '^https?://github\\.com/melodic-software/(dotfiles|github-iac|medley|provisioning)(\\.git)?([/#?]|$)'," \
"$private_org_rule"
private_raw_rule="$(grep -F \
" '^https?://raw\\.githubusercontent\\.com/melodic-software/" "$config" || true)"
assert_eq 'private raw-content exclusion uses the same exact inventory' \
" '^https?://raw\\.githubusercontent\\.com/melodic-software/(claude-code-plugins|dotfiles|github-iac|medley|provisioning|standards)/'," \
" '^https?://raw\\.githubusercontent\\.com/melodic-software/(dotfiles|github-iac|medley|provisioning)/'," \
"$private_raw_rule"
assert_eq 'obsolete personal-owner private exclusion is absent' '0' \
"$(grep -cF 'github\.com/kyle-sexton/' "$config" || true)"
Expand All @@ -33,11 +33,17 @@ dump_out="$(lychee --dump --config "$config" \
components/lychee/fixtures/good/Exclusions.md 2>&1)"
rc=$?
assert_exit 'URL exclusion boundary dump needs no network and exits 0' 0 "$rc"
for repo in claude-code-plugins dotfiles github-iac medley provisioning standards; do
for repo in dotfiles github-iac medley provisioning; do
assert_not_contains "private inventory excludes melodic-software/$repo" \
"$dump_out" "https://github.com/melodic-software/$repo"
done
for repo in claude-code-plugins standards; do
assert_contains "public melodic-software/$repo stays checked" \
"$dump_out" "https://github.com/melodic-software/$repo"
done
assert_not_contains 'private raw-content URL is excluded' \
"$dump_out" 'https://raw.githubusercontent.com/melodic-software/dotfiles/'
assert_contains 'public raw-content URL stays checked' \
"$dump_out" 'https://raw.githubusercontent.com/melodic-software/claude-code-plugins/'
assert_not_contains 'current Medium article is excluded' "$dump_out" \
'https://medium.com/@ziobrando/the-rise-and-fall-of-the-dungeon-master-c2d511eed12f'
Expand Down
4 changes: 2 additions & 2 deletions lychee.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ exclude = [
# drop an entry when its repo goes public. The optional \.git arm covers
# HTTPS clone URLs: the dot after the repo name would otherwise miss the
# [/#?] boundary.
'^https?://github\.com/melodic-software/(claude-code-plugins|dotfiles|github-iac|medley|provisioning|standards)(\.git)?([/#?]|$)',
'^https?://raw\.githubusercontent\.com/melodic-software/(claude-code-plugins|dotfiles|github-iac|medley|provisioning|standards)/',
'^https?://github\.com/melodic-software/(dotfiles|github-iac|medley|provisioning)(\.git)?([/#?]|$)',
'^https?://raw\.githubusercontent\.com/melodic-software/(dotfiles|github-iac|medley|provisioning)/',
Comment thread
kyle-sexton marked this conversation as resolved.
Resolved
Comment thread
kyle-sexton marked this conversation as resolved.
Resolved
]