{"action":"created","issue":{"url":"https://api.github.com/repos/homebysix/recipe-robot/issues/77","labels_url":"https://api.github.com/repos/homebysix/recipe-robot/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/homebysix/recipe-robot/issues/77/comments","events_url":"https://api.github.com/repos/homebysix/recipe-robot/issues/77/events","html_url":"https://github.com/homebysix/recipe-robot/issues/77","id":117289281,"number":77,"title":"Recipe Robot refuses to make bigfix recipe because others already exist","user":{"login":"jgstew","id":2439367,"avatar_url":"https://avatars.githubusercontent.com/u/2439367?v=3","gravatar_id":"","url":"https://api.github.com/users/jgstew","html_url":"https://github.com/jgstew","followers_url":"https://api.github.com/users/jgstew/followers","following_url":"https://api.github.com/users/jgstew/following{/other_user}","gists_url":"https://api.github.com/users/jgstew/gists{/gist_id}","starred_url":"https://api.github.com/users/jgstew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgstew/subscriptions","organizations_url":"https://api.github.com/users/jgstew/orgs","repos_url":"https://api.github.com/users/jgstew/repos","events_url":"https://api.github.com/users/jgstew/events{/privacy}","received_events_url":"https://api.github.com/users/jgstew/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-17T05:59:48Z","updated_at":"2015-11-18T21:39:39Z","closed_at":"2015-11-17T15:40:27Z","body":"I set Recipe robot to only generate BigFix recipes, then ran it with a TextWrangler URL. Recipe Robot threw an error and would not generate the BigFix recipe even though no existing ones were found. \r\n\r\nThe `is_existing = True` on [Line 361 of tools.py](https://github.com/homebysix/recipe-robot/blob/b68947416cf9034c77226c896f79274218099415/scripts/recipe_robot_lib/tools.py#L361) seems to prevent any recipe from being generated if any other recipe exists. It should only do this if all recipes requested to be generated already exist. If this means recipe-robot needs to make a redundant download recipe, then I feel like it should. \r\n\r\n**Related:** https://github.com/homebysix/recipe-robot/issues/74\r\n**Source Function:** https://github.com/homebysix/recipe-robot/blob/b68947416cf9034c77226c896f79274218099415/scripts/recipe_robot_lib/tools.py#L327\r\n\r\n    Searching for existing AutoPkg recipes for \"TextWrangler\"...\r\n        Found existing TextWrangler.munki.recipe\r\n        Found existing TextWrangler.install.recipe\r\n        Found existing TextWrangler.jss.recipe\r\n        Found existing TextWrangler.download.recipe\r\n        Found existing TextWrangler.absolute.recipe\r\n        Found existing TextWrangler.ds.recipe\r\n        Found existing TextWrangler.sccm.recipe\r\n        Found existing TextWrangler.pkg.recipe\r\n    [ERROR] Sorry, AutoPkg recipes already exist for this app, and I can't blend new recipes with existing recipes.\r\n    \r\n    Here are my suggestions:\r\n    \t- See if one of the above recipes meets your needs, either as-is or using an override.\r\n    \t- Write your own recipe using one of the above as the ParentRecipe.\r\n    \t- Or if you must, write your own recipe from scratch.\r\n    [ERROR]"},"comment":{"url":"https://api.github.com/repos/homebysix/recipe-robot/issues/comments/157873393","html_url":"https://github.com/homebysix/recipe-robot/issues/77#issuecomment-157873393","issue_url":"https://api.github.com/repos/homebysix/recipe-robot/issues/77","id":157873393,"user":{"login":"jgstew","id":2439367,"avatar_url":"https://avatars.githubusercontent.com/u/2439367?v=3","gravatar_id":"","url":"https://api.github.com/users/jgstew","html_url":"https://github.com/jgstew","followers_url":"https://api.github.com/users/jgstew/followers","following_url":"https://api.github.com/users/jgstew/following{/other_user}","gists_url":"https://api.github.com/users/jgstew/gists{/gist_id}","starred_url":"https://api.github.com/users/jgstew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgstew/subscriptions","organizations_url":"https://api.github.com/users/jgstew/orgs","repos_url":"https://api.github.com/users/jgstew/repos","events_url":"https://api.github.com/users/jgstew/events{/privacy}","received_events_url":"https://api.github.com/users/jgstew/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T21:39:39Z","updated_at":"2015-11-18T21:39:39Z","body":"Given the current behavior, I'd almost expect `--ignore-existing` to mean that only those that are not existing would get generated if I have all types selected.\r\n\r\nThere are 4 different states I can see being valid:\r\n- Don't generate any recipes if there are existing ones\r\n- Only generate the missing recipes if there are existing ones\r\n- Only generate the missing recipes + dependencies(download,pkg) if there are existing ones.\r\n- Generate all recipes even if there are existing ones"}}