-
Notifications
You must be signed in to change notification settings - Fork 7
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
Solve outstanding issues #1
Comments
re. #24, lower cased names. Case sensitivity did not seem as important for documentation files as it might be for variables. However, emitting a warning when a mis-spelling is detected is perhaps better. |
But both paths might coexist in Linux; that means that it will cause a clash for valid path names. |
The point is that we are dealing with Pod files. Is there any real possibility that documentation files are going to differ by the case of a letter in the name of the file for a valid reason? Isn't it more likely that the difference of a different case of a letter in a file name is due to a misspelling? This occurred to me several times. |
I seem to remember there was another reason I added the normalisation to lower case. Some other package did not work properly when uppercase letters were used. But I cannot remember exactly what it was. |
JJ / Antonio, I want to work on the Specific exceptions class issue. |
How does the non-case nature of the Windows file system affect the issue? I've found over the years that Windows users (not devs so much) tend to be careless about such things compared to *nix users. |
In general, we try to avoid such confusions, because the same happens to
Mac OSX users. But OSX keeps case, and Windows does it too, I think, even
if it's mapped to the same file if case is mixed.
Anyway, file name in the repository does not have anything to do with real
name, it's computed from the key (directory) and something else. We really
have to go through hoops to get the original name back in some cases, so I
don't really think this really serves some purpose.
Also, we do test now the whole stack in Windows, so we'll create specific
test cases for this so that we don't find any trouble.
|
The windows exception might be why I normalised to lower case for the cache key names. I also stored the original name of the file in the index.json file so that the case-restored file name could be restored if need be from the key name. |
El lun., 30 sept. 2019 a las 17:52, Richard Hainsworth (<
[email protected]>) escribió:
The windows exception might be why I normalised to lower case for the
cache key names. I also stored the original name of the file in the
index.json file so that the case-restored file name could be restored if
need be from the key name.
Insisting on case-sensitive file names because *nix can seems to me to be
overkill. ???
It's not overkill, it's the default value and it's how they are actually
stored. It's simply storing the files using the same case that they are
stored originally.
|
I'm trying to duplicate the 'moving file' problem. I rerun I want to create a test file that generates the problem reported. |
Just add a test for that. If it does not fail, then the problem might be
somewhere else, maybe in Documentable.
|
The text was updated successfully, but these errors were encountered: