Forums before death by AOL, social media and spammers... "We can't have nice things"
|    linux.debian.bugs.dist    |    Ohh some weird Debian bug report thing    |    28,835 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 27,693 of 28,835    |
|    Andreas Metzler to All    |
|    Bug#1128013: uscan: mode=svn HEAD with m    |
|    15 Feb 26 07:20:01    |
      From: ametzler@bebt.de              Package: devscripts       Version: 2.26.5       Severity: normal              Good morning,              netpbm-free does not tag minor releases, the version number for       https://svn.code.sf.net/p/netpbm/code/advanced/ can be found in       version.mk. Also documentation (which is unversioned) and source live in       separate svn repositories.              uscan cannot handle this (parse out version number from a http-served       page, use it for versioning but generate the tarballs with subversion.)       So I have ended ups scripting it with       X8----------------------------debian/updatewatchfile       #!/bin/sh              set -e              if which wget > /dev/null ; then        httpsdump="wget --quiet -O-"       elif which curl > /dev/null ; then        httpsdump="curl --silent"       else        echo neither wget nor curl found        exit 1       fi              latest=$(export \        $($httpsdump https://svn.code.sf.net/p/netpbm/code/advanced/version.mk       |\        grep '^NETPBM_[A-Z]*_RELEASE *= *[0-9][[0-9]*$' |\        sed -e 's/[[:space:]]\+//g'); \        printf '%02d.%02d.%02d\n' $NETPBM_MAJOR_RELEASE $NETPBM_MINOR_RELEASE       $NETPBM_POINT_RELEASE)              echo found $latest              if test -e debian/watch.in ; then        sed -e "s/@LATESTADVANCED@/$latest/g" \        < debian/watch.in \        > debian/watch       else        echo debian/watch.in not found        exit 1       fi       X8----------------------------              and              X8----------------------------debian/watch.in       version=4              opts="mode=svn,pgpmode=none,uversionmangle=s/.*/@LATESTADVANCED@/" \        https://svn.code.sf.net/p/netpbm/code/advanced/ \        HEAD ignore              # userguide is unversioned       opts="mode=svn, pgpmode=none, \        component=userguide" \        https://svn.code.sf.net/p/netpbm/code/userguide/ \        HEAD ignore       X8----------------------------              And I *manually* run debian/updatewatchfile, followed by uscan --rename.              Which works fine on trixie ...       | uscan info: Upstream URL(+tag) to download is identified as        https://svn.code.sf.net/p/netpbm/code/advanced/       | uscan info: Filename (filenamemangled) for downloaded file: ne       pbm-free-11.13.03.tar.xz       | Newest version of netpbm-free on remote site is 11.13.03, ignore local       version       [...]       | Newest version of userguide on remote site is 0.0~svn5161, ignore local       version       | uscan info: Downloading upstream package: userguide              but fails to update the userguide component in sid:       | uscan info: Upstream URL(+tag) to download is identified as        https://svn.code.sf.net/p/netpbm/code/advanced/       | uscan info: Filename (filenamemangled) for downloaded file: ne       pbm-free-11.13.03.tar.xz       | Newest version of netpbm-free on remote site is 0.0~svn5164, local version       is 11.13.00       | => Newer package available from:       | => https://svn.code.sf.net/p/netpbm/code/advanced/       [...]       | uscan info: Parsing component: userguide       | uscan info: Parsing mode: svn       | uscan info: Parsing pgpmode: none       | uscan info: Last orig.tar.* tarball version (from debian/changelog): 11.13.00       | uscan info: Last orig.tar.* tarball version (dversionmangled): 11.13.00       | uscan info: uscan parser results:       | $base = https://svn.code.sf.net/p/netpbm/code/userguide/       | $filepattern = HEAD       | $newfile = https://svn.code.sf.net/p/netpbm/code/userguide/       | $mangled_newversion = 0.0~svn5161       | $newversion = 0.0~svn5161       | $lastversion = 11.13.00       | uscan info: Upstream URL(+tag) to download is identified as        https://svn.code.sf.net/p/netpbm/code/userguide/       | uscan info: Filename (filenamemangled) for downloaded file: ne       pbm-free-0.0~svn5161.tar.xz       | uscan info: Newest version of userguide on remote site is 0.0~svn5161, local       version is 11.13.00       | uscan info: => Only older package available from:       | => https://svn.code.sf.net/p/netpbm/code/userguide/                     cu Andreas              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca