[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#626254: PTS Code is pretty simple



On Monday, July 09, 2012 07:07:23 PM Lucas Nussbaum wrote:
...
> What about http://udd.debian.org/cgi-bin/upstream-status.json.cgi ?
> Note: it's JSON, not YAML. I could do YAML if that's a problem.
> 
> It also includes paragraphs with status=error. You might want to
> filter then out.

DEHS reports the error and the PTS displays it.   warnings: Use of 
uninitialized value $3 in concatenation (.) or string at 
/home/myon/devscripts/scripts/uscan.pl line 720, <WATCH> line 5.

is displayed on http://packages.qa.debian.org/b/bookview.html in the problems 
section, which seems reasonable to me.  Could you adjust your udd query to 
capture the error?  For that particular entry, your file has:

  {
    "debian-mangled-uversion": null,
    "upstream-version": null,
    "package": "bookview",
    "upstream-url": null,
    "status": "error",
    "debian-uversion": null
  }

and the obsolete DEHS file has:

-
  debian-mangled-uversion: 3.2.1
  debian-uversion: 3.2.1
  package: bookview
  status: up to date
  upstream-url: 
ftp://ftp.sra.co.jp/pub/net/ndtp/bookview/bookview-3.2.1.tar.gz
  upstream-version: 3.2.1
  warnings: Use of uninitialized value $3 in concatenation (.) or string at 
/home/myon/devscripts/scripts/uscan.pl line 720, <WATCH> line 5.

It would be good to get whatever information we can, although status: up to 
date as reported by DEHS is clearly wrong since there's no way to know.

I think you've also got an issue in your version mangling:

  {
    "debian-mangled-uversion": "0.96.4",
    "upstream-version": "0.97.5",
    "package": "libclamunrar",
    "upstream-url": 
"http://qa.debian.org/watch/sf.php/clamav/clamav-0.97.5.tar.gz";,
    "status": "Newer version available",
    "debian-uversion": "0.96.4"
  },

I"ve no idea where 0.96.4 comes from as it's current in Sid and Testing.  
That's a version from October 2010.

Scott K



Reply to: