Bug#626254: PTS Code is pretty simple

2012-07-09 Thread Scott Kitterman
Here's the PTS code for collecting the version information from DEHS: # read info gathered from watch file scanner data = yaml.load(file(os.path.join(dir, dehs.yaml)), yaml.CLoader) dehs = {} for entry in data: pkgname = entry[package] if status in entry and Newer version in

Bug#626254: PTS Code is pretty simple

2012-07-09 Thread Lucas Nussbaum
On 09/07/12 at 12:28 -0400, Scott Kitterman wrote: Here's the PTS code for collecting the version information from DEHS: # read info gathered from watch file scanner data = yaml.load(file(os.path.join(dir, dehs.yaml)), yaml.CLoader) dehs = {} for entry in data: pkgname = entry[package]

Bug#626254: PTS Code is pretty simple

2012-07-09 Thread Scott Kitterman
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. It seems to work

Bug#626254: PTS Code is pretty simple

2012-07-09 Thread Scott Kitterman
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