Package: dgit Version: 9.12 Severity: wishlist When I work on other (teams) packages, it is, most of the time, because I need a lib to be updated to a new version to be able to update another package.
It would be great to have a simple generic way to update a package cloned with "dgit clone". $ dgit clone golang-github-xenolf-lego canonical suite name for unstable is sid starting new git history last upload to archive: NO git hash using existing golang-github-xenolf-lego_3.2.0.orig.tar.xz using existing golang-github-xenolf-lego_3.2.0-2.debian.tar.xz dpkg-source: info: extracting golang-github-xenolf-lego in golang-github-xenolf-lego-3.2.0 dpkg-source: info: unpacking golang-github-xenolf-lego_3.2.0.orig.tar.xz dpkg-source: info: unpacking golang-github-xenolf-lego_3.2.0-2.debian.tar.xz synthesised git commit from .dsc 3.2.0-2 HEAD is now at 8a3152a minor consistency correction so our disable-provider patching work. dgit ok: ready for work in golang-github-xenolf-lego $ cd golang-github-xenolf-lego/ $ gbp import-orig --uscan gbp:error: Repository does not have branch 'upstream' for upstream sources. If there is none see file:///usr/share/doc/git-buildpackage/manual-html/gbp.import.html#GBP.IMPORT.CONVERT on howto create it otherwise use --upstream-branch to specify it. $ git remote add -f upstream https://github.com/xenolf/lego.git Updating upstream remote: Enumerating objects: 1, done. remote: Counting objects: 100% (1/1), done. remote: Total 14653 (delta 0), reused 1 (delta 0), pack-reused 14652 Receiving objects: 100% (14653/14653), 11.22 MiB | 6.30 MiB/s, done. Resolving deltas: 100% (8189/8189), done. From https://github.com/xenolf/lego ... $ gbp import-orig --uscan gbp:error: Repository does not have branch 'upstream' for upstream sources. If there is none see file:///usr/share/doc/git-buildpackage/manual-html/gbp.import.html#GBP.IMPORT.CONVERT on howto create it otherwise use --upstream-branch to specify it. $ git remote add -f origin https://salsa.debian.org/go-team/packages/golang-github-xenolf-lego.git Updating origin remote: Enumerating objects: 1293, done. remote: Counting objects: 100% (1293/1293), done. remote: Compressing objects: 100% (700/700), done. remote: Total 1293 (delta 588), reused 1233 (delta 541), pack-reused 0 Receiving objects: 100% (1293/1293), 647.18 KiB | 759.00 KiB/s, done. Resolving deltas: 100% (588/588), done. From https://salsa.debian.org/go-team/packages/golang-github-xenolf-lego * [new branch] master -> origin/master * [new branch] pristine-tar -> origin/pristine-tar * [new branch] upstream -> origin/upstream * [new tag] upstream/3.2.0 -> upstream/3.2.0 * [new tag] debian/0.3.1-1 -> debian/0.3.1-1 * [new tag] debian/0.3.1-2 -> debian/0.3.1-2 * [new tag] debian/0.3.1-3 -> debian/0.3.1-3 * [new tag] debian/0.3.1-4 -> debian/0.3.1-4 * [new tag] debian/0.3.1-5 -> debian/0.3.1-5 * [new tag] debian/2.7.2+dfsg-1 -> debian/2.7.2+dfsg-1 * [new tag] debian/3.2.0-1 -> debian/3.2.0-1 * [new tag] debian/3.2.0-2 -> debian/3.2.0-2 * [new tag] upstream/0.3.1 -> upstream/0.3.1 * [new tag] upstream/0.4.1 -> upstream/0.4.1 * [new tag] upstream/2.7.2+dfsg -> upstream/2.7.2+dfsg $ gbp import-orig --uscan gbp:error: Repository does not have branch 'upstream' for upstream sources. If there is none see file:///usr/share/doc/git-buildpackage/manual-html/gbp.import.html#GBP.IMPORT.CONVERT on howto create it otherwise use --upstream-branch to specify it. $ git checkout upstream upstream Branch 'upstream' set up to track remote branch 'upstream' from 'origin'. Switched to a new branch 'upstream' $ git checkout pristine-tar Branch 'pristine-tar' set up to track remote branch 'pristine-tar' from 'origin'. Switched to a new branch 'pristine-tar' $ git checkout dgit/sid $ gbp import-orig --uscan gbp:info: Launching uscan... uscan warn: No files matched excluded pattern as the last matching glob: vendor gbp:info: Using uscan downloaded tarball ../golang-github-xenolf-lego_4.1.0.orig.tar.xz What is the upstream version? [4.1.0] gbp:info: Importing '../golang-github-xenolf-lego_4.1.0.orig.tar.xz' to branch 'upstream'... gbp:info: Source package is golang-github-xenolf-lego gbp:info: Upstream version is 4.1.0 gbp:info: Successfully imported version 4.1.0 of ../golang-github-xenolf-lego_4.1.0.orig.tar.xz Success! It would be super nice to have "dgit clone" set up all the branches (upstream, pristine-tar sometimes) and remotes (upstream, origin), so that "gbp import-orig --uscan" works out of the box. Or to have a generic "dgit update-package" to do all these steps. -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (990, 'unstable'), (500, 'stable'), (100, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.9.0-2-amd64 (SMP w/4 CPU threads) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages dgit depends on: ii apt 2.1.11 ii ca-certificates 20200601 ii coreutils 8.32-4+b1 ii curl 7.72.0-1 ii devscripts 2.20.4 ii dpkg-dev 1.20.5 ii dput-ng [dput] 1.31 ii git [git-core] 1:2.29.2-1 ii git-buildpackage 0.9.20 ii libdpkg-perl 1.20.5 ii libjson-perl 4.02000-2 ii liblist-moreutils-perl 0.416-1+b6 ii liblocale-gettext-perl 1.07-4+b1 ii libtext-csv-perl 2.00-1 ii libtext-glob-perl 0.11-1 ii libtext-iconv-perl 1.7-7+b1 ii libwww-curl-perl 4.17-7+b1 ii perl [libdigest-sha-perl] 5.32.0-5 Versions of packages dgit recommends: ii distro-info-data 0.45 ii liburi-perl 5.05-1 ii openssh-client [ssh-client] 1:8.4p1-2 Versions of packages dgit suggests: ii sbuild 0.80.0 -- no debconf information -- Félix
signature.asc
Description: PGP signature