Conversation
livecheck is erroneously returning "9" as the latest version for `recut`, as the redirection URLs include a lot of added query string parameters now. This addresses the issue by adding a basic regex to match the version from the file name. We can tighten this regex as needed in the future but I've started pretty loose.
|
|
Coming back to this, upstream is now using Rails ActiveStorage blob redirects to point to a Cloudflare storage URL with a bunch of transient query string parameters. The https://updates.getrecut.com/latest-mac URL redirects to the Rails ActiveStorage blob redirection and I assume that URL should remain the same for a given version, so we may be able to use that if we also capture the redirection identifier from the I've tested this approach and it seems to work as expected but the issue is that livecheck's The |
Important: Do not tick a checkbox if you haven’t performed its action. Honesty is indispensable for a smooth review process.
In the following questions
<cask>is the token of the cask you're submitting.After making any changes to a cask, existing or new, verify:
brew audit --cask --online <cask>is error-free.brew style --fix <cask>reports no offenses.Additionally, if adding a new cask:
brew audit --cask --new <cask>worked successfully.HOMEBREW_NO_INSTALL_FROM_API=1 brew install --cask <cask>worked successfully.brew uninstall --cask <cask>worked successfully.If AI was used to generate or assist with generating the PR:
zapstanza paths.livecheck is erroneously returning "9" as the latest version for
recut, as the redirection URLs include a lot of added query string parameters now. This addresses the issue by adding a basic regex to match the version from the file name. We can tighten this regex as needed in the future but I've started pretty loose.