{"id":21028880,"url":"https://github.com/chamons/patch-iron","last_synced_at":"2026-04-29T07:34:40.102Z","repository":{"id":87165423,"uuid":"114291639","full_name":"chamons/patch-iron","owner":"chamons","description":"A little hack to patch patch files","archived":false,"fork":false,"pushed_at":"2022-03-02T20:18:28.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-02T21:18:33.402Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chamons.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":"2017-12-14T20:05:49.000Z","updated_at":"2022-03-02T18:44:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"678e0261-379f-4f2e-bcc2-6850cb3c482d","html_url":"https://github.com/chamons/patch-iron","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chamons/patch-iron","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chamons%2Fpatch-iron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chamons%2Fpatch-iron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chamons%2Fpatch-iron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chamons%2Fpatch-iron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chamons","download_url":"https://codeload.github.com/chamons/patch-iron/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chamons%2Fpatch-iron/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32416146,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-11-19T11:59:31.853Z","updated_at":"2026-04-29T07:34:40.086Z","avatar_url":"https://github.com/chamons.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"## patch-iron\n\nA processing hack for ironing patches into shape.\n\nIt allows you to process each chunk making changes based upon it's local content.\n\nIt is useful when a task is more difficult that can be easily solved with grepdiff and a bash script.\n\n### Usage\n\n- Open patch-iron.sln and bend Conversion.cs ProcessChunk () to your bidding.\n- Build\n- Run mono patch-iron.exe foo.patch \u003e bar.patch\n\n### Hints\n\n- Patches contain offset headers:\n\n```\n+++ b/src/AVFoundation/AVAssetDownloadTask.cs\n@@ -9,16 +9,9 @@\n```\n\nthat can be complex to replace, so in almost all cases it is better to replace one line with another, or just change a removal/add to keep by flipping the first characters. \n- If you corrupt the headers, you'll get `patch: **** Only garbage was found in the patch input.` or `patch: **** malformed patch at line 14:`.\n- Patch's have many PatchPart, which have many PatchChunk, each one a number of lines.\n- Range from PatchChunk::CalculateDiffs will spell out the range of each diff in a chunk","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchamons%2Fpatch-iron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchamons%2Fpatch-iron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchamons%2Fpatch-iron/lists"}