Skip to content

check-name: compare an entry that differs only in capitalization with the existing one - #12074

Open
probonopd wants to merge 2 commits into
masterfrom
claude/name-case-warning
Open

probonopd wants to merge 2 commits into
masterfrom
claude/name-case-warning

Conversation

@probonopd

@probonopd probonopd commented Nov 15, 2026 •

Copy link
Copy Markdown
Member

#12069 (Shift) failed with ERROR: File name 'Shift': an entry with the same name in different capitalization exists already: data/shift. That entry may be another application with a similar name, so the rule now looks at whether the existing entry is for the same application, using the first lines of the two files in data/ (both are there in a PR's test):

Signal Result
same download location (repository or URL, case and .git/trailing / ignored, same #channel), or a repository that GitHub redirects to the other one (check-origin.sh exit 2) error: a second entry for the same application; change the existing file instead
same owner (GitHub user or organization, forge project, domain; check-origin.sh exit 0), also the same repository with another #channel warning: if it is the same application, change that file instead; otherwise fine
another owner (check-origin.sh exit 1) nothing: another application with a similar name
first line unreadable or unknown warning (as in the first version of this PR)
only a name is checked, no file for it (the discovery workflows call check-name.sh NAME data) error as before, since it cannot be told whether it is the same application; the discovery therefore still does not propose such names

Every warning says that file systems that ignore case (macOS, Windows) cannot hold both files in a clone of the repository. Other rules are unchanged.

Checked locally with temporary data/ directories (STRICT=true): same repo, same owner other repo, other owner, same repo other channel, no file for the new name, other domain. The "same repo" case exits 1 with the error, the "same owner" ones print the warning and exit 0, "other owner" prints nothing and exits 0, the discovery case still exits 1. AGENTS.md updated. bash -n passes (shellcheck is not installed here).

After merging, comment /retest on #12069.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DZvaN9tm5taf5avUvVtmyq

probonopd and others added 2 commits November 15, 2026 20:04
…, not an error

It may be another application with a similar name; the warning asks to update
the existing entry if it is the same application and names the problem for
case-insensitive file systems.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DZvaN9tm5taf5avUvVtmyq
… the existing one

Same download location (or a renamed repository): error, it is a second entry
for the same application. Same owner: warning. Another owner: nothing, another
application with a similar name. Only a name checked (discovery): error as before.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DZvaN9tm5taf5avUvVtmyq
@probonopd probonopd changed the title check-name: an entry that differs only in capitalization is a warning, not an error check-name: compare an entry that differs only in capitalization with the existing one Nov 15, 2026

This branch has not been deployed

No deployments
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