{"id":20148227,"url":"https://github.com/chainguard-dev/gobump","last_synced_at":"2025-04-09T19:51:18.442Z","repository":{"id":209013470,"uuid":"723020140","full_name":"chainguard-dev/gobump","owner":"chainguard-dev","description":"Go tool to declaratively bump dependencies.","archived":false,"fork":false,"pushed_at":"2025-03-24T22:52:07.000Z","size":157,"stargazers_count":9,"open_issues_count":5,"forks_count":13,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-24T23:28:57.651Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chainguard-dev.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":"2023-11-24T13:42:23.000Z","updated_at":"2025-03-24T22:52:09.000Z","dependencies_parsed_at":"2023-12-18T19:27:29.214Z","dependency_job_id":"fc9c641a-a642-417f-bc30-b0ae039a6261","html_url":"https://github.com/chainguard-dev/gobump","commit_stats":null,"previous_names":["dlorenc/gobump","chainguard-dev/gobump"],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chainguard-dev%2Fgobump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chainguard-dev%2Fgobump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chainguard-dev%2Fgobump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chainguard-dev%2Fgobump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chainguard-dev","download_url":"https://codeload.github.com/chainguard-dev/gobump/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103907,"owners_count":21048244,"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-13T22:35:49.542Z","updated_at":"2025-04-09T19:51:18.418Z","avatar_url":"https://github.com/chainguard-dev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GoBump\nGoBump is a simple command-line tool written in Go that allows you to update the versions of your Go dependencies.\n\n## Usage\n\n```shell\ngobump --packages=\u003cpackage@version\u003e ... --modroot=\u003cpath to go.mod\u003e\n```\n\n### Flags\n\n* `--packages`: A space-separated list of packages to update. Each package should be in the format `package@version`.\n* `--modroot`: Path to the go.mod root. If not specified, it defaults to the current directory.\n* `--replaces`: A space-separated list of packages to replace. Each entry should be in the format `old=new@version`.\n* `--go-version`: set the go-version for 'go mod tidy' command, default to the go version in the build environment.\n* `--show-diff`: Show the difference between the original and 'go.mod' files.\n* `--tidy`:  Run 'go mod tidy' command.\n* `--skip-initial-tidy`: Skip the initial 'go mod tidy' command before updating and replacing the packages.\n* `--bump-file`: Specify the yaml file where to read the bump instructions from\n\n## Example\n\n### Using flags\n\n```shell\ngobump --packages=\"github.com/pkg/errors@v0.9.1 golang.org/x/mod@v0.4.2\" --modroot=/path/to/your/project\n```\n\nThis will update the versions of `github.com/pkg/errors` and `golang.org/x/mod` in your `go.mod` file.\n\n### Using file\n\nCreate a file `bumps.yaml`\n\n```yaml\npackages:\n  - name: github.com/pkg/errors\n    version: v0.9.1\n  - name: golang.org/x/mod\n    version: v0.4.2\n```\n\nAnd it does the same as above flags. You can also specify `replace` and\n`require` in the yaml fields. Some [examples](./pkg/update/testdata/).\n**Note** Index field is not used.\n\n## Requirements\n\nGo 1.20 or later\n\n## Installation\nTo install gobump, you can use go install:\n\n```shell\ngo install github.com/chainguard-dev/gobump@latest\n```\n\n## Contributing\nContributions are welcome! Please submit a pull request on GitHub.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchainguard-dev%2Fgobump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchainguard-dev%2Fgobump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchainguard-dev%2Fgobump/lists"}