{"id":26059702,"url":"https://github.com/orange-cloudfoundry/config-patcher","last_synced_at":"2026-01-06T10:14:43.443Z","repository":{"id":40994198,"uuid":"217551622","full_name":"orange-cloudfoundry/config-patcher","owner":"orange-cloudfoundry","description":"small utility to patch config file in different format by using yaml patch expression","archived":false,"fork":false,"pushed_at":"2024-08-29T08:50:30.000Z","size":4240,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-08-29T10:11:26.832Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/orange-cloudfoundry.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-25T14:28:12.000Z","updated_at":"2024-08-29T08:50:20.000Z","dependencies_parsed_at":"2024-02-16T09:27:30.094Z","dependency_job_id":"53b4b27b-9f98-40d9-96a8-6cf78d34aad9","html_url":"https://github.com/orange-cloudfoundry/config-patcher","commit_stats":null,"previous_names":[],"tags_count":48,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orange-cloudfoundry%2Fconfig-patcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orange-cloudfoundry%2Fconfig-patcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orange-cloudfoundry%2Fconfig-patcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orange-cloudfoundry%2Fconfig-patcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orange-cloudfoundry","download_url":"https://codeload.github.com/orange-cloudfoundry/config-patcher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242555533,"owners_count":20148720,"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":"2025-03-08T13:27:55.456Z","updated_at":"2026-01-06T10:14:38.425Z","avatar_url":"https://github.com/orange-cloudfoundry.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# config-patcher\n\nsmall utility to patch config file in different format by using yaml patch expression which can be found on this link: https://github.com/krishicks/yaml-patch .\n\nConfig-patcher support these formats as config input:\n- json\n- yaml\n- toml\n\n## Installation \n\n**Config-patcher has been made to work during a bosh lifecycle and should be used through its boshrelease: https://github.com/orange-cloudfoundry/config-patcher-boshrelease**\n\nYou can use by cli, by using `go get https://github.com/orange-cloudfoundry/config-patcher`\n\n```\nUsage of ./config-patcher:\n  -patch string\n    \tSet in glob format where to find rules for patching config files (default \"/var/vcap/jobs/*/config-patcher/*.yml\")\n```\n\n## Patch format\n\nCreate a yaml file in this format (which is accessible which -patch flag):\n\n```yaml\n- config_file: \u003cconfig-file\u003e # config file in input which will be patched\n  config_type: \u003cjson | yaml | toml\u003e # this is actually not mandatory, but you could need to set explicitly type of your config file\n  patches:\n    - op: \u003cadd | remove | replace | move | copy | test\u003e\n      from: \u003csource-path\u003e # only valid for the 'move' and 'copy' operations\n      path: \u003ctarget-path\u003e # always mandatory\n      value: \u003cany-yaml-structure\u003e # only valid for 'add', 'replace' and 'test' operations\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forange-cloudfoundry%2Fconfig-patcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forange-cloudfoundry%2Fconfig-patcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forange-cloudfoundry%2Fconfig-patcher/lists"}