reposurgeon (4.38-3) unstable; urgency=medium

  * Team upload.
  * Fix clean target. Closes: #1049272.
  * d/control: Drop "Rules-Requires-Root: no" (default).
  * d/control: Drop "Priority: optional" (default).
  * d/control: Update standards-version.

 -- Santiago Vila <sanvila@debian.org>  Wed, 29 Oct 2025 10:30:00 +0100

reposurgeon (4.38-2) unstable; urgency=medium

  * Team upload.
  [ Aurelien Jarno ]
  * Build-Depends and Depends on tzdata-legacy to support obsolete
    System V names. Closes: #1085594.

 -- Santiago Vila <sanvila@debian.org>  Tue, 05 Nov 2024 12:10:00 +0100

reposurgeon (4.38-1) unstable; urgency=medium

  * New upstream version 4.38

 -- Anthony Fok <foka@debian.org>  Fri, 23 Feb 2024 18:06:39 -0700

reposurgeon (4.35-1) unstable; urgency=medium

  * New upstream version 4.35
  * Update versioned dependencies as per go.mod
  * Bump Standards-Version to 4.6.2 (no change)
  * Refresh debian/patches/0001-Makefile-skip-build.patch
  * Fix Lintian warning package-contains-upstream-installation-documentation
    [usr/share/doc/reposurgeon/INSTALL.html]

 -- Anthony Fok <foka@debian.org>  Wed, 29 Mar 2023 20:11:14 -0600

reposurgeon (4.31-1) unstable; urgency=medium

  * New upstream version 4.31
  * Reorder fields in debian/control and debian/copyright
    as would be generated in the next dh-make-golang release after 0.6.0-1
  * Use dh-sequence-golang instead of dh-golang and --with=golang
  * Add build-dependency golang-github-pkg-term-dev (>= 1.1.0)

 -- Anthony Fok <foka@debian.org>  Tue, 11 Jan 2022 18:53:25 -0700

reposurgeon (4.30-1) unstable; urgency=medium

  * New upstream version 4.30
  * Refresh 0001-Makefile-skip-build.patch
  * Bump Standards-Version to 4.6.0 (no change)
  * Update local copy of yet-to-be-packaged dependent Go library
    - gitlab.com/ianbruene/kommandant v0.6.2
  * Remove local copy of github.com/ianbruene/go-difflib v1.2.0
    and add dependency on golang-github-ianbruene-go-difflib-dev instead

 -- Anthony Fok <foka@debian.org>  Fri, 03 Dec 2021 04:13:26 -0700

reposurgeon (4.25-1) unstable; urgency=medium

  * New upstream version 4.25
  * Refresh debian/patches/0001-Makefile-skip-build.patch

 -- Anthony Fok <foka@debian.org>  Thu, 04 Mar 2021 19:56:10 -0700

reposurgeon (4.24-1) unstable; urgency=medium

  * New upstream version 4.24
  * debian/control: Add new build-dependency on golang-github-xo-terminfo-dev
  * debian/rules: Generate surgeon/help-index.go before dh_auto_configure

 -- Anthony Fok <foka@debian.org>  Tue, 16 Feb 2021 07:32:49 -0700

reposurgeon (4.23-1) unstable; urgency=medium

  * New upstream version 4.23

 -- Anthony Fok <foka@debian.org>  Mon, 01 Feb 2021 04:09:58 -0700

reposurgeon (4.22-2) unstable; urgency=medium

  * Update local copy of yet-to-be-packaged dependent Go library:
    - gitlab.com/ianbruene/kommandant v0.6.1

 -- Anthony Fok <foka@debian.org>  Thu, 31 Dec 2020 18:05:48 -0700

reposurgeon (4.22-1) unstable; urgency=medium

  * New upstream version 4.22
  * Update package description according to upstream README.adoc.
    In particular, the DVCS Migration Guide has been merged into the
    long-form manual "Repository Editing and Conversion With Reposurgeon"
  * debian/control: Recommends cvs and subversion
    as suggested in the updated INSTALL.adoc
  * Add debian/patches/0001-Makefile-skip-build.patch and adjust debian/rules
    to allow building the reposurgeon binaries with dh-golang
    while buildling the documentation with upstream Makefile
  * Bump Standards-Version to 4.5.1 (no change)

 -- Anthony Fok <foka@debian.org>  Thu, 31 Dec 2020 16:14:39 -0700

reposurgeon (4.21-1) unstable; urgency=medium

  * New upstream version 4.21
    - Fix for a bug that could scramble history in pathological tag-copy cases.

 -- Anthony Fok <foka@debian.org>  Tue, 24 Nov 2020 00:44:03 -0700

reposurgeon (4.20-1) unstable; urgency=medium

  * New upstream version 4.20

 -- Anthony Fok <foka@debian.org>  Wed, 18 Nov 2020 02:20:13 -0700

reposurgeon (4.19-4) unstable; urgency=medium

  * Resume build on 32-bit architectures.
    Thanks to upstream author who enable compilation on 32-bit machines
    in commit 097b316 in the 4.17 release on 2020-08-16.
  * Add "-git restore '*.1'" to the execute_after_dh_auto_clean target
    so I don’t have to do it every time I run "gbp buildpackage"
  * Remove /usr/share/doc/reposurgeon/INSTALL.adoc to appease Lintian

 -- Anthony Fok <foka@debian.org>  Thu, 12 Nov 2020 12:22:55 -0700

reposurgeon (4.19-3) unstable; urgency=medium

  * Remove "make lint" test to prevent unpredicted FTBFS in the future.
    Special thanks to Paul Wise for the advice!  And indeed, 4.19-2 failed
    to build on ppc64 failed the golint test for pedantic reasons.
    Build-dependencies on golint and shellcheck are removed accordingly.
  * Remove debian/clean

 -- Anthony Fok <foka@debian.org>  Tue, 10 Nov 2020 15:18:22 -0700

reposurgeon (4.19-2) unstable; urgency=medium

  * Add Debian Go Team's debian/gitlab-ci.yml
  * Move debian/go/src to debian/go/_src so that "make lint" would not fail
  * Remove all Python related dependencies
    as reposurgeon is now written entirely in Go as of version 4.8
  * Run "make lint" and "make -C test" too,
    and add the shellcheck package as build-dependency
  * Update debian/copyright to include licenses of vendored libraries
  * Change repository to https://salsa.debian.org/go-team/packages/reposurgeon
    to be team-maintained with the Debian Go Packaging Team
    while I stay on as the main uploader
  * Bump debhelper dependency to "Build-Depends: debhelper-compat (= 13)"

 -- Anthony Fok <foka@debian.org>  Thu, 05 Nov 2020 16:29:01 -0700

reposurgeon (4.19-1) unstable; urgency=medium

  * New upstream version 4.19 (Closes: #973754)
  * Remove 0001-restore-missing-files.patch
  * Update local copies of yet-to-be-packaged dependent Go libraries:
    - github.com/ianbruene/go-difflib v1.2.0
    - github.com/termie/go-shutil v0.0.0-20140729215957-bcacb06fecae
    - gitlab.com/esr/fqme v0.1.0
    - gitlab.com/ianbruene/kommandant v0.6.0
  * Remove the following local copies which are already packaged for Debian:
    - github.com/chzyer/readline
    - github.com/kballard/go-shellquote
  * debian/control: Add new build-dependencies:
    - golang-github-chzyer-readline-dev (>= 1.4.39.g2972be2)
    - golang-github-kballard-go-shellquote-dev (>= 0.0~git20180428.95032a8)
  * debian/rules: Update to match upstream Makefile
  * Remove doc-base files for dvcs-migration-guide.html and reporting-bugs.html
    which are no longer distributed with the reposurgeon tarball

 -- Anthony Fok <foka@debian.org>  Thu, 05 Nov 2020 05:48:04 -0700

reposurgeon (4.4-1) unstable; urgency=medium

  * New upstream version 4.4
  * Set debian/watch to track release tarball as before
  * Add "Rules-Requires-Root: no" to debian/control
  * Add 0001-restore-missing-files.patch to restore surgeon/svnread.go,
    repository-editing.adoc and lintfilter which are missing in the
    reposurgeon-4.4.tar.xz upstream tarball
  * Build repository-editing.html instead of features.html
    which has been merged into the former and removed.

 -- Anthony Fok <foka@debian.org>  Wed, 04 Mar 2020 05:34:35 -0700

reposurgeon (4.3+git20200214.8d048e1-1) unstable; urgency=medium

  * New upstream version 4.3+git20200214.8d048e1
  * debian/control: Build on 64-bit architectures only, at least for now.
    See https://gitlab.com/esr/reposurgeon/issues/255#note_288045356
  * Remove 0001-asciidoctor-disable-webfonts.patch
    which has been applied upstream, see
    https://gitlab.com/esr/reposurgeon/-/merge_requests/456 and
    https://gitlab.com/esr/reposurgeon/-/commit/8d048e1

 -- Anthony Fok <foka@debian.org>  Fri, 14 Feb 2020 15:23:45 -0700

reposurgeon (4.2-1) unstable; urgency=medium

  [ Jelmer Vernooĳ ]
  * Recommend brz rather than bzr-fastimport.

  [ Anthony Fok ]
  * New upstream version 4.2
  * Apply "cme fix dpkg" fixes
    - Update debhelper dependency to "Build-Depends: debhelper-compat (= 12)"
    - Bump Standards-Version to 4.5.0 (no change)
  * Update debian/copyright with correct BSD-2-Clause text
    and with new author and copyright years
  * Remove 0001-build-with-trimpath-for-reproducibility.patch
  * Adapt Debian packaging to the new Go reposurgeon
  * Include yet-to-be-packaged dependent Go libraries
  * Disable webfonts in Asciidoctor-generated HTML files
    (Lintian warning "reposurgeon: privacy-breach-generic")

 -- Anthony Fok <foka@debian.org>  Thu, 13 Feb 2020 13:28:18 -0700

reposurgeon (3.45-1) unstable; urgency=medium

  * New upstream release 3.45:
     - Repaired the distribution maker to again include README.adoc, NEWS, TODO.
     - Executable bits are now correctly propagated across SVN branch copies.
     - Tests fall back to (c-)python if pypy is not available.
     - Various minor testsuite and port fixes. Tests now work on Mac OS X.
     - repocutter ported to Go for 40x speedup (more on large repos).
     - repomapper has been ported to Go; repodiffer has been retired.
  * Remove repodiffer which has been retired upstream
  * Bump Standards-Version to 4.2.1 (no change)
  * Change Architecture from "all" back to "any"
    because some tools have been rewritten in Go.
  * Add "Build-Depends: golang-any" for building repocutter and repomapper
    which have been rewritten in Go.
  * Build with '-{gc,asm}flags all=-trimpath=' for reproducibility.
    Copied from dh-golang (1.38).
    See also https://github.com/restic/restic/issues/2061
    and https://gitlab.com/esr/reposurgeon/merge_requests/181

 -- Anthony Fok <foka@debian.org>  Fri, 21 Dec 2018 17:23:02 -0700

reposurgeon (3.44-3) unstable; urgency=medium

  * Add build and runtime dependency on tzdata, which is no longer
    build-essential, and build chroots are not required to have it
    pre-installed, leading to FTBFS during a reposurgeon date test
    checking whether EST equals to -0500.  Thanks to Lucas Nussbaum
    for the report!  (Closes: #871163)
  * Fall back to /usr/bin/editor when $EDITOR is not set.
    This is to comply with Debian Policy §11.4, see
    https://www.debian.org/doc/debian-policy/#editors-and-pagers
    Thanks to Jakub Wilk for the report!  (Closes: #877011)
  * Remove now unneeded build dependency on libpython-dev

 -- Anthony Fok <foka@debian.org>  Tue, 17 Jul 2018 01:42:21 -0600

reposurgeon (3.44-2) unstable; urgency=medium

  * Switch from dh_python2 to dh_pypy properly.
    This fixes uninstallable pypy:any dependency in reposurgeon (3.44-1).
  * Change Architecture from "any" to "all"
  * Change nonexistent "svn" to "subversion" in Suggests field
  * Remove unneeded DEB_BUILD_ARCH and override_dh_auto_clean

 -- Anthony Fok <foka@debian.org>  Fri, 13 Jul 2018 07:27:18 -0600

reposurgeon (3.44-1) unstable; urgency=medium

  * New upstream release 3.44:
     - New 'setperm' command for patching file path permissions.
     - Abandon cyreposurgeon in favor of PyPy, which gives a better speedup.
     - Max working-set size has been reduced, enabling handling of larger repos.
     - New 'gitify' command for massaging comments into git conventional form.
     - The tag command now allows deleting all tags matching a regexp.
     - Fix crash when chaining '|', '&', '?' selection operators.
  * Abandon cyreposurgeon in favor of PyPy as per upstream (Closes: #879504)
  * Remove dependency on cython, and dependency on pypy and time,
  * Restore git build-dependency on alpha/ppc64/sparc64/x32
  * Restore missing README.md and friends from 3.44 release tarball
  * Prevent pylint from writing to /nonexistent home directory
    by adding "export PYLINTHOME := $(CURDIR)/.pylint.d" to debian/rules
  * Point Vcs-* URLs to salsa.debian.org
  * Rename debian-branch to debian/sid
  * Apply "cme fix dpkg" fixes to debian/control,
    bumping Standards-Version to 4.1.5, etc.
  * Use debhelper (>= 11)
  * Add debian/clean

 -- Anthony Fok <foka@debian.org>  Fri, 13 Jul 2018 04:33:48 -0600

reposurgeon (3.42-2) unstable; urgency=medium

  * Skip building cyreposurgeon on mips, mipsel and sh4.
    This is to prevent build machines for these architectures
    from running out of memory during the cython/cc1 run.
  * Skip building cyreposurgeon on hurd-i386 too
    to see if it fixes the failed test later on.
  * Ignore git build-dependency on alpha/ppc64/sparc64/x32 temporarily.
    For some reasons, git (1:2.13.3-1) from July 2017 fails to build
    on these architectures, causing BD-Uninstallable for reposurgeon.
    Fortunately, reposurgeon skips git-related tests gracefully
    when git is not installed.

 -- Anthony Fok <foka@debian.org>  Fri, 04 Aug 2017 20:49:28 -0600

reposurgeon (3.42-1) unstable; urgency=medium

  * New upstream release
  * Use debhelper (>= 10)
  * Bump Standards-Version to 4.0.0:
    Use https form of the copyright-format URL in debian/copyright
  * Revert from Python 3 to Python 2 to pass all tests
  * Build cyreposurgeon too with cython
  * Add "Build-Depends: cvs, git, mercurial, subversion" for tests

 -- Anthony Fok <foka@debian.org>  Fri, 04 Aug 2017 12:08:16 -0600

reposurgeon (3.37-1) unstable; urgency=medium

  * New upstream version
  * Change license from BSD-3-Clause to BSD-2-Clause as upstream has done
  * Bump Standards-Version to 3.9.8 (no change)
  * Use secure https URLs for Vcs-* fields
  * Update dependency on Python 2 to Python 3
  * Update package description listing renamed executables correctly.
    Thanks to Alberto Luaces for the heads up. (Closes: #822979)

 -- Anthony Fok <foka@debian.org>  Sun, 01 May 2016 02:21:32 +0800

reposurgeon (3.29-1) unstable; urgency=medium

  * Initial release (Closes: #702485)

 -- Anthony Fok <foka@debian.org>  Fri, 25 Sep 2015 12:07:58 -0600

reposurgeon (3.18-1) UNRELEASED; urgency=low

  * First attempt at Initial release, rejected due to inconsistent
    license in revdir.c (GPL-2) vs the rest (GPL-2+) of the
    cvs-fast-export package, which reposurgeon recommends.
    (would have closed #702485)
  * Cherry-pick minor post-3.18 fixes from upstream.

 -- Anthony Fok <foka@debian.org>  Sat, 20 Dec 2014 13:21:08 -0700
