Hi, Le lundi 19 octobre 2020 à 20:03 +0000, PICCA Frederic-Emmanuel a écrit : > what about the git mode of uscan > > then you would have all the tags ?
Ah, yes, I had forgotten that! I tried with a simpler version (one component), and my d/watch is : version=4 opts=\ component=algorithm,\ dversionmangle=auto,repacksuffix=+ds,mode=git,compression=gzip,\ filenamemangle=s/lumino-(@ANY_VERSION@@ARCHIVE_EXT@)/lumino-algorithm- $1/ \ https://github.com/jupyterlab/lumino \ refs/tags/@lumino/algorithm@@ANY_VERSION@ group with d/copyright having (on a single line) : Files-Excluded-algorithm: api-extractor-base.json CONTRIBUTING.md examples lerna.json notebooks package.json RELEASE.md review yarn.lock packages/application packages/collections packages/commands packages/coreutils packages/datagrid packages/datastore packages/default-theme packages/disposable packages/domutils packages/dragdrop packages/keyboard packages/messaging packages/polling packages/properties packages/signaling packages/virtualdom packages/widgets The result is : - good: a bare checkout is made ; - good: a tarball gets generated ; - bad: the name lumino-1.3.3.tar.gz for the tarball is not correct ; - good: the symlink to lumino_1.3.3.orig-algorithm.tar.gz looks better - bad: the tarball contains the whole sources (no repack) ; - bad: the bare checkout isn't cleared. Here is the end of running "LANG=C uscan -v" : uscan info: Upstream URL(+tag) to download is identified as https://github.com/jupyterlab/lumino refs/tags/@lumino/algorithm@1.3.3 uscan info: Filename (filenamemangled) for downloaded file: lumino- 1.3.3.tar.gz uscan: Newest version of algorithm on remote site is 1.3.3, local version is 0~O uscan: => Newer package available from => https://github.com/jupyterlab/lumino refs/tags/@lumino/algorithm@1.3.3 uscan info: Downloading upstream package: lumino-1.3.3.tar.gz Cloning into bare repository '../lumino-temporary.277930.git'... remote: Enumerating objects: 442, done. remote: Counting objects: 100% (442/442), done. remote: Compressing objects: 100% (303/303), done. remote: Total 442 (delta 166), reused 258 (delta 112), pack-reused 0 Receiving objects: 100% (442/442), 614.72 KiB | 1.91 MiB/s, done. Resolving deltas: 100% (166/166), done. uscan info: Successfully downloaded package: lumino-1.3.3.tar.gz 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): 1.3.3 uscan info: Launch mk-origtargz with options: --package lumino --version 1.3.3 --repack-suffix +ds --component algorithm --compression gzip --directory .. --copyright-file debian/copyright ../lumino-1.3.3.tar.gz Successfully symlinked ../lumino-1.3.3.tar.gz to ../lumino_1.3.3.orig- algorithm.tar.gz. uscan info: New orig.tar.* tarball version (after mk-origtargz): 1.3.3 uscan warn: rename ../lumino_1.3.3.orig-algorithm.tar.gz to ../lumino_1.3.3.orig-algorithm.tar.gz Use of uninitialized value in string eq at /usr/share/perl5/Devscripts/Uscan/WatchFile.pm line 451. uscan info: Scan finished (I think that "Use of uninitialized value ..." is just a warning since the log doesn't end there) What do I still miss? JP