Package: devscripts
Version: 2.18.1
Severity: normal

Hi,

uscan in version 2.18.1 is no longer able to create a new orig.tar from a tag in a git repository.

At the end are the results from version 2.17.12, which is doing fine.

  Thorsten


debian@devel:~/devscript-bug$ LANG=C dpkg -l devscripts
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                     Version           Architecture      Description
+++-========================-=================-=================-======================================================
ii  devscripts               2.18.1            amd64             scripts to 
make the life of a Debian Package maintaine


debian@devel:~/devscript-bug$ LANG=C apt-get source osmo-trx=0.2.0-2
Reading package lists... Done
NOTICE: 'osmo-trx' packaging is maintained in the 'Git' version control system 
at:
https://salsa.debian.org/debian-mobcom-team/osmo-trx.git
Please use:
git clone https://salsa.debian.org/debian-mobcom-team/osmo-trx.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 140 kB of source archives.
Get:1 http://ftp2.de.debian.org/debian unstable/main osmo-trx 0.2.0-2 (dsc) 
[2275 B]
Get:2 http://ftp2.de.debian.org/debian unstable/main osmo-trx 0.2.0-2 (tar) 
[132 kB]
Get:3 http://ftp2.de.debian.org/debian unstable/main osmo-trx 0.2.0-2 (diff) 
[5660 B]
Fetched 140 kB in 1s (94.3 kB/s)
dpkg-source: info: extracting osmo-trx in osmo-trx-0.2.0
dpkg-source: info: unpacking osmo-trx_0.2.0.orig.tar.xz
dpkg-source: info: unpacking osmo-trx_0.2.0-2.debian.tar.xz
dpkg-source: info: applying 02_no_march_native.patch

debian@devel:~/devscript-bug$ cd osmo-trx-0.2.0/

debian@devel:~/devscript-bug/osmo-trx-0.2.0$ LANG=C uscan --verbose --download

uscan info: uscan (version 2.18.1) See uscan(1) for help
uscan info: Scan watch files in .
uscan info: Check debian/watch and debian/changelog in .
uscan info: package="osmo-trx" version="0.2.0-2" (as seen in debian/changelog)
uscan info: package="osmo-trx" version="0.2.0" (no epoch/revision)
uscan info: ./debian/changelog sets package="osmo-trx" version="0.2.0"
uscan info: Process watch file at: debian/watch
    package = osmo-trx
    version = 0.2.0
    pkg_dir = .
uscan info: opts: mode=git, dversionmangle=s/\+ds//
uscan info: line: https://git.osmocom.org/osmo-trx refs/tags/([\d\.]+) debian 
uupdate
uscan info: Parsing mode=git
uscan info: Parsing  dversionmangle=s/\+ds//
uscan info: line: https://git.osmocom.org/osmo-trx refs/tags/([\d\.]+) debian 
uupdate
uscan info: Last orig.tar.* tarball version (from debian/changelog): 0.2.0
uscan info: Last orig.tar.* tarball version (dversionmangled): 0.2.0
uscan info: Execute: git ls-remote https://git.osmocom.org/osmo-trx
uscan info: Found the following matching refs:
     refs/tags/0.3.0 (0.3.0)
     refs/tags/0.2.0 (0.2.0)
     HEAD ()
     refs/heads/achemeris/2sector ()
     refs/heads/achemeris/diversity ()
     refs/heads/achemeris/empty-bursts ()
     refs/heads/achemeris/load_testing ()
     refs/heads/achemeris/phase_err_meas ()
     refs/heads/achemeris/poweroff_hack ()
     refs/heads/achemeris/ramp-mask ()
     refs/heads/achemeris/rtmd ()
     refs/heads/achemeris/stable_threads ()
     refs/heads/coverity ()
     refs/heads/fairwaves/625 ()
     refs/heads/fairwaves/WIP-decoder ()
     refs/heads/fairwaves/master ()
     refs/heads/fairwaves/master-old ()
     refs/heads/fairwaves/no-demod ()
     refs/heads/fairwaves/old-master ()
     refs/heads/fix-osmogsmtester ()
     refs/heads/kluchnikov/recv-timeout-fix ()
     refs/heads/laforge/lime ()
     refs/heads/master ()
     refs/heads/max/fix ()
     refs/heads/ms ()
     refs/heads/pmaier/cpudetect ()
     refs/heads/ramp-mask ()
     refs/heads/rel-0.3.0 ()
     refs/heads/ttsou/master-compat ()
     refs/heads/ttsou/siggen ()
     refs/tags/fairwaves/0.1.10-1 ()
     refs/tags/fairwaves/0.1.10-2 ()
     refs/tags/fairwaves/0.1.10-3 ()
     refs/tags/fairwaves/0.1.11 ()
     refs/tags/fairwaves/0.1.9 ()
     refs/tags/fairwaves/0.1.9-1 ()
uscan info: Looking at $base = https://git.osmocom.org/osmo-trx with
    $filepattern = refs/tags/([\d\.]+) found
    $newfile     = refs/tags/0.3.0
    $newversion  = 0.3.0 which is newer than
    $lastversion = 0.2.0
uscan info: Upstream URL(+tag) to download is identified as    
https://git.osmocom.org/osmo-trx refs/tags/0.3.0
uscan info: Filename (filenamemangled) for downloaded file: 
osmo-trx-0.3.0.tar.xz
uscan: Newest version of osmo-trx on remote site is 0.3.0, local version is 
0.2.0
uscan:    => Newer package available from
      https://git.osmocom.org/osmo-trx refs/tags/0.3.0
uscan info: Downloading upstream package: osmo-trx-0.3.0.tar.xz
uscan info: Execute: git clone --bare --depth=1 
https://git.osmocom.org/osmo-trx ../osmo-trx-temporary.2327.git
Cloning into bare repository '../osmo-trx-temporary.2327.git'...
fatal: dumb http transport does not support shallow capabilities
uscan info: Execute: git --git-dir=../osmo-trx-temporary.2327.git archive 
--format=tar --prefix=osmo-trx-0.3.0/ 
--output=/home/debian/devscript-bug/osmo-trx-0.2.0/../osmo-trx-0.3.0.tar 
refs/tags/0.3.0
fatal: Not a git repository: '../osmo-trx-temporary.2327.git'
uscan die: git archive failed



=======================================================================



debian@devel:~/devscript-bug$ LANG=C dpkg -l devscripts Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                     Version           Architecture      Description
+++-========================-=================-=================-======================================================
ii  devscripts               2.17.12           amd64             scripts to 
make the life of a Debian Package maintaine


debian@devel:~/devscript-bug$ LANG=C apt-get source osmo-trx=0.2.0-2
Reading package lists... Done
NOTICE: 'osmo-trx' packaging is maintained in the 'Git' version control system 
at:
https://salsa.debian.org/debian-mobcom-team/osmo-trx.git
Please use:
git clone https://salsa.debian.org/debian-mobcom-team/osmo-trx.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 140 kB of source archives.
Get:1 http://ftp2.de.debian.org/debian unstable/main osmo-trx 0.2.0-2 (dsc) 
[2275 B]
Get:2 http://ftp2.de.debian.org/debian unstable/main osmo-trx 0.2.0-2 (tar) 
[132 kB]
Get:3 http://ftp2.de.debian.org/debian unstable/main osmo-trx 0.2.0-2 (diff) 
[5660 B]
Fetched 140 kB in 1s (164 kB/s)
dpkg-source: info: extracting osmo-trx in osmo-trx-0.2.0
dpkg-source: info: unpacking osmo-trx_0.2.0.orig.tar.xz
dpkg-source: info: unpacking osmo-trx_0.2.0-2.debian.tar.xz
dpkg-source: info: applying 02_no_march_native.patch


debian@devel:~/devscript-bug$ cd osmo-trx-0.2.0/

uscan info: uscan (version 2.17.12) See uscan(1) for help
uscan info: Scan watch files in .
uscan info: Check debian/watch and debian/changelog in .
uscan info: package="osmo-trx" version="0.2.0-2" (as seen in debian/changelog)
uscan info: package="osmo-trx" version="0.2.0" (no epoch/revision)
uscan info: ./debian/changelog sets package="osmo-trx" version="0.2.0"
uscan info: Process ./debian/watch (package=osmo-trx version=0.2.0)
uscan info: opts: mode=git, dversionmangle=s/\+ds//
uscan info: line: https://git.osmocom.org/osmo-trx refs/tags/([\d\.]+) debian 
uupdate
uscan info: Parsing mode=git
uscan info: Parsing  dversionmangle=s/\+ds//
uscan info: line: https://git.osmocom.org/osmo-trx refs/tags/([\d\.]+) debian 
uupdate
uscan info: Last orig.tar.* tarball version (from debian/changelog): 0.2.0
uscan info: Last orig.tar.* tarball version (dversionmangled): 0.2.0
uscan info: Execute: git ls-remote https://git.osmocom.org/osmo-trx
uscan info: Found the following matching refs:
     refs/tags/0.3.0 (0.3.0)
     refs/tags/0.2.0 (0.2.0)
     HEAD ()
     refs/heads/achemeris/2sector ()
     refs/heads/achemeris/diversity ()
     refs/heads/achemeris/empty-bursts ()
     refs/heads/achemeris/load_testing ()
     refs/heads/achemeris/phase_err_meas ()
     refs/heads/achemeris/poweroff_hack ()
     refs/heads/achemeris/ramp-mask ()
     refs/heads/achemeris/rtmd ()
     refs/heads/achemeris/stable_threads ()
     refs/heads/coverity ()
     refs/heads/fairwaves/625 ()
     refs/heads/fairwaves/WIP-decoder ()
     refs/heads/fairwaves/master ()
     refs/heads/fairwaves/master-old ()
     refs/heads/fairwaves/no-demod ()
     refs/heads/fairwaves/old-master ()
     refs/heads/fix-osmogsmtester ()
     refs/heads/kluchnikov/recv-timeout-fix ()
     refs/heads/laforge/lime ()
     refs/heads/master ()
     refs/heads/max/fix ()
     refs/heads/ms ()
     refs/heads/pmaier/cpudetect ()
     refs/heads/ramp-mask ()
     refs/heads/rel-0.3.0 ()
     refs/heads/ttsou/master-compat ()
     refs/heads/ttsou/siggen ()
     refs/tags/fairwaves/0.1.10-1 ()
     refs/tags/fairwaves/0.1.10-2 ()
     refs/tags/fairwaves/0.1.10-3 ()
     refs/tags/fairwaves/0.1.11 ()
     refs/tags/fairwaves/0.1.9 ()
     refs/tags/fairwaves/0.1.9-1 ()
uscan info: Upstream URL (downloadurlmangled):
   https://git.osmocom.org/osmo-trx refs/tags/0.3.0
uscan info: Newest upstream tarball version selected for download 
(uversionmangled): 0.3.0
uscan info: Download filename (filenamemangled): osmo-trx-0.3.0.tar.xz
uscan: Newest version of osmo-trx on remote site is 0.3.0, local version is 
0.2.0
uscan:    => Newer package available from
      https://git.osmocom.org/osmo-trx refs/tags/0.3.0
uscan info: Downloading upstream package: osmo-trx-0.3.0.tar.xz
uscan info: Execute: git clone --bare https://git.osmocom.org/osmo-trx 
../osmo-trx.4086.git
Cloning into bare repository '../osmo-trx.4086.git'...
uscan info: Execute: git archive --format=tar --prefix=osmo-trx-0.3.0/ 
--output=/home/debian/devscript-bug/osmo-trx-0.2.0/../osmo-trx-0.3.0.tar 
refs/tags/0.3.0
uscan info: Execute: xz osmo-trx-0.3.0.tar
uscan info: Successfully downloaded package: osmo-trx-0.3.0.tar.xz
uscan info: Start checking for common possible upstream OpenPGP signature files
uscan info: End checking for common possible upstream OpenPGP signature files
uscan info: Missing OpenPGP signature.
uscan info: New orig.tar.* tarball version (oversionmangled): 0.3.0
uscan info: Executing internal command:
   mk-origtargz --package osmo-trx --version 0.3.0 --compression xz --directory 
.. --copyright-file debian/copyright ../osmo-trx-0.3.0.tar.xz
uscan info: New orig.tar.* tarball version (after mk-origtargz): 0.3.0
uscan info: Successfully repacked ../osmo-trx-0.3.0.tar.xz as 
../osmo-trx_0.3.0.orig.tar.xz, deleting 1 files from it.
uscan info: Executing user specified script:
   uupdate -f --verbose --upstream-version 0.3.0
uupdate: PACKAGE     = "osmo-trx" is in the top of debian/changelog
uupdate: VERSION     = "0.2.0-2" is in the top of debian/changelog
uupdate: EPOCH       = "" is epoch part of $VERSION
uupdate: SVERSION    = "0.2.0-2" is w/o-epoch part of $VERSION
uupdate: UVERSION    = "0.2.0" the upstream portion w/o-epoch of $VERSION
uupdate: Old: <epoch:><version>-<revision> = 0.2.0-2
uupdate: Old: <epoch:> = uupdate: Old: <version>-<revision> = 0.2.0-2
uupdate: Old:         <version>            = 0.2.0
uupdate: New:         <version>            = 0.3.0
uupdate: -> Copy to      osmo-trx_0.3.0-1.debian.tar.xz
dpkg-source: info: extracting osmo-trx in osmo-trx-0.3.0
dpkg-source: info: unpacking osmo-trx_0.3.0.orig.tar.xz
dpkg-source: info: unpacking osmo-trx_0.3.0-1.debian.tar.xz
uupdate: Remember: Your current directory is changed back to the old source 
tree!
uupdate: Do a "cd ../osmo-trx-0.3.0" to see the new source tree and
    edit it to be nice Debianized source.
uscan info: Scan finished

Reply via email to