{"id":15556944,"url":"https://github.com/icholy/gomajor","last_synced_at":"2025-04-19T16:29:56.957Z","repository":{"id":37238810,"uuid":"296146416","full_name":"icholy/gomajor","owner":"icholy","description":"Go tool for major version upgrades","archived":false,"fork":false,"pushed_at":"2024-09-25T11:38:37.000Z","size":201,"stargazers_count":135,"open_issues_count":2,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-22T09:04:35.984Z","etag":null,"topics":["dependencies","go","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/icholy.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":"2020-09-16T20:58:04.000Z","updated_at":"2025-03-18T15:39:01.000Z","dependencies_parsed_at":"2023-01-29T20:01:31.645Z","dependency_job_id":"1f67c4f7-8df4-4dfb-b008-0e9148c88e9d","html_url":"https://github.com/icholy/gomajor","commit_stats":null,"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icholy%2Fgomajor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icholy%2Fgomajor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icholy%2Fgomajor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icholy%2Fgomajor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icholy","download_url":"https://codeload.github.com/icholy/gomajor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246168110,"owners_count":20734390,"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":["dependencies","go","golang"],"created_at":"2024-10-02T15:15:20.505Z","updated_at":"2025-03-29T10:08:44.673Z","avatar_url":"https://github.com/icholy.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# GOMAJOR\n\n\u003e A tool for major version upgrades\n\n## Installation\n\n```sh\ngo install github.com/icholy/gomajor@latest\n```\n\n## Commands\n\n* `get` - Upgrade to a major version\n* `list` - List available updates\n* `path` - Modify the module path\n\nUsage format is as follows: `gomajor \u003ccommand\u003e [arguments]`\n\n## Usage\n\n#### List Updates\n\n```\ngomajor list\n```\n\n#### Update a module to its latest version\n\n```\ngomajor get github.com/go-redis/redis@latest\n```\n\n#### Switch a module to a specific version\n\n```\ngomajor get github.com/go-redis/redis@v7\n```\n\n#### Update all mobules to their latest version\n\n```\ngomajor get all\n```\n\n#### Increment module path version\n\n```\ngomajor path -next\n```\n\n#### Change module path version\n\n```\ngomajor path -version v3\n```\n\n#### Change module path\n\n```\ngomajor path goredis.io\n```\n\n### Warning:\n\n* This tool does not understand `replace` directives or nested modules.\n* By default, only cached content will be fetched from the module proxy (See `-cached` flag).\n* If you have multiple major versions imported, **ALL** of them will be rewritten (See `-rewrite` flag).\n* The latest version will not be found if there are **gaps** between major version numbers.\n* The `path` command does not rewrite package names.\n* Modules matching `GOPRIVATE` are skipped.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficholy%2Fgomajor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficholy%2Fgomajor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficholy%2Fgomajor/lists"}