dh-golang (1.34.3) bionic; urgency=medium

  * Backport trimpath argument for Go >= 1.13 from dh-golang 1.45

 -- Shengjing Zhu <shengjing.zhu@canonical.com>  Wed, 22 Nov 2023 16:29:18 +0800

dh-golang (1.34.2) bionic; urgency=medium

  * Actually apply the patch the last upload added, as this is a native
    package.

 -- Michael Hudson-Doyle <michael.hudson@ubuntu.com>  Mon, 15 Oct 2018 12:37:07 +1300

dh-golang (1.34.1) bionic; urgency=medium

  * d/patches/0001-Fix-index-out-of-range-when-using-gccgo.-Closes-9072.patch:
    backport fix for building with gccgo from debian. (LP: #1794936)

 -- Michael Hudson-Doyle <michael.hudson@ubuntu.com>  Wed, 03 Oct 2018 11:59:54 +1300

dh-golang (1.34) unstable; urgency=medium

  * Bugfix: ensure destination directory exists (Closes: #891359)

 -- Michael Stapelberg <stapelberg@debian.org>  Sun, 25 Feb 2018 23:47:46 +0100

dh-golang (1.33) unstable; urgency=medium

  * Set GOCACHE to off (unless explicitly specified) to suppress errors

 -- Michael Stapelberg <stapelberg@debian.org>  Sat, 17 Feb 2018 12:50:12 +0100

dh-golang (1.32) unstable; urgency=medium

  * Specify -vet=off for Go ≥ 1.10

 -- Michael Stapelberg <stapelberg@debian.org>  Sat, 17 Feb 2018 12:40:07 +0100

dh-golang (1.31) unstable; urgency=medium

  * Install testdata/ contents by default

 -- Michael Stapelberg <stapelberg@debian.org>  Fri, 16 Feb 2018 09:11:32 +0100

dh-golang (1.30) unstable; urgency=medium

  [ aviau ]
  * dh_golang_autopkgtest support for several import paths
    (Closes: #887475)

 -- Michael Stapelberg <stapelberg@debian.org>  Thu, 18 Jan 2018 22:34:39 +0100

dh-golang (1.29) unstable; urgency=medium

  * Team upload.
  * golang.pm: improve DH_GOPKG documentation by mentionning new
    XS-Go-Import-Path format.

 -- Alexandre Viau <aviau@debian.org>  Wed, 17 Jan 2018 01:07:21 -0500

dh-golang (1.28) unstable; urgency=medium

  [ Alexandre Viau ]
  * support comma-separated paths in Go-Import-Path (Closes: #885780)

 -- Michael Stapelberg <stapelberg@debian.org>  Wed, 03 Jan 2018 09:29:30 +0100

dh-golang (1.27) unstable; urgency=medium

  * Team upload.
  * Remove slash from Vcs-Browser URL
  * Update to Standards-Version 4.1.3, no changes needed
  * Avoid "Use of uninitialized value $args[192] in join or string" warnings.
    Thanks to Chris Lamb <lamby@debian.org> (Closes: #885696)

 -- Dr. Tobias Quathamer <toddy@debian.org>  Fri, 29 Dec 2017 17:26:46 +0100

dh-golang (1.26) unstable; urgency=medium

  * Team upload.
  * Fix use of uninitialized value $ENV{"DH_GOLANG_EXCLUDES"}
  * Use debhelper v10
  * Update Standards-Version to 4.1.1
    - Use Priority optional
    - Use HTTPS URL for d/copyright
  * Update years in d/copyright

 -- Dr. Tobias Quathamer <toddy@debian.org>  Fri, 27 Oct 2017 22:31:24 +0200

dh-golang (1.25) unstable; urgency=medium

  * Fix examples (again!)

 -- Michael Stapelberg <stapelberg@debian.org>  Sat, 21 Oct 2017 13:53:51 +0200

dh-golang (1.24) unstable; urgency=medium

  * Fix build system documentation regarding --no-source/--no-binaries

 -- Michael Stapelberg <stapelberg@debian.org>  Fri, 20 Oct 2017 19:42:14 +0200

dh-golang (1.23) unstable; urgency=medium

  * Document Debian::Debhelper::Buildsystem::golang (Closes: #839108)

 -- Michael Stapelberg <stapelberg@debian.org>  Wed, 11 Oct 2017 09:19:22 +0200

dh-golang (1.22) unstable; urgency=medium

  [ Guillem Jover ]
  * Do not emit misc:Built-Using substvars for arch:all packages

  [ Michael Stapelberg ]
  * Build with -gcflags="-trimpath=$GOPATH/src" for reproducibility
  * Also specify -trimpath in -asmflags

 -- Michael Stapelberg <stapelberg@debian.org>  Sat, 29 Jul 2017 11:06:53 +0200

dh-golang (1.21.1) unstable; urgency=medium

  * Actually install the new script introduced in 1.21.

 -- Martín Ferrari <tincho@debian.org>  Mon, 29 May 2017 06:04:15 +0100

dh-golang (1.21) unstable; urgency=medium

  * Add a new script to be used by autopkgtest/autodep8 to automatically run
    package tests on installed packages.
  * Add myself as Uploader.

 -- Martín Ferrari <tincho@debian.org>  Sun, 28 May 2017 20:50:00 +0000

dh-golang (1.20) unstable; urgency=medium

  * Team upload.

  [ Martín Ferrari ]
  * Stop forcing the compression to xz, and that has been the default for some
    time now, even Debian stable has that. Thanks to Guillem Jover for the
    patch. Closes: #840821.
  * Rewrite of dh_golang for a more robust and idiomatic perl. Patch by
    Guillem Jover. Closes: #841145.

  [ Tim Potter ]
  * Add .cc and .hh to whitelisted extensions when copying source to build
    dir. Closes: #844284

 -- Tim Potter <tpot@hpe.com>  Tue, 31 Jan 2017 16:44:26 +1100

dh-golang (1.19) unstable; urgency=medium

  * Team upload.

  [ Paul Tagliamonte ]
  * Use a secure transport for the Vcs-Git and Vcs-Browser URL

  [ Dmitry Smirnov ]
  * Perlcritic corrections for "Glob written as <...>".
  * Avoid linking pre-installed DH_GOPKG package to itself (Closes: #827226).
  * Respect "--parallel" and "--max-parallel" options (Closes: #829302).

 -- Dmitry Smirnov <onlyjob@debian.org>  Thu, 14 Jul 2016 15:07:49 +1000

dh-golang (1.18) unstable; urgency=medium

  * Team upload.
  * Yet another corner case in dh_golang, this one only shows up with gccgo.
    (Closes: 823136)
  * Pass a go file, not a directory, to dpkg-search in dh_golang so that only
    one package is returned. (Closes: 827219)

 -- Michael Hudson-Doyle <michael.hudson@ubuntu.com>  Wed, 15 Jun 2016 18:56:39 +1000

dh-golang (1.17) unstable; urgency=medium

  * Team upload.
  * Move dh-golang to the pkg-go team repository.
    - Update Maintainer and Uploaders.
    - Update Vcs-* fields.
  * Update Standards-Version with no changes.
  * Export DH_GOLANG_INSTALL_EXTRA with a list of space-separated paths to
    copy to the build dir, for tests and other files not automatically
    installed.
  * Add --no-source and --no-binaries options to install target.
  * Display a debug message when copying files to the build tree.

 -- Martín Ferrari <tincho@debian.org>  Mon, 16 May 2016 01:08:06 +0100

dh-golang (1.16) unstable; urgency=medium

  [ Michael Hudson-Doyle ]
  * Make dh_golang more robust:
    - Initialize the buildsystem more correctly, so --builddirectory=_build
      works (Closes: 821350)
    - Exit with an error if any of the 'go list' or 'dpkg-search' commands
      fail.
    - Quote the current working directory in the regexp used to filter out
      files from the build directory.
    - Store package / directory lists in files and use xargs to avoid
      constructing over-long command lines.
  * Also trim dh_golang's use statements.

 -- Michael Stapelberg <stapelberg@debian.org>  Thu, 21 Apr 2016 09:38:34 +0200

dh-golang (1.15) unstable; urgency=medium

  [ Michael Hudson-Doyle ]
  * Restore setting of GOPATH during build removed by mistake in 1.14.
    (Closes: #821000)

 -- Michael Stapelberg <stapelberg@debian.org>  Fri, 15 Apr 2016 08:50:49 +0200

dh-golang (1.14) unstable; urgency=medium

  [ Michael Hudson-Doyle ]
  * Compute Built-Using with go list, not Build-Depends (Closes: #819473)

 -- Michael Stapelberg <stapelberg@debian.org>  Thu, 14 Apr 2016 09:11:54 +0200

dh-golang (1.13) unstable; urgency=medium

  [ Stephen Gelman ]
  * Set build_dep to 1 to support the “native” architecture (Closes: #819596)

 -- Michael Stapelberg <stapelberg@debian.org>  Thu, 14 Apr 2016 08:51:20 +0200

dh-golang (1.12) unstable; urgency=medium

  [ Hilko Bengen ]
  * Make dh-golang work with older dpkg versions (Closes: #794956)

 -- Michael Stapelberg <stapelberg@debian.org>  Mon, 10 Aug 2015 19:46:17 +0200

dh-golang (1.11) unstable; urgency=medium

  * Only call go generate if DH_GOLANG_GO_GENERATE == 1 (Closes: #794815)

 -- Michael Stapelberg <stapelberg@debian.org>  Fri, 07 Aug 2015 09:47:50 +0200

dh-golang (1.10) unstable; urgency=medium

  * If DH_GOPKG is not set in debian/rules, use XS-Go-Import-Path from
    debian/control. If this works out well, this will become the encouraged
    mechanism. The advantage is that it is easier to parse this field for
    other automation that deals with Go packaging.

 -- Michael Stapelberg <stapelberg@debian.org>  Thu, 06 Aug 2015 22:26:55 +0200

dh-golang (1.9) unstable; urgency=medium

  * Also install .{c,h,proto,s} files by default.

 -- Michael Stapelberg <stapelberg@debian.org>  Mon, 03 Aug 2015 21:44:51 +0200

dh-golang (1.8) unstable; urgency=medium

  * Correctly parse Build-Depends when they contain an OR.
  * Relicense under GPL-2+ due to having copied a large chunk of GPL-2+ code
    into dh_golang(1).

 -- Michael Stapelberg <stapelberg@debian.org>  Sun, 26 Jul 2015 19:25:48 +0200

dh-golang (1.7) unstable; urgency=medium

  * Call go generate (introduced with Go 1.4) when building packages.
  * Bump Standards-Version to 3.9.6 (no changes necessary)

 -- Michael Stapelberg <stapelberg@debian.org>  Sat, 25 Jul 2015 12:41:44 +0200

dh-golang (1.6) unstable; urgency=low

  [ Michael Stapelberg ]
  * In debian/rules, export DH_GOLANG_BUILDPKG to overwrite "${DH_GOPKG}/..."
    in the go install and go test commands. This can be used to avoid
    recursing into subpackages or to specify just one specific part of the
    package that should be built and installed.
  * In debian/rules, export DH_GOLANG_EXCLUDES (containing a space-separated
    list of perl regular expressions) to filter targets, e.g.:
    export DH_GOLANG_EXCLUDES := github.com/coreos/etcd/third_party
    (Closes: #721496)

  [ Alessandro Ghedini ]
  * Enable debian/control comment stripping (Closes: #734785)

 -- Michael Stapelberg <stapelberg@debian.org>  Tue, 29 Jul 2014 09:59:18 +0200

dh-golang (1.5) unstable; urgency=low

  * Fix a bug introduce in 1.4 which lead to .go files not being installed
    without DH_GOLANG_INSTALL_ALL=1 (Closes: #731991)

 -- Michael Stapelberg <stapelberg@debian.org>  Thu, 12 Dec 2013 10:46:36 +0100

dh-golang (1.4) unstable; urgency=low

  * in debian/rules, export DH_GOLANG_INSTALL_ALL=1 to install all files into
    the builddir, not just .go files. This may be necessary to include golden
    files for testcases, but then you need to manually delete extra LICENSE
    files and such.

 -- Michael Stapelberg <stapelberg@debian.org>  Mon, 02 Dec 2013 21:54:11 +0100

dh-golang (1.3) unstable; urgency=low

  * Skip quilt’s .pc directories when copying the source code into the
    builddir

 -- Michael Stapelberg <stapelberg@debian.org>  Tue, 24 Sep 2013 22:47:47 +0200

dh-golang (1.2) unstable; urgency=low

  * Only copy bin/ if there actually are any binaries

 -- Michael Stapelberg <stapelberg@debian.org>  Thu, 05 Sep 2013 09:20:34 +0200

dh-golang (1.1) unstable; urgency=low

  * Add dependency on dpkg >= 1.16.2 for the source: fields
  * Install files into /usr/share/gocode/src/${DH_GOPKG} and /usr/bin/ by
    default

 -- Michael Stapelberg <stapelberg@debian.org>  Tue, 30 Jul 2013 17:41:29 +0200

dh-golang (1.0) unstable; urgency=low

  * Initial release (Closes: #718183)

 -- Michael Stapelberg <stapelberg@debian.org>  Sun, 28 Jul 2013 16:02:04 +0200
