Skip to content

Releases: krypted/precache

Train doesn't stop at Bowen on Wednesday.

18 Dec 04:28
Compare
Choose a tag to compare

This release has an updated macOS 10.12.2 MAS URL after the MAS release was updated on December 15th 2016.

To help minimise the number of pull's required to keep MAS assets updated, they're now maintained in a seperate file which precache.py will remotely query. This should make it much easier for ensuring your cache keeps updated.

This release also changes what Software Updates are cached - from now on, only macOS related combo updates will be cached.

Charter Boat, what charter boat?

14 Dec 06:59
Compare
Choose a tag to compare

This is just a minor release that adds macOS 10.12.2, Xcode 8.2, and any other changes that were committed from the last release.

Nebulous Newts

30 Oct 06:42
Compare
Choose a tag to compare

Updates for this release:

  • Removed support for Mac OS X Installers prior to Mac OS El Capitan
  • Updated the macOS Sierra Installer to pull the 10.12.1 release from the Mac App Store
  • Updated iWork, iLife, Xcode apps to pull from their latest releases from the Mac App Store
  • Added arguments to allow caching based on groups (I.e. updates, app, etc). Refer to the --help flag for more information
  • Can filter the --list output to only output assets matching a group (use the --filter-group argument)

Note: Caching Server can return a 503 error message under certain usage scenarios, to reduce this, requests are closed, and a random delay of 1-5 seconds is added per URL request once the request is closed/finished.

Magical Mallards - macOS Sierra software updates

24 Oct 21:57
Compare
Choose a tag to compare

Added compatibility to cache macOS Sierra software update packages released overnight.
Another update will be released when the macOS Sierra full installer hits the Mac App Store.

Magical Mallards - bugfixes

23 Oct 21:55
Compare
Choose a tag to compare

Minor bug fixes.

Magical Mallards

23 Oct 09:07
Compare
Choose a tag to compare

This release of precache.py introduces a few changes:

  1. The -os/--os-installer flag is now hard deprecated in favour of using -m/--models - please update any scripts or LaunchDaemon/LaunchAgent files you use to run the script.
  2. IPSW files can now be optionally saved to an alternative location by using the -o/--output flag with a folder path. The folder path is created if it doesn't exist.
  3. The Apple Software Update catalog feed is used to look for macOS combo updates, Safari updates, iTunes updates, and RAW Camera updates.
  4. The script will force a check/update for available Caching Servers on its network (uses AssetCacheLocatorUtil if available).
  5. The script determines if the local machine is a Caching Server, or if the local machine knows about a remote server. If it can't find one, it will fallback to a default setting. Alternative Caching Server details can still be provided.
  6. Certain Mac App Store (MAS) apps can be cached out of the box. This includes several past macOS releases.
  7. Refactored redundant/duplicate code, and improved the portability of the script. Testing has been done on a macOS 10.12.0 machine, so send feedback if you have problems running this on a Linux/Windows machine.

For any errors/bugs, please raise an issue along with any exception messages, or log output.