Skip to content

3.0 RC1: running (non-trivial) recipes by path fails #883

Closed
@gregneagle

Description

THIS IS ONLY INTENDED FOR AUTOPKG BETAS.

Describe the problem
In autopkg 3.0 RC1, attempting to run a recipe by path where the recipe refers to a parent fails unless the parent is in the "recipe map". It fails even if the parent recipe is in the same directory as the (child) recipe being run.

AutoPkg output
autopkg run -v /Users/my_user/Library/AutoPkg/RecipeRepos/pkg-recipes/Keka/Keka.pkg.recipe
Looking for com.github.redacted.download.Keka...
Did not find com.github.redacted.download.Keka in recipe map
Search GitHub AutoPkg repos for a com.github.redacted.download.Keka recipe? [y/n]: n
We are not currently searching on-disk for recipes; if you intended to run a specific file not in the recipe map, please pass in an absolute file path instead.
Could not find parent recipe for /Users/my_user/Library/AutoPkg/RecipeRepos/pkg-recipes/Keka/Keka.pkg.recipe
**load_recipe time: 4.5761670419888105

Nothing downloaded, packaged or imported.

Expected behavior
autopkg should successfully run the recipe.

Version (please complete the following information):

  • OS version: 13.5.1
  • AutoPkg Version: 3.0RC1

Metadata

Assignees

Labels

betaOnly for AutoPkg beta releases

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions