-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected result when following bitbucket redirect #119
Comments
That output looks good to me — it generated a Munki recipe, but couldn't programmatically determine the description so you'll have to add that manually. (That's not uncommon.) Throw a
At this point, the next step would be to take the install and pkg recipes and change their ParentRecipe to the existing download recipe ( EDIT: I see now that it generated recipes for a totally different app. I'll go get some coffee and let you know what I find after. ;-) |
OK, I see the issue. Recipe Robot expects BitBucket repositories to contain downloads for a single app, but Objective-See is using a single repository to host downloads for multiple apps. Therefore, the assumption made here is incorrect:
In this case, Recipe Robot should treat the URL you provided as a simple zip download, rather than trying to be clever about the fact that it contains bitbucket.org. Fortunately, there's a way to do that, outlined here: #98 (comment) Basically, download the zip you want and provide the path to that zip as input for Recipe Robot. That should at least get you the right app. (Whether or not the resulting AWS download URL is valid is up to you to determine.) I think you also discovered a bug, which is that the Versioner and CodeSignatureVerifier processors are set to use the app's name, even if the actual filename differs (i.e. BlockBlock vs BlockBlock_Installer). For most apps, they're identical, but not for BlockBlock. Now, I notice that zip file contains an installer app, so the next problem you see will be that Recipe Robot assumes that app should go into your Applications folder when installed. That's wrong, and will require manual rewriting. Recipe Robot offers you moral support there, but not much else. :-) |
Discovered while troubleshooting #119.
Not exactly a fix, but the latest change (8672ddb) should warn if a BitBucket or GitHub repo URL contains "download," since there's some ambiguity about how such URL can be processed. I think treating the URL as a repo is the right method, though, since download URLs are version specific and there's no guarantee we'll find a Sparkle feed in the app bundle. |
I know there's a pre-existing recipe for this product, I'm trying to add install and pkg flavors by running with
--ignore-existing
.Processing https://bitbucket.org/objective-see/deploy/downloads/BlockBlock_0.9.4.zip ... [WARNING] Could not detect BitBucket description. Generating munki recipe... [REMINDER] I couldn't find a description for this app, so you'll need to manually add one to the munki recipe. /Users/allister/Library/AutoPkg/Recipe Robot Output/Objective-See, LLC/RansomWhere.munki.recipe
The text was updated successfully, but these errors were encountered: