Node: meta: 2 identical files in the same folder

Created on 24 Apr 2017  路  15Comments  路  Source: nodejs/node

In deps/npm/node_modules/request/node_modules/form-data/ there are 2 identical files: Readme.md and README.md. This confuses archivators on Windows: each time they try to unpack a repo from a GH zip, they stop and ask if the file should be rewritten. I am not sure what we can do about this issue.

meta npm windows

Most helpful comment

All 15 comments

There should only be one...

I see that form-data has a Readme.md rather than a README.md, maybe something is capitalising it at some point?

I think it used to be README.md... so maybe git didn't rename it properly for case-insensitive filesystems?

cc @zkat but I think we can just remove the old README.md.

refs: https://github.com/nodejs/node/pull/11085 & https://github.com/nodejs/node/pull/11020...

oh god just remove one please this has been a nightmare

So which of them should be removed?

@vsemozhetbyt README.md is the one that was (un?)intentionally capitalized

I can't actually remove it as I am on Windows so I can already have only one locally) Can anybody remove it from a proper OS?

Yeah I'll get around to it today, hopefully.

Ok uh, I can't seem to do it now, maybe after landing v4.5.0... @nodejs/ctc can someone with a case insensitive FS and git fix this?

Maybe I can do it from the GitHub GUI.... https://github.com/form-data/form-data has Readme.md.

Ok, looks like it worked from the GitHub GUI: https://github.com/nodejs/node/pull/12643

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dfahlander picture dfahlander  路  3Comments

fanjunzhi picture fanjunzhi  路  3Comments

jmichae3 picture jmichae3  路  3Comments

akdor1154 picture akdor1154  路  3Comments

stevenvachon picture stevenvachon  路  3Comments