-
Notifications
You must be signed in to change notification settings - Fork 47
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
Remove unnecessary validation #2043
base: main
Are you sure you want to change the base?
Conversation
…s attempts to solve a problem that simply does not exist and becomes a blocker for timely updates of changelog content.
Personally I agree. I think the goal of the extra steps is to ensure that no large images are added to the Git history, which would increase the repo size irreversibly (unless history is altered). |
We can still require they be converted to WebP but the naming rules just serve to be a pain IMHO |
It's probably best to address the original rationale for the images being hashed. As stated in the doc:
These seem like useful conerns, based on my previous experience in this area. Most of the time english names for images devolve into useless or generic names If we just need to hash the file, that's easily done online: https://emn178.github.io/online-tools/blake2b/file/ |
Honestly, there aren't problems we've actually had at any point so I don't understand why there's an overkill process (that is the opposite of intuitive).
This doesn't prevent that (unless the repo is made case sensitive too?). Also, if we're ensuring everything is WEBP I don't see this being a problem when it comes to storage.
Windows already does this. We should not be hamstrung because of Linux oddities. I believe you can set the paths on the repo to be case-sensitive even on Linux if it's a problem.
How are random hashes of nonsense informative? Why does it matter? It's an image. You can open the file if you're unclear on what it is. I'd probably suggest we have a simpler convention like prefixing the image file with the version number it was added for. To be frank, if this process remains I may just host my changelog images elsewhere as it's far less hassle. |
These are issues I've had in almost every documentation project I've worked on. Files start with names like
Duplicate images (like a logo used in several places) will be hashed into the same name, and then be de-dupped.
Every operating system does this, but what they don't de-dupe is logical name duplication like
It isn't any better in that respact, but they are at least uniform.
Well we should improve the process, and make it easier to contribute. But the images should remain in the main repo. |
This continues to cause unnecessary problems and frustration. |
There is a weird validation for images used in the changelog that tried to solve a problem that doesn't exist and simply creates friction/inconvenience when writing changelogs. Removed this check. We can re-add it if this becomes a problem that needs solving.