On Tuesday 09 February 2016 05:19 PM, Christian Hofstaedtler wrote: > * Pirate Praveen <praveen@onenetbeyond.org> [160209 12:30]: >> If you check rubygems.org/gems/gitlab_git, you can see 7.2.24 > [..] >> 7.2.24 - January 21, 2016 (23.5 KB) > >> But >> http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/gitlab_git >> does not show that version. >> >> Archived versions: >> gitlab_git-8.1.0.tar.gz >> gitlab_git-7.2.22.tar.gz >> gitlab_git-7.2.20.tar.gz >> gitlab_git-7.2.19.tar.gz >> >> I remember seeing similar inconsistency for some other gems too. Can >> someone confirm and possibly fix it? > > There's no real inconsistency: > > - rubygems.org lists all previous versions > - gemwatch lists all previous versions it has in it's download > cache ("archive"). > > If you download a "new" version through gemwatch, it will appear in > the list of archived versions, too. > > It's just two different things really. So gemwatch can only be relied on to download the latest version and not any previous version. I was expecting it to download gitlab_git 7.2.24 when I gave $ uscan --verbose --download-version 7.2.24 uscan: uscan (version 2.15.10) See uscan(1) for help uscan: Scan watch files in . uscan info: Check debian/watch and debian/changelog in . uscan info: package="ruby-gitlab-git" version="7.2.24-1" (as seen in debian/changelog) uscan info: package="ruby-gitlab-git" version="7.2.24" (no epoch/revision) uscan: ./debian/changelog sets package="ruby-gitlab-git" version="7.2.24" uscan info: Process ./debian/watch (package=ruby-gitlab-git version=7.2.24) uscan info: Last orig.tar.* tarball version (from debian/changelog): 7.2.24 uscan info: Download the --download-version specified version: 7.2.24 uscan info: Requesting URL: http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/gitlab_git uscan info: Matching pattern: (?:(?:http://pkg-ruby-extras.alioth.debian.org)?\/cgi\-bin\/gemwatch\/gitlab_git)?.*/gitlab_git-(.*).tar.gz uscan info: Found the following matching hrefs on the web page (newest first): /cgi-bin/gemwatch/download/gitlab_git-8.1.0.tar.gz (8.1.0) index=8.1.0.1 /cgi-bin/gemwatch/download/gitlab_git-8.1.0.tar.gz (8.1.0) index=8.1.0.1 /cgi-bin/gemwatch/download/gitlab_git-7.2.22.tar.gz (7.2.22) index=7.2.22.1 /cgi-bin/gemwatch/download/gitlab_git-7.2.21.tar.gz (7.2.21) index=7.2.21.1 /cgi-bin/gemwatch/download/gitlab_git-7.2.20.tar.gz (7.2.20) index=7.2.20.1 /cgi-bin/gemwatch/download/gitlab_git-7.2.19.tar.gz (7.2.19) index=7.2.19.1 uscan warn: In debian/watch no matching hrefs for version 7.2.24 in watch line http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/gitlab_git .*/gitlab_git-(.*).tar.gz uscan info: Scan finished Here I had to got to rubygems.org and download 7.2.24 gem and run gem2tgz. > Best, >
Attachment:
signature.asc
Description: OpenPGP digital signature