-
Notifications
You must be signed in to change notification settings - Fork 148
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
Prevent files being created that differ only in case of name - and deal with signynt.md/Signynt.md #308
Comments
Very weird indeed. I'll see if I can reproduce it and update you then. 🤔 |
Hi @lguenth - just to let you know, to hopefully avoid duplication of effort, I'm having a quick initial look at this (on a Linux VM) - as I'm a bot stuck making any edits at all to the Hub until I can resolve this... as any switching between branches fails due to un-preventable local changes... |
Both the files show up in the People MOC on the published hub:
That is, it seems that the two links are pointing to the same file, meaning it's more than just a GitHub Mac/Windows limitation of not having files differing only by case - it seems to be a Publish one as well... |
I believe the root cause is: https://github.com/obsidianmd/obsidian-releases/blob/master/community-plugins.json In obsidianmd/obsidian-releases@b0b9f69, there is this inconsistency in URL: Note the difference between capitalisation of the user name in the two |
The above issue is a PR to fix the inconsistency in the upstream |
This deletes the new `signynt.md`, that was created because of an inconsistency in URL capitalisation on the obsidian-releases repo.
From our pairing session on saturday: A simple workaround would be to make all strings lower (or title) case. |
There is now another case of this: Quorafind just got added, in addition to quorafind. |
This is a workaround for a limitation in the Hub Python code. See obsidian-community/obsidian-hub#308 /CC @Quorafind for info.
This is a workaround for a limitation in the Hub Python code. See obsidian-community/obsidian-hub#308 /CC @Quorafind for info.
My clone of the Hub has got in to some kind of weird state where I cannot make an edit go away...
After a bit of prodding, I've discovered that there are two files that differ only in case of their name...
Each time I reverted edits on one in PyCharm, I got to the other one. So I deleted it to see what would happen, and got the status in the above screenshot, saying both had been deleted...
This will be a problem for Mac users (like me) and Windows users too - both with case-insensitive file systems.
Things to consider...
update_releases.py
- or one of the functions it calls - to prevent this happeningThe text was updated successfully, but these errors were encountered: