{"id":16335974,"url":"https://github.com/saschagrunert/go-modiff","last_synced_at":"2025-03-20T23:30:48.643Z","repository":{"id":41293667,"uuid":"197008753","full_name":"saschagrunert/go-modiff","owner":"saschagrunert","description":"Command line tool for diffing go module dependency changes between versions 📔","archived":false,"fork":false,"pushed_at":"2024-02-21T07:54:45.000Z","size":8045,"stargazers_count":30,"open_issues_count":4,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-01T00:55:41.255Z","etag":null,"topics":["dependencies","diff","go","go-modules","golang","modules","release-notes"],"latest_commit_sha":null,"homepage":"","language":"Go","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/saschagrunert.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-07-15T13:54:59.000Z","updated_at":"2024-03-31T01:35:05.000Z","dependencies_parsed_at":"2024-02-05T09:30:02.150Z","dependency_job_id":"5a92e626-a457-46ad-9b6e-9681a53f5987","html_url":"https://github.com/saschagrunert/go-modiff","commit_stats":null,"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saschagrunert%2Fgo-modiff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saschagrunert%2Fgo-modiff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saschagrunert%2Fgo-modiff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saschagrunert%2Fgo-modiff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saschagrunert","download_url":"https://codeload.github.com/saschagrunert/go-modiff/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244090723,"owners_count":20396465,"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":["dependencies","diff","go","go-modules","golang","modules","release-notes"],"created_at":"2024-10-10T23:42:52.610Z","updated_at":"2025-03-20T23:30:47.814Z","avatar_url":"https://github.com/saschagrunert.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-modiff 📔\n\n[![CircleCI](https://circleci.com/gh/saschagrunert/go-modiff.svg?style=shield)](https://circleci.com/gh/saschagrunert/go-modiff)\n[![codecov](https://codecov.io/gh/saschagrunert/go-modiff/branch/main/graph/badge.svg)](https://codecov.io/gh/saschagrunert/go-modiff)\n\n## Command line tool for diffing go module dependency changes between versions\n\n## Usage\n\nThe tool can be installed via:\n\n```shell\ngo get github.com/saschagrunert/go-modiff/cmd/go-modiff\n```\n\nAfter that, the application can be used like this:\n\n```shell\n\u003e go-modiff -r github.com/cri-o/cri-o -f v1.15.0\nINFO Setting up repository github.com/cri-o/cri-o\nINFO Retrieving modules of v1.15.0\nINFO Retrieving modules of master\nINFO 385 modules found\nINFO 1 modules added\nINFO 11 modules changed\nINFO 0 modules removed\nINFO Done, the result will be printed to `stdout`\n```\n\n```markdown\n# Dependencies\n\n## Added\n\n- github.com/creack/pty: v1.1.7\n\n## Changed\n\n- github.com/containerd/go-runc: 7d11b49 → 9007c24\n- github.com/containerd/project: 831961d → 7fb81da\n- github.com/containerd/ttrpc: 2a805f7 → 1fb3814\n- github.com/containers/libpod: 5e42bf0 → v1.4.4\n- github.com/containers/storage: v1.12.12 → v1.12.13\n- github.com/godbus/dbus: 2ff6f7f → 8a16820\n- github.com/kr/pty: v1.1.5 → v1.1.8\n- golang.org/x/net: 3b0461e → da137c7\n- golang.org/x/sys: c5567b4 → 04f50cd\n- google.golang.org/grpc: v1.21.1 → v1.22.0\n- honnef.co/go/tools: e561f67 → ea95bdf\n\n## Removed\n\n_Nothing has changed._\n```\n\nIt is also possible to add diff links to the markdown output via `--link, -l`.\nThe output would then look like this:\n\n```markdown\n# Dependencies\n\n## Added\n\n- github.com/shurcooL/httpfs: [8d4bc4b](https://github.com/shurcooL/httpfs/tree/8d4bc4b)\n- github.com/shurcooL/vfsgen: [6a9ea43](https://github.com/shurcooL/vfsgen/tree/6a9ea43)\n\n## Changed\n\n- github.com/onsi/ginkgo: [v1.8.0 → v1.9.0](https://github.com/onsi/ginkgo/compare/v1.8.0...v1.9.0)\n- github.com/onsi/gomega: [v1.5.0 → v1.6.0](https://github.com/onsi/gomega/compare/v1.5.0...v1.6.0)\n- github.com/saschagrunert/ccli: [e981d95 → 05e6f25](https://github.com/saschagrunert/ccli/compare/e981d95...05e6f25)\n- github.com/urfave/cli: [v1.20.0 → 23c8303](https://github.com/urfave/cli/compare/v1.20.0...23c8303)\n\n## Removed\n\n- github.com/saschagrunert/go-docgen: [v0.1.3](https://github.com/saschagrunert/go-docgen/tree/v0.1.3)\n```\n\n### Arguments\n\nThe following command line arguments are currently supported:\n\n| Argument           | Description                                                         |\n| ------------------ | ------------------------------------------------------------------- |\n| `--repository, -r` | repository to be used, like: github.com/owner/repo                  |\n| `--from, -f`       | the start of the comparison (any valid git rev) (default: \"master\") |\n| `--to, -t`         | the end of the comparison (any valid git rev) (default: \"master\")   |\n| `--link, -l`       | add diff lnks to the markdown output (default: false)               |\n| `--debug, -d`      | enable debug output (default: false)                                |\n\n## Contributing\n\nYou want to contribute to this project? Wow, thanks! So please just fork it and\nsend me a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaschagrunert%2Fgo-modiff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaschagrunert%2Fgo-modiff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaschagrunert%2Fgo-modiff/lists"}