Bug#896705: [uscan] problem with creating orig.tar from git tag

2018-11-19 Thread Xavier
Hi,

the remote server no more support "--depth" option. You should add
"gitmode=full" in your debian/watch

Cheers,
Xavier



Bug#896705: [uscan] problem with creating orig.tar from git tag

2018-04-23 Thread Thorsten Alteholz

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.1amd64 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