-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Changes in port name capitalization are not reflected on web site #367
Comments
As far as I can remember, while designing the port add/update logic, it was assumed that port names will be unique (case-insensitive). Here is how the current logic would behave for the given situation: When the The bugs mentioned probably got overlooked when deciding the above. It would be quite some work to change this behaviour across the website. But one quick Action Item I can think of is to also update the port name when updating ports, so that case changes in name are taken care of. |
MacPorts does intend to treat port names case-insensitively, and they are supposed to be unique. The web app should treat port names case-insensitively and the name should be a unique key. However, it is inevitable that, from time to time, someone will make a mistake and commit a duplicate port (with matching case or not). While that duplicate port exists, of course I would expect the web app to only contain information about one of them. The issue might get resolved by removing the original port as happened with speexDSP, or the new duplicate port might get deleted. Whichever resolution, it would be nice if the web app would end up containing the information of the port that remains.
Yes that should be done. Port name case changes have happened before too. |
I have the same issue with pdal, after a renaming it to lowercase. I noticed also that the web livecheck doesn't detect updates, while |
The web app shows a port named speexDSP. There used to be a port named speexDSP but it was removed and a new port named speexdsp was created. The ports web site should reflect the change in capitalization because although MacPorts is documented to handle port names case insensitively, there are some bugs where it does not do so.
If the ports web site usually handles this correctly, maybe the reason why it did not do so here is that the new speexdsp port was added first, creating a duplicate port. Later, the original speexDSP port was deleted.
The text was updated successfully, but these errors were encountered: