{"id":13563098,"url":"https://github.com/Debian/dh-make-golang","last_synced_at":"2025-04-03T19:32:18.752Z","repository":{"id":35175282,"uuid":"39432573","full_name":"Debian/dh-make-golang","owner":"Debian","description":"Automatically creates Debian packaging for Go packages","archived":false,"fork":false,"pushed_at":"2025-03-28T17:52:37.000Z","size":402,"stargazers_count":383,"open_issues_count":37,"forks_count":79,"subscribers_count":36,"default_branch":"master","last_synced_at":"2025-03-30T23:06:58.431Z","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/Debian.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":"2015-07-21T08:06:17.000Z","updated_at":"2025-03-17T23:08:00.000Z","dependencies_parsed_at":"2024-06-19T05:20:13.377Z","dependency_job_id":"4ec9843d-c3ea-406d-b78d-ba0f29d1d0d7","html_url":"https://github.com/Debian/dh-make-golang","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Debian%2Fdh-make-golang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Debian%2Fdh-make-golang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Debian%2Fdh-make-golang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Debian%2Fdh-make-golang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Debian","download_url":"https://codeload.github.com/Debian/dh-make-golang/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247065406,"owners_count":20877768,"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-08-01T13:01:15.147Z","updated_at":"2025-04-03T19:32:18.746Z","avatar_url":"https://github.com/Debian.png","language":"Go","funding_links":[],"categories":["开源类库","Go","Open source library"],"sub_categories":["构建编译","Build And Compile"],"readme":"![CI Test](https://github.com/Debian/dh-make-golang/actions/workflows/ci-test.yml/badge.svg)\n\ndh-make-golang is a tool to automatically create Debian packaging for Go\npackages. Its goal is to automate away as much of the work as possible when\ncreating a Debian package for a Go library package or Go program.\n\n## Overview\n\nAll you need to specify is a Go package name. In your current working\ndirectory, a new directory will be created containing a git repository. Inside\nthat repository, you’ll find the Go package’s source code plus the necessary\nDebian packaging files to build a Debian package. The packaging adheres to the\n[pkg-go packaging guidelines](https://go-team.pages.debian.net/packaging.html)\nand hence can be placed alongside the other [team-maintained packages in\npkg-go](https://salsa.debian.org/go-team/packages), hosted on Debian’s\n[salsa](https://wiki.debian.org/Salsa).\n\n## Usage/example\n\nFor an introductory example, see [this annotated demonstration of how to use\ndh-make-golang](https://people.debian.org/~stapelberg/2015/07/27/dh-make-golang.html).\n\n## dh-make-golang’s usage of the internet\n\ndh-make-golang makes heavy use of online resources to improve the resulting\npackage. In no particular order and depending on where your package is hosted,\ndh-make-golang may query:\n\n* By virtue of using `go get`, the specified Go package and all of its\n  dependencies will be downloaded. This step can quickly cause dozens of\n  megabytes to be transferred, so be careful if you are on a metered internet\n  connection.\n* The output of\n  [filter-packages.sh](https://github.com/Debian/dh-make-golang/blob/master/filter-packages.sh),\n  hosted on https://people.debian.org/~stapelberg/dh-make-golang/. This is used\n  to figure out whether dependencies are already packaged in Debian, and\n  whether you are about to duplicate somebody else’s work.\n* GitHub’s API, to get the license, repository creator, description and README\n  for Go packages hosted on GitHub.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDebian%2Fdh-make-golang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDebian%2Fdh-make-golang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDebian%2Fdh-make-golang/lists"}