-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Thu, 26 Aug 2021 14:59:33 -0600 Source: dh-make-golang Architecture: source Version: 0.5.0-1 Distribution: unstable Urgency: medium Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org> Changed-By: Anthony Fok <foka@debian.org> Closes: 981421 983241 992610 Changes: dh-make-golang (0.5.0-1) unstable; urgency=medium . [ Guillem Jover ] * Update default upstream gitignore directories. Add _build as that's the default build directory. Anchor both _build and .pc under the root source by prefixing with «/». Mark them as directories by suffixing with «/». * Place license location on the filesystem in a Comment field. This is not part of the license statement, it's rather an ancillary comment about where to find it. . [ Peymaneh Nejad ] * Add step (go.step.sm) to knownHosts . [ Federico Grau ] * Check for and move upstream debian dir if it exists (Closes: #983241) . [ Arnaud Rebillout ] * Make sure to call normalizeDebianProgramName() on the whole name, not on parts. * Renaming: normalizeDebian{Program,Package}Name * Add testcases to nameFromGoPkg: golang.org/x/term and two others. * Update debian-policy link url * Set debianBranch in execMake(), use it in createGitRepository() This minor refactoring prepares the code for the next commit, where we will need to know the Debian branch in `execMake()`. * Fix make output: run 'git push' before 'gbp push' As mentioned in #107, running 'gbp push' when there's no debian tag is not the right thing to do, as it will only push the upstream branch. Consequences are: 1. The default gitlab branch is set to the upstream branch instead of the debian branch. 2. The debian branch is not pushed and needs to be pushed manually anyway. I believe that the best thing to do instead is just to run 'git push origin <debian-branch>' first, and then run 'gbp push'. * Keep compatibility with Git below 2.28. Thanks to Alois Micard for pointing that out . [ Aleksey Morarash ] * Extend .gitignore with vim temporary files * Annotate errors with context. This will prevent situations when program terminates with bare error leaving the user without any clue of where the error was occurred. . [ Anthony Fok ] * New upstream version 0.5.0 * Set GO111MODULE=off when calling "go list" etc. to keep dh-make-golang make and estimate working with Go 1.16 and 1.17 * Add "Multi-Arch: foreign" to library package in debian/control * Add Expat (MIT) license text template * Recognize upstream pre-release versions so that tilde '~' instead of '-' is used in upstream tarball and in debian/changelog, e.g. "1.0.0~rc1" instead of "1.0.0-rc.1". Thanks to nicoo (Closes: #981421) * Workaround "go list" error when upstream uses "../.." in import path (Closes: #992610) * make: Add -program_package_name flag. This allows overriding the program package name, and the source package name too when appropriate, e.g. to name github.com/cli/cli as "gh". See discussion at #951374 https://bugs.debian.org/951374 * make: Change -force_prerelease and -upstream_git_history flags to use underscore instead of hyphen * make: Change some wordings in help and instruction, especially the use of "git commit -S" for signing the commit * Add fyne.io as "fyne" to knownHosts * Add filippo.io as "filippo" to knownHosts * Fix SA1006 and ST1005 reported by staticcheck - ST1005 Incorrectly formatted error string - SA1006 Printf with dynamic first argument and no further arguments * Migrate from Travis CI to GitHub Actions workflow for CI tests * Bump build-dependency on golang-any to (>= 2:1.13~) and golang-github-google-go-github-dev to (>= 38) * Bump Standards-Version to 4.6.0 (no change) * Refresh 01-Update-the-import-path-of-golang-github-google-go-github.patch from v32 to v38, but also disable it, as it seems dh-make-golang builds just fine with Go 1.15 without the patch. Checksums-Sha1: 0279346bb23dd7a198a1fa760ead79d17cf02381 2450 dh-make-golang_0.5.0-1.dsc 36780e34f072d7b45026a0b3b794ceb562436305 28417 dh-make-golang_0.5.0.orig.tar.gz 44a78213ca669081f7c6c15e89c8345199597fcf 8640 dh-make-golang_0.5.0-1.debian.tar.xz 6527e676646901327f3cf293818cbb4b21e46bfb 8887 dh-make-golang_0.5.0-1_amd64.buildinfo Checksums-Sha256: ed161b8333056c5849bf4c2e779031d1c2a7e3779600247b5a649a767663bad2 2450 dh-make-golang_0.5.0-1.dsc 273a26c951fd25be1601244ccace96681af58c9b494b26f21000ef376fd779c2 28417 dh-make-golang_0.5.0.orig.tar.gz c1cb33c38117f2f1e3b39c2817d8dbdb28b5e6adc29401f17540a34308c9a019 8640 dh-make-golang_0.5.0-1.debian.tar.xz 2017b435413612737c2c4c5f47ace8baf97e4297ebef7ec7d65a0d2e8e6de53c 8887 dh-make-golang_0.5.0-1_amd64.buildinfo Files: dd3a541a8ca1a3738d359945b0c845e7 2450 devel optional dh-make-golang_0.5.0-1.dsc 5c8f1c98de36484ce364c2435994d3bf 28417 devel optional dh-make-golang_0.5.0.orig.tar.gz 528021596df173cb1734a4d30580ad29 8640 devel optional dh-make-golang_0.5.0-1.debian.tar.xz 844dfa81e9d2451ac433229f9b0c2c8d 8887 devel optional dh-make-golang_0.5.0-1_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEEFCQhsZrUqVmW+VBy6iUAtBLFms8FAmEoAoYQHGZva2FAZGVi aWFuLm9yZwAKCRDqJQC0EsWaz114D/9GEEpjtNYgpFs4E5esNburpN4ucnn9PNqd liN662w+r5Kcs2t0wTsKjp5fMXj2Z2vSRlxL+UYfPQ8ErZp3L2BFcd04qvywo2D3 OP6GkdpIf++UQp50ugeXXNGEYRQhyckFpv09Xbq5BJYTufUj3oaXnPkFvN/WwDkK iTwO92AavjK0+yzho+EFPRvZEQC3NLogl+CpuOPuhrr9u0B3vNRcqzzpHRPXgvkR kZe8bp+63YkjmRR/KUVR4pYr05Rhs/bAj4AFArBBTpVkkwChSbbpkEtgXmOYJK1B /+/rdnE1cS0GOsnFZEVymP/Qex58j5Rave1dyG2fFB8biAlmEMHLLaT7XAahSkWM mXCBjV7IQPRbxQJ8qUr67/GbsTm+HTiEB3u7Y42Pl44mE0l/Z3M1XIs8QlH05R75 U3o5pzHL+hMCd6EV08RWnwCVXy5zfznpWHei3rzIJnqHF2KjsZ4NSh0XEDiq/xZF xt3I3YbQ3J3/qhXG4poQ9havbtrXWg7rw8V7afyoLry0SHBq8R47J7qvlU3VGXqw 1dY/KCdZ3WF1ZaYbddJ4DjGbSxqdTyXC493e6VBUvRGRCwYyTE0qslGPUs1y526T +HNm8yuBT1EKPccXQijEL92BZSmWFCiwRZDFgPG3E2VALEyaBZkw+6F21I+KSghL jBf13Xx+uA== =aHYC -----END PGP SIGNATURE-----