{"id":23509130,"url":"https://github.com/scriptingosx/recipeutil","last_synced_at":"2025-04-16T19:22:30.134Z","repository":{"id":27788885,"uuid":"31277765","full_name":"scriptingosx/recipeutil","owner":"scriptingosx","description":"a tool to help manipulate recipes for autopkg","archived":false,"fork":false,"pushed_at":"2017-01-27T15:58:00.000Z","size":17,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-28T21:45:24.925Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scriptingosx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-24T19:31:13.000Z","updated_at":"2021-06-23T16:03:56.000Z","dependencies_parsed_at":"2022-09-09T07:20:13.882Z","dependency_job_id":null,"html_url":"https://github.com/scriptingosx/recipeutil","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptingosx%2Frecipeutil","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptingosx%2Frecipeutil/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptingosx%2Frecipeutil/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptingosx%2Frecipeutil/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scriptingosx","download_url":"https://codeload.github.com/scriptingosx/recipeutil/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231232499,"owners_count":18344936,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-25T11:37:51.987Z","updated_at":"2024-12-25T11:37:52.587Z","avatar_url":"https://github.com/scriptingosx.png","language":"Python","readme":"# recipeutil\nA tool that helps manage and manipulate `autopkg` recipes.\n\n```\nrecipeutil verb [--parent|--all-parents] [--names] recipename|recipeid\n```\n\n##  verbs\n\n### `info`\nsynonym for autopkg info\n\n### `id` or `identifier`\nshows the identifier for the recipe\n\n### `which` or `path`\nprints the path to the recipe\n\n### `open`\nuses the `open` command to open the recipe with the default application\n\n### `edit`\nopens the recipe with the `$EDITOR`. If the variable `$RECIPE_EDITOR` is set, this will be used instead\n\n### `reveal`\nreveals the recipe in finder\n\n### `status`\nshows `git status` of the file\n\n### `cache`\nopens the cache folder for this recipe in the Finder\n\n### `clearcache`\ndeletes the cache folder for this recipe\n\n### `duplicate`\nwill prompt for a new recipe identifier fill that in a new recipe\n\n### `newchild`\nwill create a new recipe pointed to the given recipe as parent. \n\n\n## options\n\n### `--parent` or `-p`\napplies the verb to the recipe's parent\n\n### `--all-parents` or `-a`\nrecursively applies verb to the recipe and all its parents\n\n### `--names` or `-n`\nprints the name of the recipe before the information\n\n### extra arguments\n`recipeutil` will pass through extra arguments to the `edit` and `status` actions, e.g.\n\n```\nrecipeutil status Firefox.download --short\n\nrecipeutil edit --all-parents Fetch.munki --new-window\n```\n\n### about generated identifiers\n\n`duplicate` and `newchild` will attempt to generate a recipe identifier for you. To figure ou the right prefix, they will try the following:\n\nFirst they will look for a key `RECIPE_ID_PREFIX` in the AutoPkg preference domain `com.github.autopkg`. You can set this with \n\n```\ndefaults write com.github.autopkg write RECIPE_ID_PREFIX com.scriptingosx\n```\n\nIf that is unset, it will look for `RECIPE_ID_PREFIX` as an environment variable.\n\nIf the environment variable is also unset, it will attempt to get the `user.name` config setting from `git`. I.e. run this command:\n\n```\ngit config --get user.name\n```\n\nand prefix `com.github.` to that.\n\nIf the git user name is unset it will fall back to the current user name and prefix `com.github.`\n\nIn most cases it should work just fine. If you do not like the default behavior, set the default in `com.github.autopkg`.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptingosx%2Frecipeutil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscriptingosx%2Frecipeutil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptingosx%2Frecipeutil/lists"}