Releases: krypted/precache
Train doesn't stop at Bowen on Wednesday.
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?
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
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
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
Minor bug fixes.
Magical Mallards
This release of precache.py
introduces a few changes:
- 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. - 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. - The Apple Software Update catalog feed is used to look for macOS combo updates, Safari updates, iTunes updates, and RAW Camera updates.
- The script will force a check/update for available Caching Servers on its network (uses
AssetCacheLocatorUtil
if available). - 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.
- Certain Mac App Store (MAS) apps can be cached out of the box. This includes several past macOS releases.
- 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.