All Projects → saschagrunert → Go Modiff

saschagrunert / Go Modiff

Licence: mit
Command line tool for diffing go module dependency changes between versions 📔

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Go Modiff

Detective
Find all calls to require() no matter how deeply nested using a proper walk of the AST
Stars: ✭ 387 (+1512.5%)
Mutual labels:  dependencies, modules
lint-deps
Lint for unused or missing dependencies in your node.js projects. Customize with plugins or configuration.
Stars: ✭ 48 (+100%)
Mutual labels:  modules, dependencies
module-dependents
Get the list of npm modules that depend on the specified npm module.
Stars: ✭ 15 (-37.5%)
Mutual labels:  modules, dependencies
Patch Package
Fix broken node modules instantly 🏃🏽‍♀️💨
Stars: ✭ 6,062 (+25158.33%)
Mutual labels:  dependencies, diff
Modules
📦 Modules package for Laravel
Stars: ✭ 900 (+3650%)
Mutual labels:  modules
Asimov
Automatically exclude development dependencies from Apple Time Machine backups
Stars: ✭ 705 (+2837.5%)
Mutual labels:  dependencies
Licensed
A Ruby gem to cache and verify the licenses of dependencies
Stars: ✭ 690 (+2775%)
Mutual labels:  dependencies
Manul
😼 The madness vendoring utility for Golang programs
Stars: ✭ 675 (+2712.5%)
Mutual labels:  dependencies
Ufodiff
UFO source file diff application
Stars: ✭ 23 (-4.17%)
Mutual labels:  diff
Language Diff
Stars: ✭ 22 (-8.33%)
Mutual labels:  diff
Scala Steward
🤖 A bot that helps you keep your Scala projects up-to-date
Stars: ✭ 812 (+3283.33%)
Mutual labels:  dependencies
Bundlephobia
🏋️ Find out the cost of adding a new frontend dependency to your project
Stars: ✭ 6,640 (+27566.67%)
Mutual labels:  dependencies
Libraries.io
📚 The Open Source Discovery Service
Stars: ✭ 903 (+3662.5%)
Mutual labels:  dependencies
Date Fns
⏳ Modern JavaScript date utility library ⌛️
Stars: ✭ 27,650 (+115108.33%)
Mutual labels:  modules
Mergely
Merge and diff documents online
Stars: ✭ 918 (+3725%)
Mutual labels:  diff
Github Actions Golang
GitHub Actions as CI for Go
Stars: ✭ 672 (+2700%)
Mutual labels:  modules
Changeset
Minimal edits from one collection to another
Stars: ✭ 807 (+3262.5%)
Mutual labels:  diff
React Visual Diff
React component for rendering the diff of two React elements
Stars: ✭ 22 (-8.33%)
Mutual labels:  diff
Gohack
Make temporary edits to your Go module dependencies
Stars: ✭ 739 (+2979.17%)
Mutual labels:  modules
Java Object Diff
Library to diff and merge Java objects with ease
Stars: ✭ 725 (+2920.83%)
Mutual labels:  diff

go-modiff 📔

CircleCI codecov

Command line tool for diffing go module dependency changes between versions

Usage

The tool can be installed via:

go get github.com/saschagrunert/go-modiff/cmd/go-modiff

After that, the application can be used like this:

> go-modiff -r github.com/cri-o/cri-o -f v1.15.0
INFO Setting up repository github.com/cri-o/cri-o
INFO Retrieving modules of v1.15.0
INFO Retrieving modules of master
INFO 385 modules found
INFO 1 modules added
INFO 11 modules changed
INFO 0 modules removed
INFO Done, the result will be printed to `stdout`
# Dependencies

## Added
- github.com/creack/pty: v1.1.7

## Changed
- github.com/containerd/go-runc: 7d11b49 → 9007c24
- github.com/containerd/project: 831961d → 7fb81da
- github.com/containerd/ttrpc: 2a805f7 → 1fb3814
- github.com/containers/libpod: 5e42bf0 → v1.4.4
- github.com/containers/storage: v1.12.12 → v1.12.13
- github.com/godbus/dbus: 2ff6f7f → 8a16820
- github.com/kr/pty: v1.1.5 → v1.1.8
- golang.org/x/net: 3b0461e → da137c7
- golang.org/x/sys: c5567b4 → 04f50cd
- google.golang.org/grpc: v1.21.1 → v1.22.0
- honnef.co/go/tools: e561f67 → ea95bdf

## Removed
_Nothing has changed._

It is also possible to add diff links to the markdown output via --link, -l. The output would then look like this:

# Dependencies

## Added
- github.com/shurcooL/httpfs: [8d4bc4b](https://github.com/shurcooL/httpfs/tree/8d4bc4b)
- github.com/shurcooL/vfsgen: [6a9ea43](https://github.com/shurcooL/vfsgen/tree/6a9ea43)

## Changed
- github.com/onsi/ginkgo: [v1.8.0 → v1.9.0](https://github.com/onsi/ginkgo/compare/v1.8.0...v1.9.0)
- github.com/onsi/gomega: [v1.5.0 → v1.6.0](https://github.com/onsi/gomega/compare/v1.5.0...v1.6.0)
- github.com/saschagrunert/ccli: [e981d95 → 05e6f25](https://github.com/saschagrunert/ccli/compare/e981d95...05e6f25)
- github.com/urfave/cli: [v1.20.0 → 23c8303](https://github.com/urfave/cli/compare/v1.20.0...23c8303)

## Removed
- github.com/saschagrunert/go-docgen: [v0.1.3](https://github.com/saschagrunert/go-docgen/tree/v0.1.3)

Arguments

The following command line arguments are currently supported:

Argument Description
--repository, -r repository to be used, like: github.com/owner/repo
--from, -f the start of the comparison (any valid git rev) (default: "master")
--to, -t the end of the comparison (any valid git rev) (default: "master")
--link, -l add diff lnks to the markdown output (default: false)
--debug, -d enable debug output (default: false)

Contributing

You want to contribute to this project? Wow, thanks! So please just fork it and send me a pull request.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].