-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
Update macdown from 0.7.2 to 0.7.3 #75036
Conversation
Can you install this version locally? |
No, unfortunately.
and got
The downloaded file's version doesn't match the one in spec, thus checksum failed. Any idea what may cause this? |
I think the situation is the same as #66596. But currently there are no findings. |
That’s irrelevant. The issue here tripping CI is a permission denied problem. |
The issue with this is the When unzipped with macOS's built-in "Archive Utility" that file gets Also, the |
It is. Someone should contact them.
We prefer not to, but it is doable. |
Interesting! If I made a PR for this cask utilizing that in the preflight to fix this issue, would it be accepted? (Assuming good code. Just checking that it wouldn't be categorically rejected) I opened an issue with MacDown but haven't waited long enough to get a response yet. If they fix it we're good, but if they don't care about this though then a fix in the cask might handy. (In my earlier comment, I was thinking more like homebrew casks could, though it shouldn't, generally look for really pathological permissions cases like this that'll always cause errors and then fix them generally. Sort of like how the macOS Archive Utility seems to override the permissions the .zip file specifies and just uses sensible default permissions instead. I don't think that's a good practice to get into though and glad to hear.) |
I tried preflight do
set_permissions "#{staged_path}/MacDown.app/Contents/_CodeSignature", '0755'
end
postflight do
set_permissions "#{appdir}/MacDown.app/Contents/_CodeSignature", '0000'
end but no luck. It seems the processes is something like
But the process breaks on stage 3, so I think it's better to fix it with macdown. |
Ah, right. There are more things we can try (I seem to remember broken DMGs we could find some workarounds for), but at this point I’d rather wait for a response from upstream. |
upstream ticket MacDownApp/macdown#1144 |
Sorry, we have some issue releasing in the test branch. Will report back when it’s ready. |
Good news! We finally released 0.8.0d71 on https://macdown.uranusjr.com/history/testing/. Please try the binary there; we should have removed the troublesome code signature in the binary. |
After making all changes to the cask:
brew cask audit --download {{cask_file}}
is error-free.brew cask style --fix {{cask_file}}
left no offenses.