github autopkg/autopkg v0.2.0
AutoPkg 0.2.0

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

0.2.0 (September 1, 2013)

CHANGES:

  • The recipe identifier is now named "Identifier" and is a top-level recipe key.
  • The "recipe" key formerly seen in overrides has been renamed "ParentRecipe". Its value is now a string -- the identifier of its parent recipes.
  • There is now essentially no difference between an "override" and a child recipe; a recipe can refer to a parent recipe, which can in turn refer to its own parent recipe, and so on.
  • Child recipes can override keys in the Input dictionary and/or add new key/value pairs to the Input dictionary. This is the same functionality that RecipeOverrides have.
  • Child recipes can add additional steps to the end of the Process of their ParentRecipe(s). This is new functionality.
  • Searching for recipes has changed: the order of searching by name and by identifier have been swapped: identifier is preferred to simple name.
  • Certain Processors (specifically PkgInfoCreator and PkgCreator) are typically given paths to templates or resources or scripts pointing to the directory of the recipe. If a recipe can now have one or more parents, the meaning of "RECIPE_DIR" is a little unclear. So for this sort of thing, we now search the current child recipe directory for the requested resource, followed by any parent recipe's directory, then any parent recipe of the parent recipe's directory, etc. To support this behavior, give PkgInfoCreator and PkgCreator relative paths to PackageInfoTemplates and Resources and Scripts directories.
  • New verbs to help people learn about Processors:
    • autopkg list-processors returns a list of "core" Processors -- those available to all recipes (in /Library/AutoPkg/autopkglib)
    • autopkg processor-info PROCESSORNAME prints basic documentation for PROCESSORNAME; use autopkg processor-info PROCESSORNAME --recipe RECIPE to get basic docs on a recipe-specific Processor (like MozillaURLProvider).

Don't miss a new autopkg release

NewReleases is sending notifications on new releases.