home  bbs  files  messages ]

      ZZLI4416             linux.debian.bugs.dist             15094 messages      

[ previous | next | reply ]

[ list messages | list forums ]

  Msg # 14924 of 15094 on ZZLI4416, Sunday 8-16-25, 6:21  
  From: JONAS SMEDEGAARD  
  To: ALL  
  Subj: Bug#1111268: uscan: regression in v5 for  
 XPost: linux.debian.ports.alpha 
 From: dr@jones.dk 
  
 Package: devscripts 
 Version: 2.25.18 
 Severity: important 
 X-Debbugs-Cc: debian-alpha@lists.debian.org 
 User: debian-alpha@lists.debian.org 
 Usertags: alpha 
  
 -----BEGIN PGP SIGNED MESSAGE----- 
 Hash: SHA512 
  
 The package btm works fine with this watch file: 
  
 version=4 
 opts=\\ 
 downloadurlmangle=s!api.github.com/repos/[^/]+/[^/]+/\\Kgit/!tarball/!g,\\ 
 searchmode=plain \\ 
 https://api.github.com/repos/ClementTsang/bottom/git/matching-refs/tags/ \\ 
 https://api.github.com/repos/[^/]+/[^/]+/git/refs/tags/@ANY_VERSION@ 
  
 $ uscan 
 Newest version of btm on remote site is 0.11.1, local version is 
 0.10.2+20250107 
  => Newer package available from: 
         => https://api.github.com/repos/ClementTsang/bottom/tarb 
 ll/refs/tags/0.11.1 
 uscan warn: Parameter ../0.11.1 does not have a file extension, guessed a 
 tarball compressed with gzip. 
 uscan warn: Missing debian/source/format, switch compression to gzip 
 Leaving ../btm_0.11.1.orig.tar.gz where it is. 
  
 Upgrading to v5, however, bogusly treats tag 0.1.0-alpha-4 as newer 
 release 4: 
  
 version: 5 
  
 Template: Github 
 Owner: ClementTsang 
 Project: bottom 
  
 $ uscan 
 Newest version of btm on remote site is 4, local version is 0.10.2+20250107 
  => Newer package available from: 
         => https://api.github.com/repos/ClementTsang/bottom/tarb 
 ll/refs/tags/0.1.0-alpha-4 
 uscan warn: Missing debian/source/format, switch compression to gzip 
 Successfully symlinked ../btm-4.tar.gz to ../btm_4.orig.tar.gz. 
  
 Explicitly adding Matching-Pattern as I assumed would be already a 
 necessary part of the used template makes it behave as expected: 
  
 version: 5 
  
 Template: Github 
 Owner: ClementTsang 
 Project: bottom 
 Matching-Pattern: https://api.github.com/repos/[^/]+/[^/]+/git/r 
 fs/tags/@ANY_VERSION@ 
  
 $ uscan 
 Newest version of btm on remote site is 0.11.1, local version is 
 0.10.2+20250107 
  => Newer package available from: 
         => https://api.github.com/repos/ClementTsang/bottom/tarb 
 ll/refs/tags/0.11.1 
 uscan warn: Missing debian/source/format, switch compression to gzip 
 Successfully symlinked ../btm-0.11.1.tar.gz to ../btm_0.11.1.orig.tar.gz. 
  
 I recommend to setup the template to behave the same as the pattern 
 documented as the equivalent non-template pattern for Github. 
  
 I recommend to document in uscan-templates manpage what exactly each 
 template does. 
  
 I recommend to expose in `uscan --report --verbose` the expansion of 
 templates into patterns. 
  
  - Jonas 
  
 - -- Package-specific info: 
  
 - --- /etc/devscripts.conf --- 
 Empty. 
  
 - --- ~/.devscripts --- 
 Not present 
  
 - -- System Information: 
 Debian Release: forky/sid 
   APT prefers buildd-unstable 
   APT policy: (500, 'buildd-unstable'), (500, 'unstable'), (1, ' 
 uildd-experimental'), (1, 'experimental') 
 Architecture: amd64 (x86_64) 
  
 Kernel: Linux 6.12.22-amd64 (SMP w/8 CPU threads; PREEMPT) 
 Locale: LANG=da_DK.UTF-8, LC_CTYPE=da_DK.UTF-8 (charmap=UTF-8), LANGUAGE not 
 set 
 Shell: /bin/sh linked to /usr/bin/dash 
 Init: systemd (via /run/systemd/system) 
 LSM: AppArmor: enabled 
  
 Versions of packages devscripts depends on: 
 ii  dpkg-dev              1.22.21 
 ii  file                  1:5.46-5 
 ii  gpg                   2.4.8-2 
 ii  gpg-agent             2.4.8-2 
 ii  gpg-from-sq [gpg]     0.13.1-3 
 ii  gpgv                  2.4.8-2 
 ii  gpgv-from-sq [gpgv]   0.13.1-3 
 ii  libdpkg-perl          1.22.21 
 ii  libfile-dirlist-perl  0.05-3 
 ii  libfile-homedir-perl  1.006-2 
 ii  libfile-touch-perl    0.12-2 
 ii  libmoo-perl           2.005005-1 
 ii  libwww-perl           6.78-1 
 ii  patchutils            0.4.2-1 
 ii  perl                  5.40.1-6 
 ii  python3               3.13.5-1 
 ii  sensible-utils        0.0.25 
 ii  wdiff                 1.2.2-9 
  
 Versions of packages devscripts recommends: 
 ii  apt                         3.1.4 
 ii  curl                        8.15.0-1 
 ii  dctrl-tools                 2.24-3+b1 
 ii  debian-keyring              2025.07.26 
 ii  debian-tag2upload-keyring   1.1 
 ii  dput                        1.2.4 
 ii  equivs                      2.3.2 
 ii  git-debpush                 13.12 
 ii  libdistro-info-perl         1.14 
 ii  libencode-locale-perl       1.05-3 
 ii  libgitlab-api-v4-perl       0.27-1 
 ii  libio-string-perl           1.08-4 
 ii  libjson-perl                4.10000-1 
 ii  liblwp-protocol-https-perl  6.14-1 
 ii  libsoap-lite-perl           1.27-3 
 ii  libstring-shellquote-perl   1.04-3 
 ii  liburi-perl                 5.30-1 
 ii  licensecheck                3.3.9-1 
 ii  lintian                     2.122.0 
 ii  lzip                        1.25-3 
 ii  man-db                      2.13.1-1 
 ii  patch                       2.8-2 
 ii  pristine-tar                1.50+nmu2 
 ii  python3-apt                 3.0.0 
 ii  python3-debian              1.0.1 
 ii  python3-magic               2:0.4.27-3 
 ii  python3-requests            2.32.3+dfsg-5 
 ii  python3-unidiff             0.7.5-2 
 ii  python3-xdg                 0.28-2 
 ii  strace                      6.16+ds-2 
 ii  unzip                       6.0-29 
 ii  wget                        1.25.0-2 
 ii  xz-utils                    5.8.1-1 
  
 Versions of packages devscripts suggests: 
 pn  adequate                      
 pn  at                            
 pn  autopkgtest                   
 pn  bls-standalone                
 pn  bsd-mailx | mailx             
 ii  build-essential              12.12 
 pn  check-all-the-things          
 ii  debhelper                    13.25 
 pn  diffoscope                    
 pn  disorderfs                    
 pn  docker.io                     
 ii  dose-extra                   7.0.0-6+b2 
 pn  duck                          
 pn  elpa-devscripts               
 pn  faketime                      
 pn  gnuplot                       
 pn  how-can-i-help                
 ii  libauthen-sasl-perl          2.1900-1 
 pn  libdbd-pg-perl                
 pn  libmetacpan-client-perl       
 pn  libterm-size-perl             
 ii  libtimedate-perl             2.3300-2 
  
 [continued in next message] 
  
 --- SoupGate-Win32 v1.05 
  * Origin: you cannot sedate... all the things you hate (1:229/2) 

[ list messages | list forums | previous | next | reply ]

search for:

328,098 visits
(c) 1994,  bbs@darkrealms.ca