{"id":21121453,"url":"https://github.com/oneofone/git-go-vendor","last_synced_at":"2025-07-01T14:09:56.281Z","repository":{"id":59044365,"uuid":"106732924","full_name":"OneOfOne/git-go-vendor","owner":"OneOfOne","description":"Simple go vendoring using git submodules.","archived":false,"fork":false,"pushed_at":"2017-10-24T01:50:51.000Z","size":11,"stargazers_count":12,"open_issues_count":1,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-06-20T11:15:15.634Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OneOfOne.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-12T18:52:31.000Z","updated_at":"2022-11-23T09:32:09.000Z","dependencies_parsed_at":"2022-09-11T04:52:15.207Z","dependency_job_id":null,"html_url":"https://github.com/OneOfOne/git-go-vendor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneOfOne%2Fgit-go-vendor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneOfOne%2Fgit-go-vendor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneOfOne%2Fgit-go-vendor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneOfOne%2Fgit-go-vendor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OneOfOne","download_url":"https://codeload.github.com/OneOfOne/git-go-vendor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225465305,"owners_count":17478520,"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":[],"created_at":"2024-11-20T03:50:20.799Z","updated_at":"2024-11-20T03:50:21.291Z","avatar_url":"https://github.com/OneOfOne.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-go-vendor [![GoDoc](https://godoc.org/github.com/OneOfOne/git-go-vendor?status.svg)](https://godoc.org/github.com/OneOfOne/git-go-vendor)\n\nA \"super\" simple git sub command to use vendor go packages using git submodule (which is automatically supported by go get).\n\n## Install\n\n1. `go get github.com/OneOfOne/git-go-vendor`\n2. Make sure `$GOPATH/bin` is in your `$PATH`.\n3. `git go-vendor -h`\n\n## Usage\n\n```\n━➤ git go-vendor -h\nNAME:\n   git-go-vendor - Simple vendoring using git submodules.\n\nUSAGE:\n   git-go-vendor [global options] command [command options] [arguments...]\n\nVERSION:\n   v0.1\n\nCOMMANDS:\n     list, ls    list all current directly vendored packages\n     add, a      adds or replaces a vendor package {git-repo}[@branch|tag|hash] [alias]\n     update, up  updates a vendored package or all of them if non is specified\n     remove, rm  removes the vendor package\n     help, h     Shows a list of commands or help for one command\n\nGLOBAL OPTIONS:\n   --verbose, -v                  verbose output (default: false)\n   --dry-run, -n                  dry-run, don't actually execute any git commands (default: false)\n   --git-path value, --git value  path to the git executable (default: \"git\")\n   --help, -h                     show help (default: false)\n   --version, -V                  print the version (default: false)\n```\n\n## Example\n\n```\n━➤ git go-vendor a github.com/OneOfOne/xxhash@449a3a6b\n* Added vendor/github.com/OneOfOne/xxhash @ v1.2-14-g449a3a6bec\n\n━➤ git go-vendor ls\n* vendor/github.com/OneOfOne/xxhash @ v1.2-14-g449a3a6bec\n\n━➤ git go-vendor rm github.com/OneOfOne/xxhash\n* Removed vendor/github.com/OneOfOne/xxhash\n\n━➤ git go-vendor a github.com/OneOfOne/xxhash@449a3a6b github.com/OneOfOne/xxh\n* Added github.com/OneOfOne/xxhash @ v1.2-14-g449a3a6bec → vendor/github.com/OneOfOne/xxh\n━➤ git go-vendor ls\n* github.com/OneOfOne/xxhash @ v1.2-14-g449a3a6bec → vendor/github.com/OneOfOne/xxh\n\n━➤ git commit -a -m 'xxh vendoring'\n\n```\n\n## FAQ\n\n### Why\n\n* Everything else is too complicated and depends on having the vendoring tool installed on the client.\n* Managing extra config files overcomplicates vendoring.\n* 90% of my use cases depends on using a git repo.\n\n## TODO\n\n* Look into supporting non-git repos.\n\n## License\n\nThis project is released under the [MIT](https://opensource.org/licenses/MIT) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foneofone%2Fgit-go-vendor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foneofone%2Fgit-go-vendor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foneofone%2Fgit-go-vendor/lists"}