git-buildpackage (0.9.25) unstable; urgency=medium

  * [e6c86c1] buildpackage: Map 'debian/latest' and 'debian/main' to sid too.
    This avoids having to specify a suite with more modern common branch
    names.
  * [196a9ee] tests: Make sure DEBEMAIL is set.  Otherwise dch based tests
    fail (Closes: #998573)

 -- Guido Günther <agx@sigxcpu.org>  Fri, 05 Nov 2021 10:24:32 +0100

git-buildpackage (0.9.24) unstable; urgency=medium

  [ Guido Günther ]
  * [82750c0] dch: Require EMAIL or DEBEMAIL to be set.
    The alternative would be to set a dummy address in case of
    --git-author but that again can use $EMAIL so just fail if
    both are unset. (Closes: #987611)
  * [c48b0f4] Add translation infrastructure.
    Make it simple to create/update the pot file and provide an initial po
    file for de.
  * [6ac98c7] d/control: Drop versioned python3 dep.
    Even oldoldstable is recent enough
  * [e8292e3] d/control: Add RulesRequiresRoot
  * [e80151a] d/control: Depend on dh-sequence-python3.
    This makes the requirement more obvious since dh-python does
    multiple things

  [ Emanuele Aina ]
  * [26d6ceb] git: Actually include the missing key name in the KeyError message
  * [f90e4f8] Fix import-dsc on empty repo if defaultBranch!=master.
    (Closes: #906600)

  [ Anthony Sottile ]
  * [6c92ebb] Use collections.abc.Iterable instead of collections.Iterable
    since Python 3.10 dropped the alias.

 -- Guido Günther <agx@sigxcpu.org>  Tue, 26 Oct 2021 09:46:11 +0200

git-buildpackage (0.9.23) experimental; urgency=medium

  [ Michael Prokop ]
  * [4d15467] zsh completion: update completion for "pull" and further new
    commands. Provide zsh completion for new commands config, export-orig,
    import-ref, pristine-tar,push, tag. While at it, also extend completion
    for `gbp pull`.

  [ Andrej Shadura ]
  * [434d558] import-dsc: Delete NULs from dpkg-parsechangelog output before
    parsing. Commit messages may not contain NUL characters; in practice,
    Debian changelogs sometimes do, usually as the result of incorrectly used
    encoding for non-ASCII personal names.  As a safety net, delete all NULs
    from the output of dpkg-parsechangelog before parsing it, so that they
    don’t get fed into Git or anything else further in the processing.
    (Closes: #981340)
  * [0d21789] clone: Don’t check out the Debian branch if it doesn’t exist
  * [b17c14a] gbp.git: Change list_tree to return an iterator.
    When working with huge trees, we want to avoid consuming large amounts
    of memory just to throw away most of it almost immediately when we only
    need one entry or a few of them.
  * [3fa9f4d] gbp.git: Add support for long listing format (with object sizes)
    This is useful to be able to scan a tree for a specific file
    but only act if it’s non-empty.
  * [8e0e7cc] repo_setup: Add check/setup_gitattributes
    setup_gitattributes() sets up .git/info/attributes in a way to prevent
    transformations from interfering with packaging, because the working tree
    files can differ from the Git revision history (and from the source
    packages).
    Similar functionality has been implemented by dgit and git-deborig, so we
    try to stay compatible and re-use the name of the attribute macro. Since
    dgit doesn’t disable export-subst and export-ignore, which may interfere
    with export-orig, we add this on top the same way git-deborig does.
    dgit used to have an older preset missing some of the attributes, so if
    we find those, we disable them.
    The user, should they choose so, still can re-enable the attributes
    disabled in this way by adding more specific rules further in the
    .git/info/attributes file.
  * [20052e1] clone: Add --defuse-gitattributes.
    On clone, disable Git attributes that may interfere with building
    packages shipping .gitattributes *iff* they ship those files.
    Set to auto by default, can also be turned off completely or
    can be performed unconditionally.
  * [7a9079a] scripts: Add setup-gitattributes subcommand.
    The setup-gitattributes subcommands overrides Git attributes
    unconditionally, without verifying first the package ships any
    .gitattributes files.
  * [660c027] docs: gbp-clone: Document --defuse-gitattributes.
    Describe concisely what the option does; a longer description
    will go into a separate manpage.
  * [85b0b65] docs: Add a manpage for gbp setup-gitattributes.
    Describle how and why the attributes are being disabled, refer
    to dgit, git-deborig and Git documentation; add a reference to
    the gbp-clone manpage.
  * [0621195] d/control: Add the new subcommand to the package description
  * [acd81c9] d/control: Capitalise Git throughout the package descriptions
  * [6a53c23] scripts: Make setup_gitattributes future-proof
    * Add --all (default) and --[no-]dgit-defuse-attrs to enable
      adding more options in future.
    * Rewrite the manual page to reflect the change in approach.
    * Error out when running with no presets enabled
  * [b29f355] Install the setup_gitattributes script
  * [6ab3421] Add tests for setup-gitattributes functionality

  [ Jonathan Rubenstein ]
  * [d50d590] Add info about --git-ignore-branch when not on branch
    (Closes: #956491)

  [ Emanuele Aina ]
  * [fc56884] dch: Add support for the --local=suffix option
    (Closes: #857370)

  [ Guido Günther ]
  * [d6a92cc] tests: Match the correct files in filter tests.
    Verify we match at all by adding a positive test as well
  * [35d91d5] setup.py: Avoid dpkg-parsechangelog.
    This helps on non-debian systems
  * [c341c19] setup.py: Allow for more liberal version numbers.
    Otherwise this causes trouble for backports, downstreams, etc.
  * [82bb712] spec: Install setup-git-attributes command.
    This unbreaks the autopkgtest
  * [f48e18c] spec: Switch requires to python3 too.
    Thanks to Quanah Gibson-Mount
  * [e34e595] docs: Use either python3 or python.
    Some distros (such as Debian) don't ship a /usr/bin/python anymore

  [ Logan Rosen ]
  * [a54baad] tests/11_test_dch_main.py: Fix OS release check for Ubuntu.
    (Closes: #983204)

  [ Arnaud Ferraris ]
  * [0a03572] manpages: fix gbp-setup-gitattributes
  * [3f8a58c] repo_setup: fix documentation generation
    docstring format for bullet lists requires a leading dash. This fix
    prevents build failures when running `make docs`.

  [ Quanah Gibson-Mount ]
  * [d5e2096] gbp-builder-mock: Update to work with current mock releases
  * [3a6b629] Fix gbp-builder-mock to honor configured options for mock
  * [3adf602] setup.py: Explicitly open the changelog file as utf-8
  * [c97aeda] docs: Check for docbook2man too
  * [d32fdb4] spec: Ignore byte-compiled python files
  * [3151247] spec: Fix rpm build on centos7 and centos8

 -- Guido Günther <agx@sigxcpu.org>  Tue, 08 Jun 2021 17:35:20 +0200

git-buildpackage (0.9.22) unstable; urgency=medium

  [ Jochen Sprickerhof ]
  * [1586313] Define %python_sitelib for autopkgtest.
    The rpm package no longer defines this, instead there is python3_sitelib
    in /usr/lib/rpm/macros.d/macros.python3 provided by the
    python3-rpm-macros package (not in Debian).
  * [5949fbc] autopkgtest: Set %_arch.
    Seems to be needed on armhf. (Closes: #980256)
  * [43ead9c] rpm: Stop decoding strings.
    Fails with newer rpmlib
  * [c6731c0] rpm: Open tempfile in text mode
  * [2dc9953] rpm: Fix tags in rpm spec files.
    Patches are named similar to sources, counting from 0.
    https://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ch09s03s04.html
  * [8b3abc9] rpm: Fix tags in rpm spec files
    (Closes: #980637)

  [ Guido Günther ]
  * [6391e0a] tests: Honor GBP_TESTS_NOCLEAN in rpm tests too
  * [99af76a] d/control: Require newer rpm.  The version changed API and
    parsing strictness in multiple places, don't try to cater for older
    versions.
  * [785e204] Update rpm component test submodule
  * [9efbe12] d/control: Switch to dh-compat 13
  * [ef79503] dh_missing: Ignore __pycache__
  * [190b19d] d/control: Bump supported python3 version.
    We specify current stable as a lower bound.
  * [bb396dd] Drop maintainer scripts.
    They were needed for the oldstable -> stable upgrade
  * [67ce18a] manpages: Fix typo in gbp-buildpackage-rpm.1
  * [16c23ec] stricter arch check to unbreak test on i386 in salsa-ci

 -- Guido Günther <agx@sigxcpu.org>  Mon, 01 Feb 2021 09:15:22 +0100

git-buildpackage (0.9.21) unstable; urgency=medium

  [ Guido Günther ]
  * [bd15730] docs: Drop --git- from dch invocation.
    Thanks Pierre Equoy
  * [7179893] docs: Clarify that only tarball creation is affected.
    Thanks to Pierre Equoy
  * [1d922d7] policy: Fix typos.
    Thanks to Andrius Merkys (Closes: #966130)
  * [16b8817] spec: Include the correct file
    export_ref.py does not exist.
  * [fd35de0] spec: Don't fail on empty cache dir
  * [df9bae2] autopkgtest: Pass RPM macros on command line.
    This avoids the need to modify files in the home directory.
  * [53501b5] smoketest: Avoid writing to ..
    Use a temporary directory to avoid 'allow-root'.
  * [4e5fc40] autopkgtests: Depend on @builddep@
    Otherwise gbp is not able to build itself.
    Thanks to Lukas Märdian for the detailed report
    (Closes: #968982)
  * [504dda3] test_import_orig: Fix typo
  * [c09d629] test_import_orig: Drop unused variable.
    This makes flake8 happy
  * [73492e1] salsa-ci: Skip reprotest.
    It triggers a test failure since a test can write to a
    destination it should not be able to write too.
  * [c02938f] docs: Add example for exporting the source tree.
    See #969952
  * [657b005] buildpackage: Fix tests and test arch override
  * [cc5e85b] import-ref: Fix help.
    We want an upstream version, not  path
  * [680e9ec] gitlab-ci: Use a more recent Ubuntu LTS
  * [e085ab9] tests: Fixup changelog test on Ubuntu.
    The keys in os-release differ from lsb-release

  [ Marco Trevisan (Treviño) ]
  * [9fc3f1b] import-orig: expose unpacked sources dir to the postunpack hook.
    Use an $GBP_SOURCES_DIR to expose the post-unpack sources dir to the hook.
    Include a test that checks that all the expected env variables are set.
  * [297c5ff] import-orig: Allow the post-unpack hook to filter tarball files.
    With post-unpack scripts is currently possible to filter out files that
    are not needed from the upstream branch, however it is not possible to use it
    to filter files that will end up in the orig file, and in some scenarios
    this is not easily doable just using a filter list.
    So, run the post-unpack hook just after unpacking and before repacking the
    tar. (Closes: #812721)

  [ Richard Laager ]
  * [0f8f550] import-orig: Fix a comment typo
  * [707ebdf] import-orig: Refactor vcs_tag_parent.
    This eliminates an indentation level.
  * [064834b] import-orig: Refactor vcs_tag_parent.
    This makes the "tag" variable just the tag.  This improves the
    human-readability of the error message if the tag cannot be found.

  [ Heiko Schlittermann ]
  * [d9e4734] buildpackage: Honor --git-arch for GBP_CHANGES_FILE
    (Closes: #941345)

  [ Chris Lamb ]
  * [8734ed3] docs: Correct "option" typo in gbp-buildpackage manpage
    (Closes: #972081)

  [ nicoo ]
  * [a2a3085] tests/11_test_dch_main.py: Don't expect /etc/lsb-release on
    Debian
  * [0916529] doctests/test_Changelog: Don't expect /etc/lsb-release
    (Closes: #976914)

 -- Guido Günther <agx@sigxcpu.org>  Thu, 07 Jan 2021 11:28:00 +0100

git-buildpackage (0.9.20) unstable; urgency=medium

  * [e513375] doctest: Ignore exception detail.
    We used the tests to check whether the right exception was returned but
    python 3.8 breaks this again.  Doctest were a nice feature but keeping up
    with the subtle breackage is too cumbersome.
  * [3b05fa8] deb: git: Escape '.' on pristine-tar matches
    '.' is valid in source package names and version numbers so we
    want to match exactly that and not an arbitrary character.
  * [74b3799] pristine-tar: Escape '+' in match regexp.
    When looking for matching file name we need to exscape the valid '+' but
    need to do it late since it must not be escaped for git-grep.
    (Closes: #956103)
  * [a3d9c98] docs: import-ref: Fix wrong --upstream-tree default
    (Closes: #962916)
  * [f68858e] import-orig: Print all found sources with `verbose`
  * [111aa86] get_component_tarballs: Check for signature too
    (Closes: #96396)
  * [4f2569d] git: Drop another doctest that matched exception
    type.
  * [305a4ad] import_orig: Drop all upstream signatures with
    --upstream-signatures=off.  This makes sure we don't use spurious files as
    signatures
  * [0bc42b4] Make flake8 E741 happy
    (Closes: #964040)

 -- Guido Günther <agx@sigxcpu.org>  Wed, 01 Jul 2020 14:47:44 +0200

git-buildpackage (0.9.19) unstable; urgency=medium

  * [30cfa76] d/tests/control: Drop python-rpm. We'd need
    python3-rpm for the build test but that is not run atm.
  * [2159ac3] Build-Depend on pydoctor since this uses python3
    Thanks to Boyuan Yang for the hints (Closes: #943107)
  * [96526f2] Add salsa-ci

 -- Guido Günther <agx@sigxcpu.org>  Fri, 28 Feb 2020 09:48:05 +0100

git-buildpackage (0.9.18) unstable; urgency=medium

  [ Guido Günther ]
  * [abe1ec7] import-orig: Recommend python3-requests.  The python2 version
    won't do
  * [bddd221] dch: Always print where we pick up
  * [f8883eb] config: Be less picky about comments after boolean values.
    This makes 'patch-numbers = False # comment' work.
    Thanks to Mechtilde Stehmann for the report

  [ Christian Göttsche ]
  * [2f1c157] add option to export tarballs with upstream signature.
    Add option `--upstream-signatures=[on|auto|off]` to export-orig.
    Add option `--git-upstream-signatures=[on|auto|off]` to buildpackage.
    (Closes: 872864)

  [ Matthias Klose ]
  * [b80027c] d/tests/control: Add xsltproc to the autopkg test dependencies
    (Closes: #950216)

 -- Guido Günther <agx@sigxcpu.org>  Mon, 17 Feb 2020 15:12:12 +0100

git-buildpackage (0.9.17) unstable; urgency=medium

  * [6248524] export_orig: Don't fail without a repository.
    This is a valid use case in overlay mode
    Thanks to Thomas Koch for the report
  * [ff9ff7e] Use UpstreamSource for additional tarballs as well.
    This will help on upstream tarball signatures as well as
    improving additional tarball handling.
  * [16781c8] import-orig: Handle tarball signature when using pristine-tar
  * [4a97a1c] import-dsc: Import signature if present in dsc
  * [e541f35] Recommend and build depend on pristine-tar 1.41
    since only this version has signature support.
  * [12ed9fb] travis-ci: Switch to bionic.
    Need to drop python 3.4 for that since it's not available on bionic.

 -- Guido Günther <agx@sigxcpu.org>  Thu, 31 Oct 2019 19:15:14 +0100

git-buildpackage (0.9.16) unstable; urgency=medium

  * [fef81e2] pq: Don't bubble up FileNotFoundException (Closes: #940043)
  * [fb26fd9] docs: Fix wrong argument order of branch rename.
    Thanks to Jens Reyer (Closes: #941110)
  * [11f9f31] export-orig: Check 'origin/pristine-tar' as well for compression
    type (Closes: #941894)
  * [916f538] docs: Fix typos.
    Thanks to lintian
  * [6cf1f7e] d/control: Bump standards version
    no changes needed

 -- Guido Günther <agx@sigxcpu.org>  Tue, 22 Oct 2019 17:36:46 +0200

# For older changelog entries, run 'apt-get changelog git-buildpackage'
