-
-
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
Streamline appcast finding #19103
Comments
In many cases a Sparkle appcast can be found by looking at the value for And plenty of applications don't actually use Sparkle but rather their own custom mechanisms to publish feeds of updates for the apps (Charles, for example). |
@timsutton Yes, we’re aware of all that. We even have a script to find sparkle appcasts in that manner. This post is about the difficult to find appcasts, and how to sniff traffic to get them. |
Ok, figured you knew all about that :) If it helps, in the AutoPkg community, people maintain custom Python code to handle parsing all the various custom app feeds to be able to always pull the latest versions of things. This doesn't help your automation problem - it's all manually-driven - but if you're ever looking for the logic a particular application feed uses, it might be of help: |
I guess my point was that Sparkle is the only consistent case we've seen as far as app updates go. The feeds you may discover by automating checking for updates in other apps in almost all cases won't be appcasts, they'll be some other proprietary format (or a plist, if you're lucky). Automating menu clicking with AppleScript or something like Sikuli may work for a native Mac app, but you'll need to check a few places. And all the applications that aren't Mac-specific (and share a bunch of cross-platform code) tend to be less consistent or use UI frameworks that AppleScript can't really talk to natively. |
Broken out from #19097 (comment)
Context: I've been sniffing traffic with Charles to add appcasts to Casks.
Unfortunately, little chance of being automated in the current form I'm doing things.
A tl;dr:
Thoughts on automation:
https://mitmproxy.org is a CLI, free alternative to charles
(could all be done in a VM, to keep things clean)
Type in app name
Downloads/installs cask
Could use applescript to automate "clicking" on check for updates
Spits out a few urls to try
User select URL, tests it
Feeds URL back to script, added as appcast, checkpoint automatically calculated, PR submitted, etc.
The text was updated successfully, but these errors were encountered: