r/Python • • 19d ago

Showcase Showcase Thread

Post all of your code/projects/showcases/AI slop here.

Recycles once a month.

26 Upvotes

143 comments sorted by

View all comments

1

u/Sea_Apartment_5919 2d ago

What My Project Does

I maintain RepoPort, a small Python CLI for checking filenames before a cross-platform checkout. Git can stage both assets/Logo.svg and assets/logo.svg on a case-sensitive filesystem. Those names collide on a case-insensitive filesystem. A third path, docs/NUL.txt, hits a separate Windows rule: the extension doesn't make NUL a usable filename.

Target Audience

If you maintain a Python project on Linux and have Windows or macOS contributors, you can run python -m repoport check . locally or in CI after checkout. It reads Git's index, including staged additions, and leaves files and the index untouched.

Comparison

pre-commit-hooks offers check-case-conflict and check-illegal-windows-names. RepoPort's workflow is a standalone scan of the whole index, including Unicode normalization conflicts. Its case folding is conservative.

If you've seen a filename pair that a portability check flags but your target filesystem handles, I'd be interested in the pair and the filesystem.

Source and pinned install instructions: https://github.com/TohruSu/RepoPort