MyGit

v2.1

autopkg/autopkg

版本发布时间: 2020-05-19 23:31:15

autopkg/autopkg最新发布版本:v3.0.0RC2(2023-09-26 00:05:31)

2.1 (May 19, 2020)

NEW FEATURES AutoPkg now supports the verbs list-repos and processor-list for convenience (https://github.com/autopkg/autopkg/pull/628)

autopkg info --pull/-p now allows you to fetch all parent repos of a recipe automatically.

Example:

$ autopkg repo-delete recipes
$ autopkg info -p GoogleChrome.munki
Didn't find a recipe for com.github.autopkg.munki.google-chrome.
Found this recipe in repository: recipes
Attempting git clone...

Adding /Users/nmcspadden/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes to RECIPE_SEARCH_DIRS...
Updated search path:
  '.'
  '~/Library/AutoPkg/Recipes'
  '/Library/AutoPkg/Recipes'
  '/Users/nmcspadden/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes'

Description:         Downloads the latest Google Chrome disk image and imports into Munki.
Identifier:          local.munki.GoogleChrome
Munki import recipe: True
Has check phase:     True
Builds package:      False
Recipe file path:    /Users/nmcspadden/Library/AutoPkg/RecipeOverrides/GoogleChrome.munki.recipe
Parent recipe(s):    /Users/nmcspadden/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes/GoogleChrome/GoogleChrome.munki.recipe
                     /Users/nmcspadden/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes/GoogleChrome/GoogleChrome.download.recipe

The automatic fetching works by looking at the parent identifier of a recipe, and searching GitHub via API for that file. It fetches that parent file from GitHub directly, and adds the repo that it belongs to. Then it parses its parent, recursively until it finds a recipe with no parents.

Note that the only verb to support this is autopkg info. You can use this feature to dynamically fetch parents on-demand, instead of preconfiguring your environment with a list of known repos.

CHANGES FROM 2.0.2:

相关地址:原始地址 下载(tar) 下载(zip)

1、 autopkg-2.1.pkg 28.65MB

查看:2020-05-19发行的版本