-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Tue, 08 Jun 2021 17:35:20 +0200 Source: git-buildpackage Architecture: source Version: 0.9.23 Distribution: experimental Urgency: medium Maintainer: Guido Günther <agx@sigxcpu.org> Changed-By: Guido Günther <agx@sigxcpu.org> Closes: 857370 956491 981340 983204 Changes: 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 Checksums-Sha1: 6e610ec851442d211bac48f4d2a26920f73629c7 2299 git-buildpackage_0.9.23.dsc 4073acbaa54582ca0cfab55cc864b2f3d3b888e0 3101252 git-buildpackage_0.9.23.tar.xz 65bc66b560f5b882fec4e8029729e84c7b332fe3 12265 git-buildpackage_0.9.23_amd64.buildinfo Checksums-Sha256: b0125189f3a4592bda64a6d9e88b415903a9c9a14adf54196c95a2b86ef9f9b6 2299 git-buildpackage_0.9.23.dsc a89b5cdba6781394cca83f52a8e6fa0fb55b3275db03464b2f7b1803294f180d 3101252 git-buildpackage_0.9.23.tar.xz fa78f1a95378da991383b3d464f6c1b0c05f2782569a33dcf3c2900139640fbd 12265 git-buildpackage_0.9.23_amd64.buildinfo Files: 1d013440ae07cf06299364118159bda3 2299 vcs optional git-buildpackage_0.9.23.dsc e379a698a4e2d86ade730a6efd5b3cf1 3101252 vcs optional git-buildpackage_0.9.23.tar.xz cae611767bc2ca6d97cb5a5c4ca72db3 12265 vcs optional git-buildpackage_0.9.23_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEY/bM35YinQkoayrDJb+GUkr8weMFAmDEkMUACgkQJb+GUkr8 weOUKBAAo12vaSlzUJU6vs7bzB9jpAFAbhosvoHMEzPV1sfgeePjCPj211cFKjNn J/HUljS2MQ5O+RAD6SzIP7+kFfbIM0jCCGCEJ2rix7xhfdNhInz3tv4NwrW/G+JW 1zxAoUbkXYf1r3BDxKN8Wqc+eGLd60JFBFirA14Shw7G9oiK1MFYVvvD7lefy6Hh hULit885UEruR6r8DpeR6OSNvQcQjRAvHR6qxyHUwZyeGOx0WlhIwRNThMRDzKAp ro9rEgWMYXXdW/oUu/WGh8Zm50VNLEFIBMxOlO79U2zCJ5cNuZY7u6TINLNLWetw J5SOUTY3Bdz7vPs+lcZhudZEURI7xgG2iKytUUzvAiJyuy99ie8mIxKVXxLyodaX RaH/RjOb0CFgwdnJe8cdMQRZ2z+yJRJ0JCd14z3989hL2Ht/gCKV/mYoXN19shaY KWuCp+Y+4iw7hwVld6X3nPr9uu3WnCTk6q0ov0GnBKuf4ItllcbUnQxTgx6km2sd A7ygMvQ3AZXtT59tdF9B6ACOdSuVjwZ3fd0MnYXEsm/VNeoO528TR7Eg6xfqy+RU V1oE6Z9tjr5tdoD31ZY1KyedHQv1ZiDEIqJHFrxxCJVHVk5skxMwNqKEBooX+g3d 7hbD4+OIKCkbjTBho0KKlcE/yyPpMRQ9BbkPbeiefANYcbcFGkA= =SrcY -----END PGP SIGNATURE-----