Comments (9)
RECIPE_DIR
should be getting set and be substitutable like any other. It's working for me here with today's code from master.
You don't perhaps have RECIPE_DIR set manually (to /private/tmp
) in your prefs?
~/git/github/autopkg/Code/autopkg run -vvv VLC.pkg
Processing VLC.pkg...
{'AUTOPKG_VERSION': u'0.2.7',
u'MUNKI_REPO': u'/Volumes/munki_repo',
u'NAME': u'VLC',
'PARENT_RECIPES': [u'/Users/tsutton/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes/VLC/VLC.download.recipe'],
'RECIPE_CACHE_DIR': u'/Users/tsutton/Library/AutoPkg/Cache/com.github.autopkg.pkg.VLC',
'RECIPE_DIR': u'/Users/tsutton/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes/VLC',
u'RECIPE_OVERRIDE_DIRS': [u'/Users/tsutton/git/cda-autopkg-overrides'],
'RECIPE_PATH': u'/Users/tsutton/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes/VLC/VLC.pkg.recipe',
u'RECIPE_REPOS': {u'/Users/tsutton/Library/AutoPkg/RecipeRepos/com.github.autopkg.keeleysam-recipes': {
URL = "https://github.com/autopkg/keeleysam-recipes";
},
u'/Users/tsutton/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes': {
URL = "https://github.com/autopkg/recipes";
},
u'/Users/tsutton/Library/AutoPkg/RecipeRepos/com.github.autopkg.timsutton-recipes': {
URL = "https://github.com/autopkg/timsutton-recipes";
},
u'/Users/tsutton/Library/AutoPkg/RecipeRepos/com.github.hjuutilainen.autopkg-recipes': {
URL = "https://github.com/hjuutilainen/autopkg-recipes";
},
u'/Users/tsutton/Library/AutoPkg/RecipeRepos/com.github.jessepeterson.autopkg-recipes': {
URL = "https://github.com/jessepeterson/autopkg-recipes";
}},
u'RECIPE_SEARCH_DIRS': [u'.',
u'~/Library/AutoPkg/Recipes',
u'/Library/AutoPkg/Recipes',
u'/Users/tsutton/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes',
u'/Users/tsutton/Library/AutoPkg/RecipeRepos/com.github.hjuutilainen.autopkg-recipes',
u'/Users/tsutton/Library/AutoPkg/RecipeRepos/com.github.jessepeterson.autopkg-recipes',
u'/Users/tsutton/Library/AutoPkg/RecipeRepos/com.github.autopkg.keeleysam-recipes',
u'/Users/tsutton/Library/AutoPkg/RecipeRepos/com.github.autopkg.timsutton-recipes'],
'verbose': 3}
SparkleUpdateInfoProvider
{'Input': {'appcast_url': u'http://update.videolan.org/vlc/sparkle/vlc-intel64.xml'}}
SparkleUpdateInfoProvider: Version retrieved from appcast: 2.1.2
SparkleUpdateInfoProvider: Found URL http://get.videolan.org/vlc/2.1.2/macosx/vlc-2.1.2.dmg
{'Output': {'additional_pkginfo': {},
'url': 'http://get.videolan.org/vlc/2.1.2/macosx/vlc-2.1.2.dmg'}}
URLDownloader
{'Input': {'filename': u'VLC.dmg',
'url': 'http://get.videolan.org/vlc/2.1.2/macosx/vlc-2.1.2.dmg'}}
URLDownloader: Item at URL is unchanged.
URLDownloader: Using existing /Users/tsutton/Library/AutoPkg/Cache/com.github.autopkg.pkg.VLC/downloads/VLC.dmg
{'Output': {'download_changed': False,
'etag': '',
'last_modified': '',
'pathname': u'/Users/tsutton/Library/AutoPkg/Cache/com.github.autopkg.pkg.VLC/downloads/VLC.dmg'}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
AppDmgVersioner
{'Input': {'dmg_path': u'/Users/tsutton/Library/AutoPkg/Cache/com.github.autopkg.pkg.VLC/downloads/VLC.dmg'}}
AppDmgVersioner: Mounted disk image /Users/tsutton/Library/AutoPkg/Cache/com.github.autopkg.pkg.VLC/downloads/VLC.dmg
AppDmgVersioner: BundleID: org.videolan.vlc
AppDmgVersioner: Version: 2.1.2
{'Output': {'app_name': u'VLC.app',
'bundleid': u'org.videolan.vlc',
'version': u'2.1.2'}}
PkgRootCreator
{'Input': {'pkgdirs': {
Applications = 0775;
},
'pkgroot': u'/Users/tsutton/Library/AutoPkg/Cache/com.github.autopkg.pkg.VLC/VLC'}}
PkgRootCreator: Created /Users/tsutton/Library/AutoPkg/Cache/com.github.autopkg.pkg.VLC/VLC
PkgRootCreator: Creating Applications
PkgRootCreator: Created /Users/tsutton/Library/AutoPkg/Cache/com.github.autopkg.pkg.VLC/VLC/Applications
{'Output': {}}
Copier
{'Input': {'destination_path': u'/Users/tsutton/Library/AutoPkg/Cache/com.github.autopkg.pkg.VLC/VLC/Applications/VLC.app',
'source_path': u'/Users/tsutton/Library/AutoPkg/Cache/com.github.autopkg.pkg.VLC/downloads/VLC.dmg/VLC.app'}}
Copier: Mounted disk image /Users/tsutton/Library/AutoPkg/Cache/com.github.autopkg.pkg.VLC/downloads/VLC.dmg
Copier: Copied /private/tmp/dmg.WL2vss/VLC.app to /Users/tsutton/Library/AutoPkg/Cache/com.github.autopkg.pkg.VLC/VLC/Applications/VLC.app
{'Output': {}}
PkgInfoCreator
{'Input': {'infofile': u'/Users/tsutton/Library/AutoPkg/Cache/com.github.autopkg.pkg.VLC/PackageInfo',
'pkgroot': u'/Users/tsutton/Library/AutoPkg/Cache/com.github.autopkg.pkg.VLC/VLC',
'pkgtype': u'flat',
'template_path': u'/Users/tsutton/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes/VLC/PackageInfoTemplate',
'version': u'2.1.2'}}
{'Output': {}}
PkgCreator
{'Input': {'pkg_request': {
chown = (
{
group = admin;
path = Applications;
user = root;
}
);
id = "org.videolan.vlc.pkg";
options = "purge_ds_store";
pkgdir = "/Users/tsutton/Library/AutoPkg/Cache/com.github.autopkg.pkg.VLC";
resources = "/Users/tsutton/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes/VLC/Resources";
}}}
PkgCreator: Connecting
PkgCreator: Sending packaging request
PkgCreator: Disconnecting
{'Output': {'pkg_path': '/Users/tsutton/Library/AutoPkg/Cache/com.github.autopkg.pkg.VLC/VLC-2.1.2.pkg'}}
{'AUTOPKG_VERSION': u'0.2.7',
u'MUNKI_REPO': u'/Volumes/munki_repo',
u'NAME': u'VLC',
'PARENT_RECIPES': [u'/Users/tsutton/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes/VLC/VLC.download.recipe'],
'RECIPE_CACHE_DIR': u'/Users/tsutton/Library/AutoPkg/Cache/com.github.autopkg.pkg.VLC',
'RECIPE_DIR': u'/Users/tsutton/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes/VLC',
u'RECIPE_OVERRIDE_DIRS': [u'/Users/tsutton/git/cda-autopkg-overrides'],
'RECIPE_PATH': u'/Users/tsutton/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes/VLC/VLC.pkg.recipe',
u'RECIPE_REPOS': {u'/Users/tsutton/Library/AutoPkg/RecipeRepos/com.github.autopkg.keeleysam-recipes': {
URL = "https://github.com/autopkg/keeleysam-recipes";
},
u'/Users/tsutton/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes': {
URL = "https://github.com/autopkg/recipes";
},
u'/Users/tsutton/Library/AutoPkg/RecipeRepos/com.github.autopkg.timsutton-recipes': {
URL = "https://github.com/autopkg/timsutton-recipes";
},
u'/Users/tsutton/Library/AutoPkg/RecipeRepos/com.github.hjuutilainen.autopkg-recipes': {
URL = "https://github.com/hjuutilainen/autopkg-recipes";
},
u'/Users/tsutton/Library/AutoPkg/RecipeRepos/com.github.jessepeterson.autopkg-recipes': {
URL = "https://github.com/jessepeterson/autopkg-recipes";
}},
u'RECIPE_SEARCH_DIRS': [u'.',
u'~/Library/AutoPkg/Recipes',
u'/Library/AutoPkg/Recipes',
u'/Users/tsutton/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes',
u'/Users/tsutton/Library/AutoPkg/RecipeRepos/com.github.hjuutilainen.autopkg-recipes',
u'/Users/tsutton/Library/AutoPkg/RecipeRepos/com.github.jessepeterson.autopkg-recipes',
u'/Users/tsutton/Library/AutoPkg/RecipeRepos/com.github.autopkg.keeleysam-recipes',
u'/Users/tsutton/Library/AutoPkg/RecipeRepos/com.github.autopkg.timsutton-recipes'],
'additional_pkginfo': {},
'app_name': u'VLC.app',
u'appcast_url': u'http://update.videolan.org/vlc/sparkle/vlc-intel64.xml',
'bundleid': u'org.videolan.vlc',
u'destination_path': u'/Users/tsutton/Library/AutoPkg/Cache/com.github.autopkg.pkg.VLC/VLC/Applications/VLC.app',
u'dmg_path': u'/Users/tsutton/Library/AutoPkg/Cache/com.github.autopkg.pkg.VLC/downloads/VLC.dmg',
'download_changed': False,
'etag': '',
u'filename': u'VLC.dmg',
u'infofile': u'/Users/tsutton/Library/AutoPkg/Cache/com.github.autopkg.pkg.VLC/PackageInfo',
'last_modified': '',
'pathname': u'/Users/tsutton/Library/AutoPkg/Cache/com.github.autopkg.pkg.VLC/downloads/VLC.dmg',
'pkg_path': '/Users/tsutton/Library/AutoPkg/Cache/com.github.autopkg.pkg.VLC/VLC-2.1.2.pkg',
u'pkg_request': {
chown = (
{
group = admin;
path = Applications;
user = root;
}
);
id = "org.videolan.vlc.pkg";
infofile = "/Users/tsutton/Library/AutoPkg/Cache/com.github.autopkg.pkg.VLC/PackageInfo";
options = "purge_ds_store";
pkgdir = "/Users/tsutton/Library/AutoPkg/Cache/com.github.autopkg.pkg.VLC";
pkgname = "VLC-2.1.2";
pkgroot = "/Users/tsutton/Library/AutoPkg/Cache/com.github.autopkg.pkg.VLC/VLC";
pkgtype = flat;
resources = "/Users/tsutton/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes/VLC/Resources";
scripts = "";
version = "2.1.2";
},
u'pkgdirs': {
Applications = 0775;
},
u'pkgname': u'VLC-2.1.2',
u'pkgroot': u'/Users/tsutton/Library/AutoPkg/Cache/com.github.autopkg.pkg.VLC/VLC',
u'pkgtype': u'flat',
u'source_path': u'/Users/tsutton/Library/AutoPkg/Cache/com.github.autopkg.pkg.VLC/downloads/VLC.dmg/VLC.app',
u'template_path': u'/Users/tsutton/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes/VLC/PackageInfoTemplate',
'url': 'http://get.videolan.org/vlc/2.1.2/macosx/vlc-2.1.2.dmg',
'verbose': 3,
'version': u'2.1.2'}
Receipt written to /Users/tsutton/Library/AutoPkg/Cache/com.github.autopkg.pkg.VLC/receipts/VLC-receipt-20140107-104726.plist
The following packages were built:
Identifier Version Pkg path
---------- ------- --------
org.videolan.vlc.pkg 2.1.2 /Users/tsutton/Library/AutoPkg/Cache/com.github.autopkg.pkg.VLC/VLC-2.1.2.pkg
from recipes.
Nope, so this is a head-scratcher. @golbiga did experience the same symptom... https://gist.github.com/golbiga/8274348
$defaults read com.github.autopkg { "API_PASSWORD" = apiPassword; "API_USERNAME" = apiUser; "JSS_REPO" = "/Volumes/JSS_Dist_Point/Packages"; "JSS_URL" = "https://my.jss.test:8443"; "MUNKI_REPO" = "/Users/Shared/repo"; "RECIPE_REPOS" = { "/Users/318admin/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes" = { URL = "http://github.com/autopkg/recipes.git"; }; }; "RECIPE_SEARCH_DIRS" = ( ".", "~/Library/AutoPkg/Recipes", "/Library/AutoPkg/Recipes", "/Users/318admin/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes" ); }
from recipes.
Ok. If the same thing happens with VLC.pkg, can you paste full -vvv
output?
from recipes.
The same does not happen when I do just the VLC.pkg.
from recipes.
So when does it happen? Confused now.
On Jan 7, 2014, at 11:52 AM, Allen Golbig [email protected] wrote:
The same does not happen when I do just the VLC.pkg.
β
Reply to this email directly or view it on GitHub.
from recipes.
We had been using my jss.recipes. But, with the newest autopkg release this is totally working for me again now... so maybe ok to close?
from recipes.
It's still failing for me, even when running the latest release 0.2.7. My gist with an output of a failed and successful run when removing %RECIPE_DIR% from PackageInfoTemplate is here, https://gist.github.com/golbiga/8306088.
from recipes.
Now it makes sense: the VLC.jss recipe doesn't have a PackageInfoTemplate file.
The original VLC recipes work because %RECIPE_DIR%/PackageInfoTemplate exists, but it doesn't in the case of the VLC.jss recipe. AutoPkg won't magically merge the RECIPE_DIRs of child and parent recipes.
from recipes.
Copying the the PackageInfoTemplate into the jssRecipes Repo solved the issue. Thanks for the assistance!
from recipes.
Related Issues (20)
- Acrobat Adobe Reader DC has been reverted to Acrobat Adobe Reader (DC removed) HOT 4
- Wrong pattern in line 189 munkitools.munki.recipe HOT 1
- Error with GoogleChrome.pkg recipe HOT 3
- MSAutoUpdate.download.recipe - processor MSOfficeMacURLandUpdateInfoProvider can't be found HOT 1
- XQuartz sparkle URL has changed HOT 3
- XQuartz download recipe pointing to old Sparkle feed
- com.github.autopkg.munki.MSTeams pulls an old version HOT 2
- com.github.autopkg.munki.MSTeams pulls old version HOT 3
- Feature request - munkitools6 recipe should support the MacAdmins signed releases HOT 1
- FR - MSOffice - MSOfficeMacURLandUpdateInfoProvider.py - BASE_URL change suggestion HOT 4
- Errant plist data in metadata for MSCompanyPortal download recipe causes autopg run to abort
- AdobeReader.pkg.recipe breaks package with Ventura
- Evernote.download.recipe - Processor: URLDownloader: Error: curl: (22) The requested URL returned error: 404 HOT 3
- Evernote.download.recipe -- Download URL has changed (again) HOT 1
- Dropbox download/munki recipes every so often appears to install beta version instead of production version
- Handbrake: incorrect file type is downloaded from GitHub
- package receipt not valid mechanism for Adobe Reader HOT 7
- AdobeReader recipes fail to find new versions HOT 2
- MSOfficeMacProduct.download misleading description HOT 1
- download.MSCompanyPortal broken because of upstream issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recipes.