Hi Christoph, On Sun, 8 Apr 2018 14:18:07 +0200 Christoph Biedl <[email protected]> wrote:> Package: devscripts > Version: 2.18.1 > Severity: normal > > Dear Maintainer, > > when I tried the --copy option of uscan as described in the manpage, it > didn't quite work as expected:
This is indeed a bug. It looks like the --copy command was never handled. I submitted a patch to the new Salsa repo [1]. > Could you please check what is supposed to happen here? The expected behavior is that rather than creating a symlink: running uscan before patch (no --copy arg) ========================================== root@d6e5bccac41e:/debian/debug# ls -al total 33848 drwxr-xr-x 7 root root 224 Jun 28 05:15 . drwxr-xr-x 14 root root 448 Jun 28 03:30 .. drwxr-xr-x 7 root root 224 Jun 28 03:51 891047 lrwxrwxrwx 1 root root 36 Jun 28 05:15 ffdiaporama_2.1+dfsg.orig-rsc.tar.gz -> ffdiaporama_rsc_2.1.2014.0209.tar.gz lrwxrwxrwx 1 root root 36 Jun 28 05:15 ffdiaporama_2.1+dfsg.orig.tar.gz -> ffdiaporama_bin_2.1.2014.0209.tar.gz -rw-r--r-- 1 root root 16063604 Jun 28 05:15 ffdiaporama_bin_2.1.2014.0209.tar.gz -rw-r--r-- 1 root root 17669845 Jun 28 05:15 ffdiaporama_rsc_2.1.2014.0209.tar.gz The original file should be copied instead: running uscan after patch (with --copy arg) ========================================== root@d6e5bccac41e:/debian/debug# ls -al total 67424 drwxr-xr-x 7 root root 224 Jun 28 05:16 . drwxr-xr-x 14 root root 448 Jun 28 03:30 .. drwxr-xr-x 7 root root 224 Jun 28 03:51 891047 -rw-r--r-- 1 root root 17669845 Jun 28 05:16 ffdiaporama_2.1+dfsg.orig-rsc.tar.gz -rw-r--r-- 1 root root 16063604 Jun 28 05:16 ffdiaporama_2.1+dfsg.orig.tar.gz -rw-r--r-- 1 root root 16063604 Jun 28 05:16 ffdiaporama_bin_2.1.2014.0209.tar.gz -rw-r--r-- 1 root root 17669845 Jun 28 05:16 ffdiaporama_rsc_2.1.2014.0209.tar.gz If you need to use this right away then you should be able to update your local uscan.pl file with the simple addition from the patch. [1] https://salsa.debian.org/debian/devscripts/merge_requests/22 -- Lev Lazinskiy e: [email protected] w: https://levlaz.org/about-me/

