zeek / package-website

New version of packages website
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Duplicate file in the repo causing error during clone #45

Open timwoj opened 10 months ago

timwoj commented 10 months ago

I recloned my repo just recently on a macOS host, and got this:

warning: the following paths have collided (e.g. case-sensitive paths
on a case-insensitive filesystem) and only one from the same
colliding group is in the working tree:

  'zeek-package-website/app/api/search/json_files/CVE-2020-16898.json'
  'zeek-package-website/app/api/search/json_files/cve-2020-16898.json'

It would probably throw the same error on any system that has case-sensitive filenames.

Which of those files is the correct one and which can be deleted? They were both added in this commit: https://github.com/zeek/package-website/commit/894e937971354d254629d71979859e85eb905f3d

cjb873 commented 9 months ago

These files are not duplicates, but instead, two different packages published with the same package name, just one is lower case. I don't know what the fix would be from our end, I don't think we want to delete a package from the website

timwoj commented 9 months ago

That's weird. I'll look into what happened on the packages side.

timwoj commented 9 months ago

On a side note, if a package is deleted from that repo, does the website code handle removing the package correctly?