Package: git-buildpackage Version: 0.9.9 Severity: grave Justification: causes non-serious data loss
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 "gbp import-orig --uscan" seems to choke on tarballs repacked by uscan. With the attached debian files - changelog, copyright, and watch, in an freshly created git project (i.e. just "git init"), doing "gbp import-orig --uscan" will succeed but the resulting project wil be missing the subdirectories translations and utils. Doing same without the copyright file will have all files imported. The repacked tarball do contain the subdirectories, so it seems gbp chokes on it for some reason. - Jonas - -- System Information: Debian Release: buster/sid APT prefers buildd-unstable APT policy: (500, 'buildd-unstable'), (500, 'unstable'), (1, 'buildd-experimental'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.17.0-rc3-amd64 (SMP w/4 CPU cores) Locale: LANG=da_DK.UTF-8, LC_CTYPE=da_DK.UTF-8 (charmap=UTF-8), LANGUAGE=da_DK.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages git-buildpackage depends on: ii devscripts 2.18.3 ii git 1:2.17.1-1 ii man-db 2.8.3-2 ii python3 3.6.5-3 ii python3-dateutil 2.6.1-1 ii python3-pkg-resources 39.1.0-1 Versions of packages git-buildpackage recommends: ii cowbuilder 0.87+b1 ii pbuilder 0.229.2 ii pristine-tar 1.44 ii python3-requests 2.18.4-2 Versions of packages git-buildpackage suggests: pn python3-notify2 <none> ii sudo 1.8.23-1 ii unzip 6.0-21 - -- no debconf information -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAlseLGUACgkQLHwxRsGg ASEolg//bIurcEnS3ZXHUyixn14DIbveCWJsn2GFLSyJGa0lNRX07lXGJfFF80Yu 8bQ21U+Xg+Mr3VQiz2Ia8YlkZNjsso/BY6PmdGAxjtV5hjLEcLklg+yGL6tUsBo9 N0T7MWC6/r2cWgdysVnwFkCsRUB6BnHIpThOLDOB0dmyLDkjcu1HEFjVd2d8utoM JKS68nvKzcibSkf1On1zLAU7So6h0CxrNkjX+4lgRiSh89vehMg7oVBFiG8iz0eb CPulT3R7aHqcMM1XiDlMBstGybMKyejsZGBOShTP7J2q21HleKCeAj4m8PBzM3Uq lOc/PgSWcxcd/5dvuCsMvTgvcYfMOLp3r55Du04JWVjNEmWnmypyliBnabmehXZU dFK38GQ88Ids9rCyWSdiG2sUQTwju1U0XInz5LX2RT7Fb+SieILKrwdSIokiii4I 1st3laTxyoVgialMwDJ/1tTNHuZjxRy9plPBdE4l6prLy/XRA365O74PF8BSWhd0 ZNCGOHNHMiywevu0OsJuj9maR+WRUVLPV/k+gfLMRAcHqFnE1CtANjWpBYoWA8U/ YmNVuoZVXZVWyk7qw+Mmqo+UsfZ88gcdkprVKVqoC01hDDDm32q/YWj47WSvZVB+ fNMCWBbSenCbwdUBo8XdC61lrPzYNWfUuyoHrBMA1+qb6tQS874= =gf2H -----END PGP SIGNATURE-----
monero (0.0) UNRELEASED; urgency=medium * Initial release. (Closes: #XXXXXX) -- Jonas Smedegaard <d...@jones.dk> Mon, 11 Jun 2018 09:35:08 +0200
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Monero Source: https://github.com/monero/monero-core Repackaged, excluding non-DFSG files: * Non-free licensed RFC document <https://github.com/monero-project/monero/issues/3943> * Image file with embedded non-free licensed ICC profile <https://github.com/monero-project/monero/issues/3944> Files-Excluded: contrib/snap/setup/gui/icon.png src/crypto/crypto_ops_builder/ietf.txt
# run "uscan --report" to check or "gpb import-orig --uscan" to update version=4 opts="filenamemangle=s%(?:.*?)?v?(@ANY_VERSION@@ARCHIVE_EXT@)%@PACKAGE@-$1%,dversionmangle=s/~dfsg\d*$//,repacksuffix=~dfsg" \ https://github.com/monero-project/monero/tags \ (?:.*?/)?v?@ANY_VERSION@@ARCHIVE_EXT@
$ gbp import-orig --uscan --verbose gbp:debug: ['git', 'rev-parse', '--show-cdup'] gbp:debug: ['git', 'rev-parse', '--is-bare-repository'] gbp:debug: ['git', 'rev-parse', '--git-dir'] gbp:debug: ['git', 'for-each-ref', '--format=%(refname:short)', 'refs/heads/'] gbp:debug: ['git', 'show-ref', '--verify', 'refs/heads/upstream'] gbp:debug: ['git', 'status', '--porcelain'] gbp:debug: ['git', 'status'] gbp:info: Launching uscan... uscan: Newest version of monero on remote site is 0.12.2.0, local version is 0.0 uscan: => Newer package available from https://github.com/monero-project/monero/archive/v0.12.2.0.tar.gz gbp:info: Using uscan downloaded tarball ../monero_0.12.2.0~dfsg.orig.tar.gz What is the upstream version? [0.12.2.0~dfsg] gbp:debug: ['git', 'tag', '-l', 'upstream/0.12.2.0_dfsg'] gbp:debug: tar ['-C', '../tmpi7jo5e3w', '-a', '-xf', '../monero_0.12.2.0~dfsg.orig.tar.gz'] [] gbp:debug: Unpacked '../monero_0.12.2.0~dfsg.orig.tar.gz' to '../tmpi7jo5e3w/monero-0.12.2.0' gbp:info: Importing '../monero_0.12.2.0~dfsg.orig.tar.gz' to branch 'upstream'... gbp:info: Source package is monero gbp:info: Upstream version is 0.12.2.0~dfsg gbp:debug: ['git', 'show-ref', '--verify', 'refs/heads/upstream'] gbp:debug: ['git', 'add', '-f', '.'] gbp:debug: ['git', 'write-tree'] gbp:debug: ['git', 'rev-parse', '--quiet', '--verify', 'upstream'] gbp:debug: Will create missing branch 'upstream'... gbp:debug: ['git', 'commit-tree', '55a13a0bd88d5372053a75702dddfc90a2788b18'] gbp:debug: ['git', 'update-ref', '-m', 'gbp: New upstream version 0.12.2.0~dfsg', 'refs/heads/upstream', '54af3d6270010ffea8ec4ef22d255ca41064a5f9'] gbp:debug: ['git', 'tag', '-m', 'Upstream version 0.12.2.0~dfsg', 'upstream/0.12.2.0_dfsg', '54af3d6270010ffea8ec4ef22d255ca41064a5f9'] gbp:debug: ['git', 'branch', 'master', '54af3d6270010ffea8ec4ef22d255ca41064a5f9'] gbp:debug: ['git', 'rev-parse', '--quiet', '--verify', 'master'] gbp:debug: ['git', 'reset', '--quiet', '--hard', '54af3d6270010ffea8ec4ef22d255ca41064a5f9', '--'] gbp:debug: ['git', 'symbolic-ref', 'HEAD'] gbp:debug: ['git', 'show-ref', 'refs/heads/master'] gbp:debug: ['git', 'symbolic-ref', 'HEAD'] gbp:debug: ['git', 'show-ref', 'refs/heads/master'] gbp:debug: rm ['-rf', '../tmpi7jo5e3w'] [] gbp:info: Successfully imported version 0.12.2.0~dfsg of ../monero_0.12.2.0~dfsg.orig.tar.gz
$ gbp import-orig --uscan --verbose gbp:debug: ['git', 'rev-parse', '--show-cdup'] gbp:debug: ['git', 'rev-parse', '--is-bare-repository'] gbp:debug: ['git', 'rev-parse', '--git-dir'] gbp:debug: ['git', 'for-each-ref', '--format=%(refname:short)', 'refs/heads/'] gbp:debug: ['git', 'show-ref', '--verify', 'refs/heads/upstream'] gbp:debug: ['git', 'status', '--porcelain'] gbp:debug: ['git', 'status'] gbp:info: Launching uscan... uscan: Newest version of monero on remote site is 0.12.2.0, local version is 0.0 uscan: => Newer package available from https://github.com/monero-project/monero/archive/v0.12.2.0.tar.gz gbp:info: Using uscan downloaded tarball ../monero_0.12.2.0.orig.tar.gz What is the upstream version? [0.12.2.0] gbp:debug: ['git', 'tag', '-l', 'upstream/0.12.2.0'] gbp:debug: tar ['-C', '../tmprgvkap98', '-a', '-xf', '../monero_0.12.2.0.orig.tar.gz'] [] gbp:debug: Unpacked '../monero_0.12.2.0.orig.tar.gz' to '../tmprgvkap98/monero-0.12.2.0' gbp:info: Importing '../monero_0.12.2.0.orig.tar.gz' to branch 'upstream'... gbp:info: Source package is monero gbp:info: Upstream version is 0.12.2.0 gbp:debug: ['git', 'show-ref', '--verify', 'refs/heads/upstream'] gbp:debug: ['git', 'add', '-f', '.'] gbp:debug: ['git', 'write-tree'] gbp:debug: ['git', 'rev-parse', '--quiet', '--verify', 'upstream'] gbp:debug: Will create missing branch 'upstream'... gbp:debug: ['git', 'commit-tree', 'b7a9168d89ea1e9a4df1b344372b9220c68b91a0'] gbp:debug: ['git', 'update-ref', '-m', 'gbp: New upstream version 0.12.2.0', 'refs/heads/upstream', 'b5efc2373450887ab5fb53dff9e2b6ecb26c28b4'] gbp:debug: ['git', 'tag', '-m', 'Upstream version 0.12.2.0', 'upstream/0.12.2.0', 'b5efc2373450887ab5fb53dff9e2b6ecb26c28b4'] gbp:debug: ['git', 'branch', 'master', 'b5efc2373450887ab5fb53dff9e2b6ecb26c28b4'] gbp:debug: ['git', 'rev-parse', '--quiet', '--verify', 'master'] gbp:debug: ['git', 'reset', '--quiet', '--hard', 'b5efc2373450887ab5fb53dff9e2b6ecb26c28b4', '--'] gbp:debug: ['git', 'symbolic-ref', 'HEAD'] gbp:debug: ['git', 'show-ref', 'refs/heads/master'] gbp:debug: ['git', 'symbolic-ref', 'HEAD'] gbp:debug: ['git', 'show-ref', 'refs/heads/master'] gbp:debug: rm ['-rf', '../tmprgvkap98'] [] gbp:info: Successfully imported version 0.12.2.0 of ../monero_0.12.2.0.orig.tar.gz