Skip to content

Processor SparkleUpdateInfoProvider

github-actions edited this page Dec 6, 2022 · 11 revisions

SparkleUpdateInfoProvider

NOTE: This page is automatically generated by GitHub Actions when a new release is tagged.
Updates to the information on this page should be submitted as pull requests to the AutoPkg repository. Processors are located here.

Description

Provides URL to the highest version number or latest update.

Input Variables

  • appcast_url:
    • required: True
    • description: URL for a Sparkle Appcast feed xml.
  • appcast_request_headers:
    • required: False
    • description: Dictionary of additional HTTP headers to include in request.
  • appcast_query_pairs:
    • required: False
    • description: Dictionary of additional query pairs to include in request. Manual url-encoding isn't necessary.
  • alternate_xmlns_url:
    • required: False
    • description: Alternate URL for the XML namespace, if the appcast is using an alternate one. Defaults to that used for 'vanilla' Sparkle appcasts.
  • curl_opts:
    • required: False
    • description: Optional array of options to include with the download request.
  • pkginfo_keys_to_copy_from_sparkle_feed:
    • required: False
    • description: Array of pkginfo keys that will be derived from any available metadata from the Sparkle feed and copied to 'additional_pkginfo'. The usefulness of these keys will depend on the admin's environment and the nature of the metadata provided by the application vendor. Note that the 'description' is usually equivalent to 'release notes' for that specific version. Defaults to ['minimum_os_version']. Currently supported keys: description, minimum_os_version
  • urlencode_path_component:
    • required: False
    • description: Boolean value to specify if the path component from the sparkle feed needs to be urlencoded. Defaults to True.
  • update_channel:
    • required: False
    • description: Sparkle 2 provides specifying what channel an update is on. You can specify which channel to look for via this key. If a channel is defined, and exists, then this defined channel will be used.
  • PKG:
    • required: False
    • description: Local path to the pkg/dmg we'd otherwise download. If provided, the download is skipped and we just use this package or disk image.

Output Variables

  • url:
    • description: URL for a download.
  • version:
    • description: Version for the download extracted from the feed. This is a human-readable version if the feed has it (e.g., 2.3.4-pre4), and the basic machine-readable version (e.g., 823a) otherwise.
  • additional_pkginfo:
    • description: A pkginfo containing additional keys extracted from the appcast feed. Currently this is 'description' and 'minimum_os_version' if it was defined in the feed.

Table of Contents

Clone this wiki locally