autopkg / grahampugh-recipes

AutoPkg recipes
Apache License 2.0
80 stars 41 forks source link

Switch from searching `RECIPE_SEARCH_DIRS` to just parent recipe dirs #57

Closed grahampugh closed 3 years ago

grahampugh commented 3 years ago

An AutoPkg run that contains multiple JamfUploader processors is taking too long (up to several minutes) to be processed. The cause appears to be the time it takes to compile the process, which includes glowing all the files in RECIPE_SEARCH_DIRS for each processor.

This was designed to allow template files to be anywhere within any repos, if they are not found in the recipe override directory. But, it is reasonable to expect the templates to be in the same repo as the recipe, and may in fact lead to fewer conflicts depending on repo order in the search array.

grahampugh commented 3 years ago

This was done.