gruntwork-io / git-xargs

git-xargs is a command-line tool (CLI) for making updates across multiple Github repositories with a single command.
https://blog.gruntwork.io/introducing-git-xargs-an-open-source-tool-to-update-multiple-github-repos-753f9f3675ec
Apache License 2.0
935 stars 62 forks source link

fix: updating go.mod path #14

Closed sc250024 closed 3 years ago

sc250024 commented 3 years ago

Description

I tried running the following commands to install the CLI tool, but they all failed.

Build from source commands ```console $ go get -u -v github.com/gruntwork-io/git-xargs go get: github.com/gruntwork-io/git-xargs@none updating to github.com/gruntwork-io/git-xargs@v0.0.3: parsing go.mod: module declares its path as: github.com/gruntwork-io/prototypes/git-xargs but was required as: github.com/gruntwork-io/git-xargs $ go get -u -v github.com/gruntwork-io/git-xargs/cmd go get: github.com/gruntwork-io/git-xargs@none updating to github.com/gruntwork-io/git-xargs@v0.0.3: parsing go.mod: module declares its path as: github.com/gruntwork-io/prototypes/git-xargs but was required as: github.com/gruntwork-io/git-xargs $ go get -u -v github.com/gruntwork-io/prototypes/git-xargs go get: module github.com/gruntwork-io/prototypes/git-xargs: git ls-remote -q origin in /Users//go/pkg/mod/cache/vcs/71e6a51a31709f8c15acf32385e11303f8c35b3ab4f6c4457aa458e205a40d1d: exit status 128: ERROR: Repository not found. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. ```

The go.mod path needs to be updated to support building from source.