detects conflicting requirements between multiple go.mod files

gomodconflict

Prints out conflicting version requirements between multiple go.mod files.

Building

First download earthly.

Then run:

earthly +all

builds are written to build/ubuntu/gomodconflict and build/alpine/gomodconflict

Example use

gomodconflict ~/gh/earthly/earthly/go.mod ~/earthly-hack/fsutil/go.mod ~/earthly-hack/buildkit/go.mod

which will display any conflicting go.mod values:

github.com/containerd/continuity
  /home/alex/earthly-hack/fsutil/go.mod: v0.1.0
  /home/alex/earthly-hack/buildkit/go.mod: v0.2.0
github.com/google/uuid
  /home/alex/gh/earthly/earthly/go.mod: v1.3.0
  /home/alex/earthly-hack/buildkit/go.mod: v1.2.0
golang.org/x/sys
  /home/alex/earthly-hack/fsutil/go.mod: v0.0.0-20210313202042-bd2e13477e9c
  /home/alex/earthly-hack/buildkit/go.mod: v0.0.0-20210915083310-ed5796bab164
github.com/docker/docker
  /home/alex/gh/earthly/earthly/go.mod: github.com/docker/docker=>v20.10.3-0.20210817025855-ba2adeebdb8d+incompatible
  /home/alex/earthly-hack/fsutil/go.mod: v20.10.3-0.20210817025855-ba2adeebdb8d+incompatible
  /home/alex/earthly-hack/buildkit/go.mod: github.com/docker/docker=>v20.10.3-0.20210817025855-ba2adeebdb8d+incompatible
google.golang.org/protobuf
  /home/alex/gh/earthly/earthly/go.mod: v1.27.1
  /home/alex/earthly-hack/fsutil/go.mod: v1.25.0
  /home/alex/earthly-hack/buildkit/go.mod: v1.27.1
github.com/containerd/stargz-snapshotter/estargz
  /home/alex/gh/earthly/earthly/go.mod: github.com/containerd/stargz-snapshotter/estargz=>v0.0.0-20201217071531-2b97b583765b
  /home/alex/earthly-hack/buildkit/go.mod: v0.8.1-0.20210910092506-a3ecdc9366fb
github.com/golang/protobuf
  /home/alex/gh/earthly/earthly/go.mod: v1.5.2
  /home/alex/earthly-hack/fsutil/go.mod: v1.4.3
  /home/alex/earthly-hack/buildkit/go.mod: v1.5.2
github.com/google/go-cmp
  /home/alex/earthly-hack/fsutil/go.mod: v0.5.2
  /home/alex/earthly-hack/buildkit/go.mod: v0.5.6

and will exit with an error code of 1 if differences are detected.

Owner
Similar Resources

Input Geojson and utilize Dijkstra's formula to provide the best route between two sets of coordinates

Golang GeoJson Dijkstra Golang GeoJson Dijkstra utilizes GeoJson Feature Collections to find the best the shortest route between two points. Installat

Dec 27, 2022

Terraform Provider for cascading runs across multiple workspaces.

Terraform Multispace Provider The multispace Terraform provider implements resources to help work with multi-workspace workflows in Terraform Cloud (o

Oct 25, 2022

Help to release a project which especially has multiple git repositories

This project aims to help to release a project which especially has multiple git repositories. Installation Install it to a Kubernetes cluster. You ca

Dec 15, 2022

Assemble multiple CODEOWNERS file into one

Codeowners Tool to generate a GitHub CODEOWNERS file from multiple CODEOWNERS files throughout the repo. This makes it easier to manage code ownership

Apr 11, 2022

An easy-to-use Map Reduce Go parallel-computing framework inspired by 2021 6.824 lab1. It supports multiple workers on a single machine right now.

MapReduce This is an easy-to-use Map Reduce Go framework inspired by 2021 6.824 lab1. Feature Multiple workers on single machine right now. Easy to pa

Dec 5, 2022

Filter out multiple strings from stdin.

minus The minus tool accepts data from stdin and filters out any arguments passed. It simplifies something like this: some_command | grep -vF thing1 |

Dec 20, 2021

Easily create & extract archives, and compress & decompress files of various formats

archiver Introducing Archiver 3.1 - a cross-platform, multi-format archive utility and Go library. A powerful and flexible library meets an elegant CL

Jan 7, 2023

elPrep: a high-performance tool for analyzing sequence alignment/map files in sequencing pipelines.

elPrep: a high-performance tool for analyzing sequence alignment/map files in sequencing pipelines.

Overview elPrep is a high-performance tool for analyzing .sam/.bam files (up to and including variant calling) in sequencing pipelines. The key advant

Nov 2, 2022

View the script files in the original Resident Evil 2 / Biohazard 2 as pseudocode

View the script files in the original Resident Evil 2 / Biohazard 2 as pseudocode

Resident Evil 2 Script Viewer About You can view the script files in the original Resident Evil 2 / Biohazard 2 as pseudocode next to the original byt

Jan 20, 2022
GoThanks automatically stars Go's official repository and your go.mod github dependencies, providing a simple way to say thanks to the maintainers of the modules you use and the contributors of Go itself.
GoThanks automatically stars Go's official repository and your go.mod github dependencies, providing a simple way  to say thanks to the maintainers of the modules you use and the contributors of Go itself.

Give thanks (in the form of a GitHub ★) to your fellow Go modules maintainers. About GoThanks performs the following operations Sends a star to Go's r

Dec 24, 2022
A toy repo used to test the functionality of "go mod why".

Mod Why Test Discussion From a module perspective: The main module (github.com/ejweber/mod-why-test) has a single direct dependency (github.com/ejwebe

Dec 1, 2021
TheOtherRolesInstaller - A simple tool to install the latest version of TheOtherRoles Mod

TheOtherRoles Installer This is a simple tool to install TheOtherRoles Mod for A

Sep 30, 2022
go.mod file is the root of dependency management in Go

go.mod file is the root of dependency management in Go. All the modules which are needed or to be used in the project are maintained in go.mod file. I

Feb 9, 2022
Quick comparison between different Go walk implementations

Quick comparison between different Go walk implementations.

Dec 19, 2022
A Golang program for a colleague to help in calculating the ratio between the points obtained in a test and the corresponding evaluation in tenths.
A Golang program for a colleague to help in calculating the ratio between the points obtained in a test and the corresponding evaluation in tenths.

A Golang program for a colleague to help in calculating the ratio between the points obtained in a test and the corresponding evaluation in tenths. If you have not the compiled file (.exe) you can build it with the Go compiler.

Jul 7, 2022
A comphrehensive tool for converting between data table formats

tblconv A simple tool for converting one "table" format into another. Supported Formats CSV source output Excel source output SQL source output CLI Fe

May 30, 2022
repin is a tool to replace strings between keyword pair.

repin repin is a tool to replace strings between keyword pair. tl;dr repin is a tool that makes it easy to write operations that can be written in GNU

Nov 4, 2022
HyperKit: an easy-to-use bridge between LedFX, WLED, Bluetooth, HomeKit, and AirPlay2

HyperKit HyperKit is an easy-to-use bridge between LedFX, WLED, Bluetooth, HomeKit, and AirPlay2. HyperKit Functionality: Custom HomeKit Menu Integrat

Aug 20, 2022
Set of scripts & tools for converting between numbers and major system encoded words.
Set of scripts & tools for converting between numbers and major system encoded words.

major-system-converter Set of scripts & tools for converting between numbers and major system encoded words. Uses phonetics instead of letters to conv

Aug 9, 2022