{"id":20987254,"url":"https://github.com/haxpor/diffp4","last_synced_at":"2025-03-13T11:25:15.440Z","repository":{"id":149552853,"uuid":"385013283","full_name":"haxpor/diffp4","owner":"haxpor","description":"diff colorifying tool e.g. coloring diff output from perforce, etc","archived":false,"fork":false,"pushed_at":"2021-11-05T21:14:50.000Z","size":719,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-20T07:42:03.181Z","etag":null,"topics":["color-output","diff","p4","perforce","terminal"],"latest_commit_sha":null,"homepage":"","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/haxpor.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":"2021-07-11T17:34:53.000Z","updated_at":"2021-11-05T21:14:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"7c7968e3-fcac-4999-904f-47146bd4ed86","html_url":"https://github.com/haxpor/diffp4","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haxpor%2Fdiffp4","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haxpor%2Fdiffp4/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haxpor%2Fdiffp4/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haxpor%2Fdiffp4/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haxpor","download_url":"https://codeload.github.com/haxpor/diffp4/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243394323,"owners_count":20283945,"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":["color-output","diff","p4","perforce","terminal"],"created_at":"2024-11-19T06:16:25.619Z","updated_at":"2025-03-13T11:25:15.420Z","avatar_url":"https://github.com/haxpor.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# diffp4\n\nPerforce's `p4` tool has no built-in support for its diff output.\nSo `diffp4` is created to solve that problem.\n\nPS. I'm not interested in solving this problem with `P4DIFF` which *might* be able\nto solve the problem.\n\n# Build\n\n## Linux/Unix\n\n* `make`\n* `sudo make install`\n\n## Windows\n\n* `make.bat`\n\n\u003e If you use WSL, then you can do that via `cmd.exe /c make.bat` but you need to make sure you are in Visual Studio environment in order for `cl.exe` to be picked up.\n\n# Installa via published packages\n\n## Debian/Ubuntu\n\n* `sudo add-apt-repository ppa:haxpor/combined`\n* `sudo apt install diffp4`\n\n# Usage\n\nThe program itself reads the input from the standard input. So you send input\neither via `|` (pipe), or reading from file.\n\n* `p4 diff | diffp4 -t perforce`\n* `p4 diff -du | diffp4 -t perforce`\n* `p4 describe -S 1234567 | diffp4 -t perforce`\n* `diffp4 \u003c /somedir/anotherdir/p4_diff.diff`\n\n# Support\n\n## Perforce\n\n* `p4 diff` with or without `-du`\n* `p4 describe`\n\n# License\nMIT, Wasin Thonkaew\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaxpor%2Fdiffp4","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaxpor%2Fdiffp4","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaxpor%2Fdiffp4/lists"}