dh-make-golang (0.8.3-1) unstable; urgency=medium

  * New upstream release 0.8.3:
    - Extend default debian/gbp.conf with extra security config tips
    - estimate: Change new package URL to the DFSG team review site
    - estimate: Include package name and version in "in NEW" lines
    - estimate: Don't print color/hyperlink escape codes on non-terminals
    - estimate: Move module output formatting to helper functions
    - estimate: Simplify check (for readability)
    - Add backwards compatibility with old `gitlab-ci.yml` file name
    - Start using CI file name `salsa-ci.yml`
    - Use standard Salsa CI with standard settings instead of custom Go team CI
    - Suppress git hint about default branch name in test
    - Add smoke test for `check-depends --help` flag
    - Replace repeated fmt.Fprintf calls with raw string literals
    - Implement `check-depends --help`
    - Use strings.Builder to incrementally construct a string
    - Use strings.Cut and friends for string processing
    - Use strings.SplitSeq, not strings.Split, when iterating
    - estimate: Fix parameter name
    - estimate: Fix URL in error message
    - Fix missing HTTP body Close calls
    - Run "go mod tidy"
  * Update d/watch to use uscan v5 format

 -- Otto Kekäläinen <otto@debian.org>  Fri, 13 Mar 2026 13:13:13 +0000

dh-make-golang (0.8.2-1) unstable; urgency=medium

  * New upstream release 0.8.2:
   - Put build artifacts in `debian/_build` to avoid polluting upstream sources
   - Stop modifying upstream .gitignore file
   - Drop Priority: optional, which is the default in Trixie
   - Add dpkg-build-api (= 1) to the default build-deps
  * Update Debian copyright for 2026
  * Drop redundant `Priority: optional`
  * Bump Debian Policy version

 -- Otto Kekäläinen <otto@debian.org>  Fri, 16 Jan 2026 03:05:31 +0000

dh-make-golang (0.8.1-1) unstable; urgency=medium

  * New upstream release 0.8.1:
    - Fix progress and log output of estimate command
    - estimate: ignore some modules based on a blocklist
    - estimate: do not print children of mismatched major mods
    - estimate: print Debian package's name & URL for approximate matches
    - Add go.bug.st to known hosts
    - metadata: trim .git suffix when searching github URL for gopkg
    - Add fortio.org to known hosts
    - estimate: show packages in NEW, but with a light blue color
    - estimate: add a link to FTP masters website for NEW packages
    - Fix estimate listing indirect dependencies as direct
    - estimate: fix occasional infinite recursion (Closes: #292)
    - estimate: fix for modules that don't have a root package
    - estimate: fix for modules that don't have a go.mod file
    - make: MIME-encode sender name when necessary
    - mail: MIME-encode subject as well
    - dh-make-golang make: directly use the user preferred tag specified in
      "-git_revision" option
    - Add zgo.at -> zgoat short host name
    - Ignore `/vN` major version suffix when populating `Upstream-Name`
  * Stop using `Rules-Requires-Root: no`, which is the default in Trixie
  * Switch to standard Salsa CI definition
  * Remove obsolete 'Rules-Requires-Root: no'
  * Put build artifacts in debian/_build to avoid polluting upstream paths
  * Add myself as uploader
  * Apply `debputy reformat --style black`
  * Release 0.8.1
  * Document packaging git repository conventions in gbp.conf

 -- Otto Kekäläinen <otto@debian.org>  Wed, 15 Oct 2025 22:26:59 -0700

dh-make-golang (0.8.0-1) unstable; urgency=medium

  * New upstream release 0.8.0.

    [ Martina Ferrari ]
    * d/control: add myself to Uploaders, bump Standards-Version with no
      changes.

  [ Guillem Jover ]
  * Switch to Static-Built-Using field and substvar.
  * Bump emitted Standards-Version to 4.7.0.
  * Remove NOTE about upstream git history being a new feature.

  [ William Lyu ]
  * Fix release tags not recognized when not on a branch.

  [ Nicolas Peugnet ]
  * Apply wrap-and-sort -at by default.
  * Fix dh-make-golang estimate.
  * Make sure to remove all temporary directories.
  * More robust version of estimate based on go mod graph.
  * Check other major versions of packages in estimate.
  * Fix estimate when the repo is not the root of the module.
  * Show and indicate duplicate dependencies in estimate.
  * Replace "package" with "module" in estimate output where appropriate.
  * Only highlight unique repositories in estimate.

  [ Maytham Alsudany ]
  * Update Salsa CI configuration.

  [ Taavi Väänänen ]
  * Support Codeberg as a host.

  [ Otto Kekäläinen ]
  * Update test to be compatible with latest Glamour v0.8.0.
    Closes: #1091273
  * Simplify `git init` command as Git 2.28+ is now widely supported.
  * Include cross-links in man pages.

  [ Nicolas Peugnet ]
  * Add -git_revision flag to estimate command to define the git revision of
    the specified Go package to estimate.

  [ Martina Ferrari ]
  * Update dependencies to match versions in sid
  * Fix `non-constant format string` errors

 -- Martina Ferrari <tina@debian.org>  Sun, 23 Feb 2025 19:36:53 +0000

dh-make-golang (0.7.0-1) unstable; urgency=medium

  * New upstream version 0.7.0

    [ Guillem Jover ]
    * Use new dh-sequence-golang instead of dh-golang and --with=golang

    * Add mongodb to known hosts.
      This is required by the go.mongodb.org/mongo-driver modules.

    * Generate a debian/.gitignore file.
      This helps ignoring artifacts that git should not track, and which it
      can safely clean.

    * Reorder generated fields.

      While stylistic, the rationale for these changes is as follows:

      = debian/control

      - Group Section and Priority together as these categorize the package,
        and place them after Source or Package fields, as this determines
        where in the archive these might end up.
      - Place Maintainer/Uploader after these, as the responsible party for
        the package.
      - Move Rules-Requires-Root before Build-Depends, as this determines
        how to drive the building process, and might impose additional
        dependencies, such as fakeroot or sudo.
      - Move the Testsuite after the Build-Depends, as this is part of the
        runnable metadata.

      = debian/copyright

      - Move the Source field after Format, as both line up, refer to an
        URL, and it's the first reference to the upstream project.

    * Set a Section: TODO field for program packages.
      The golang section is for Go development packages, the fact that a
      program is written in Go is generally of no major relevance for the
      user, and instead a more suitable section relative to its actual
      functionality should be used, to help a proper categorization in the
      archive.

    [ dependabot ]
    * Bump github.com/mattn/go-isatty from 0.0.13 to 0.0.14

    [ Taavi Väänänen ]
    * make: download tarballs from sr.ht
      and add a test for the tarball URL generation.

    [ Anthony Fok ]
    * Bump glamour requirement to get bluemonday v1.0.16
    * Fix empty tarball in case of "unsupported hoster".
      This fixes the error that I introduced on 2021-08-26 in commit 64dccd7
      "Refactor the logic on whether to download upstream tarball"
      Thanks to @mdosch for the report and @creekorful for tips on error
      handling.  Fixes #180, fixes #190 (Closes: #993703, #1064567)
    * Handle salsa.debian.org too in tarballFromHoster()
      to fetch pristine tarball (.gz) instead of compressing our own (.xz)
    * Set u.remote as "salsa" instead of "debian" for salsa.debian.org
      to avoid git remote and git branch containing the same "debian" name
    * Add modernc.org as "modernc" to knownHosts
    * Use https for Apache license link
    * Create dependabot.yml
    * Update .github/workflows/ci-test.yml to test with go1.18
    * Replace deprecated ioutil functions with their io or os equilvalents
    * Add --no-show-signature to "git log --pretty=format:%ct -n1" call
      so the timestamp can be read correctly even if the user has set
      log.showSignature to true in git config. (Closes: #1035321)
    * Bump dependencies:
      - Bump go from 1.16 to 1.21
      - Bump golang.org/x/net from v0.0.0-20210614182718-04defd469f4e to v0.21.0
      - Bump golang.org/x/mod from v0.5.1 to v0.15.0
      - Bump github.com/google/go-github/v38 to github.com/google/go-github/v60
      - Add golang.org/x/tools/go/vcs v0.1.0-deprecated
      - etc.
      Fixes #200, fixes #203
    * ci-test: Bump go version to 1.21 and 1.22 for testing
    * make: Unset GO111MODULE=off so that "go list" works with Go 1.21+.
      This fixes dh-make-golang’s failure to determine dependencies
      since 2023-08-21 when Go 1.21 became the default in Debian.
      (Closes: #1050523)

    [ Maytham Alsudany ]
    * Bump template Standards-Version to 4.6.2 in template.go

    [ Reinhard Tartler ]
    * Tolerate "errornous" packages in go list
      Fixes: #204

  * Reorder fields in debian/control
  * Change Section from devel to golang
  * Use dh-sequence-golang instead of dh-golang and --with=golang
  * Update versioned dependencies as per go.mod
  * Bump Standards-Version to 4.6.2 (no change)
  * Include our own copy of golang.org/x/tools/go/vcs@v0.1.0-deprecated
    (Closes: #1043070)
  * Replace Built-Using field with Static-Built-Using
  * Remove 01-Update-the-import-path-of-golang-github-google-go-github.patch
    and use debian/rules to strip off major version (e.g. v60) from
    github.com/google/go-github/v60/github instead.

 -- Anthony Fok <foka@debian.org>  Fri, 22 Mar 2024 06:08:43 -0600

# Older entries have been removed from this changelog.
# To read the complete changelog use `apt changelog dh-make-golang`.
