Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Files with the same name but different case #34

Open
aciceri opened this issue Sep 20, 2023 · 4 comments
Open

Files with the same name but different case #34

aciceri opened this issue Sep 20, 2023 · 4 comments

Comments

@aciceri
Copy link

aciceri commented Sep 20, 2023

I just created a PR to add cntb to nixpkgs and I realized that this repository contains two files with the same filename modulo case.

This doesn't behave well on case insensitive filesystems and made Nix compute two different hashes for the sources depending if on linux or macos.

The infamous files are:

  • [AddOnResponse.md](https://github.com/contabo/cntb/blob/main/openapi/docs/AddOnResponse.md)
  • [AddonResponse.md](https://github.com/contabo/cntb/blob/main/openapi/docs/AddonResponse.md)

My current workaround is patching the sources deleting the entire ./openapi/docs directory.

@schaluvaji
Copy link

Hi @aciceri,
please use the latest cntb version 1.4.8.

@aciceri
Copy link
Author

aciceri commented Feb 27, 2024

PR sent.

@aciceri
Copy link
Author

aciceri commented Mar 5, 2024

Merged, workaround no longer necessary.

@aciceri aciceri closed this as completed Mar 5, 2024
@aciceri
Copy link
Author

aciceri commented Sep 13, 2024

It seems that this problem re-occurred @schaluvaji

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

No branches or pull requests

2 participants