{"id":18952408,"url":"https://github.com/tailscale/go-mod-archiver","last_synced_at":"2025-10-20T04:22:10.979Z","repository":{"id":40348610,"uuid":"370421225","full_name":"tailscale/go-mod-archiver","owner":"tailscale","description":"go.mod git archiver","archived":false,"fork":false,"pushed_at":"2023-08-23T23:46:19.000Z","size":17,"stargazers_count":88,"open_issues_count":0,"forks_count":5,"subscribers_count":24,"default_branch":"main","last_synced_at":"2025-04-11T16:18:52.880Z","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":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tailscale.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":"2021-05-24T16:43:17.000Z","updated_at":"2024-01-28T22:18:09.000Z","dependencies_parsed_at":"2024-06-19T02:56:49.545Z","dependency_job_id":null,"html_url":"https://github.com/tailscale/go-mod-archiver","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailscale%2Fgo-mod-archiver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailscale%2Fgo-mod-archiver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailscale%2Fgo-mod-archiver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailscale%2Fgo-mod-archiver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tailscale","download_url":"https://codeload.github.com/tailscale/go-mod-archiver/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249182560,"owners_count":21226090,"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-08T13:33:14.766Z","updated_at":"2025-10-20T04:22:10.841Z","avatar_url":"https://github.com/tailscale.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-mod-archiver\n\nAfraid of being unable to build historical versions of your Go program?\n\n`go mod vendor` lets you check in your dependencies to git, but that's\nboth bloaty (for developers) and tedious (remembering to update it).\n\nIt's nicer to work day-to-day with only `go.mod` (and no `vendor` folder), trusting that\nhttps://proxy.golang.org/ can give you any module version in the future.\n\nExcept https://proxy.golang.org/ doesn't necessarily retain everything forever.\n\nHence this project. **`go-mod-archiver`** is meant to run as a GitHub\nActions workflow and whenever your `go.mod` changes, it runs `go mod\nvendor` and commits it into a git tag so you can get your dependent\ncode in the future if you really need to. (by syncing back to some old\npoint in time, looking at the SHA-256 of your `go.mod`, and fetching\nthat tag's `vendor` directory)\n\n## Using\n\nTo use `go-mod-archiver`, see https://github.com/bradfitz/go-mod-archiver-test for:\n\n* how to depend on this tool: https://github.com/bradfitz/go-mod-archiver-test/blob/main/tools.go (using the trick from https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module)\n\n* an example GitHub workflow: https://github.com/bradfitz/go-mod-archiver-test/blob/main/.github/workflows/go-mod-archive.yml\n\n## Example result\n\nThis is an example tag created by this tool:\n\nhttps://github.com/bradfitz/go-mod-archiver-test/tree/archive/gomod%2Fa8ea9b345793e2188297f019febc875fb915e94d94f48cce9a4f760413a430b4\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftailscale%2Fgo-mod-archiver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftailscale%2Fgo-mod-archiver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftailscale%2Fgo-mod-archiver/lists"}