Precommit failed on gitlab

the hookid: check-case-conflict error appears when gitlab do the test checks of my script. What does it mean? how can i fix it? maybe is the prelude and the postlude?

May be duplicate of 317

Check carefully you CI logs to find the issue and post it here

this is the output:

hookid: check-case-conflict

Case-insensitivity conflict found: code/codeabbey/001/Cha0smagick.pl
Case-insensitivity conflict found: code/codeabbey/001/cha0smagick.pl

[check-merge-conflict] Check for merge conflicts...............................Passed
[check-symlinks] Check for broken symlinks.................(no files to check)Skipped
[detect-private-key] Detect Private Key........................................Passed
[check-xml] Check Xml......................................(no files to check)Skipped
[check-yaml] Check Yaml....................................(no files to check)Skipped
[debug-statements] Debug Statements (Python)...............(no files to check)Skipped
[name-tests-test] Tests should end in _test.py.............(no files to check)Skipped
[flake8] Flake8............................................(no files to check)Skipped
[pylint] pylint............................................(no files to check)Skipped
[eslint] eslint............................................(no files to check)Skipped
[php-lint] PHP Syntax Check (Quick)........................(no files to check)Skipped
[php-cs] PHP Codesniffer...................................(no files to check)Skipped
[php-cbf] PHP Codesniffer (Code Beutifier and Formatter)...(no files to check)Skipped
[go-vet] go vet............................................(no files to check)Skipped
[go-lint] go lint..........................................(no files to check)Skipped
[shell-lint] Shell Syntax Check............................(no files to check)Skipped
[hlint] haskell-lint.......................................(no files to check)Skipped
[cppcheck] cppcheck........................................(no files to check)Skipped
[splint] splint............................................(no files to check)Skipped
[rubocop] rubocop..........................................(no files to check)Skipped
[slim-lint] slim-lint......................................(no files to check)Skipped
See (future:webpage docs|now:https://pre-commit.com/)
Precommit failed
mimetypes and charsets check OK, continue checks...
ERROR: Job failed: exit code 1

image

The error message is self explanatory

I already solved that problem. Just the uppercase in Cha0smagick. But when i push it again, the output that i post before is the result. i post it again in case there are dobuts:

hookid: check-case-conflict

Case-insensitivity conflict found: code/codeabbey/001/Cha0smagick.pl
Case-insensitivity conflict found: code/codeabbey/001/cha0smagick.pl

[check-merge-conflict] Check for merge conflicts...............................Passed
[check-symlinks] Check for broken symlinks.................(no files to check)Skipped
[detect-private-key] Detect Private Key........................................Passed
[check-xml] Check Xml......................................(no files to check)Skipped
[check-yaml] Check Yaml....................................(no files to check)Skipped
[debug-statements] Debug Statements (Python)...............(no files to check)Skipped
[name-tests-test] Tests should end in _test.py.............(no files to check)Skipped
[flake8] Flake8............................................(no files to check)Skipped
[pylint] pylint............................................(no files to check)Skipped
[eslint] eslint............................................(no files to check)Skipped
[php-lint] PHP Syntax Check (Quick)........................(no files to check)Skipped
[php-cs] PHP Codesniffer...................................(no files to check)Skipped
[php-cbf] PHP Codesniffer (Code Beutifier and Formatter)...(no files to check)Skipped
[go-vet] go vet............................................(no files to check)Skipped
[go-lint] go lint..........................................(no files to check)Skipped
[shell-lint] Shell Syntax Check............................(no files to check)Skipped
[hlint] haskell-lint.......................................(no files to check)Skipped
[cppcheck] cppcheck........................................(no files to check)Skipped
[splint] splint............................................(no files to check)Skipped
[rubocop] rubocop..........................................(no files to check)Skipped
[slim-lint] slim-lint......................................(no files to check)Skipped
See (future:webpage docs|now:https://pre-commit.com/)
Precommit failed
mimetypes and charsets check OK, continue checks...
ERROR: Job failed: exit code 1

You have an issue with your username on gitlab, I suggest you to change it, avoid using uppercase letters and special characters, use just lowercase alphanumeric characters and try pushing your changes again.

1 Like

I didn’t want to do it but it seems to be necessary. Thank you very much for the help.