github autopkg/autopkg v1.4
AutoPkg 1.4

latest releases: v3.0.0RC3, v3.0.0RC2, v3.0.0RC1...
4 years ago

1.4 (November 25, 2019)

FIXES:

  • DmgMounter now correctly handles APFS disk images, especially with EULAs/SLAs (4b77f6d)

ADDITIONS:

  • The new URLGetter base Processor class has been merged in. It provides a new centralized way to handle fetching and downloading things from the web. In the future, more convenience functions will be added to allow any custom processor to easily fetch web resources without having to write their own urllib/web-handling code.
  • Thanks to @MichalMMac's heroic efforts, URLGetter is now much easier for other processors to use. There are now two ways a custom processor can download things without needing to write any urllib logic:
    • URLGetter.download_with_curl(curl_command,) takes a curl command as an argument (a list of strings that is passed to subprocess). You can use this along with the other helper functions to arrange your own curl command with custom headers and arguments, and parse the output.
    • URLGetter.download(url, headers=None) takes a URL (and optional headers) and returns the output of the curl command. You can use this to simply retrieve the results of requesting a web page (such as for URLTextSearcher).
  • All custom processors that need to make a web request of any kind in autopkg/recipes have been switched to using URLGetter's methods. No more urllib in processors!
  • URLDownloader now has a new prefetch_filename option that will allow fetching the original name from the redirected URL (#571)
  • GitHub calls now successfully function through proxies (#416)

Don't miss a new autopkg release

NewReleases is sending notifications on new releases.