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

Bug#809781: (no subject)



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA384

Howdy,

I noticed the uscan reports have been dead a while as well, though it might be a slightly different issue. If one were to apply the attached patch to the pts, it'd start picking them up again. I have verified this locally.


~Unit 193
Unit193 @ Freenode
Unit193 @ OFTC

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCQAGBQJZWLaKAAoJEFAB4bCao3RLPbYP/0TyBdZCAgB9iL2jLCqViD7X
l++VA13atgEXWViK6+2Up4boxwmzrwpbE12+roVGqmZ4rJ8BxYanK5wDhx1fo7zV
LMbJ1HRstQ0RRyZXbsMNeB0GOv6EfDdl/fUp1bcPsIyhNt1e9lx9RkzL+fHssux2
h+cORrF3jU5zHBY7sGsM/KvB9nxrg6+5mSqJy7x8/puvQYRcpmVM2r50QOU3tkA5
lCVUC/BNT3Yw0rG4q7fsLXiJk/1YC7YVSDgFWHJ4LkCwh9tsxO2AYIG22ydjMCu7
WGDZ4DiaQwSvoWstfSjTg7mekvyIGR8GIdobxiPnsaOiPt4dRsKiGbrYuSgubcRW
HmNmI+bQb9ROZKl1qfueB6kK1nGIDzdB2CYgtqQOYKg7Wl+/BGdyZkYw6wW21Yz0
i4Wsu2mWOC+5tzpuiokfXeDiiHXeulftTLC1L9LjDaO0WlgpWxrMg9+W5F49z+JM
e3jI8pXjfOfYoewRvm2ARGpS8/iutyjo+Xmic2qMlJPH2Fr8ZOgjhqtaCRxJviI2
MCzoLryNmacnhTBvK3xdXsqy50lXO9gRqf7vFprtWNZGRUJP9gyat9wdeo/0Rr9q
MeAbQja6+zZwnkU2bN6bFAgLGVfPMUhV9m94hyHI6hO2nHhr+fzWqF8i40wtVHCI
1jljGLyW8IgU1Xvn7LbX
=9t4F
-----END PGP SIGNATURE-----
Index: www/bin/other_to_xml.py
===================================================================
--- www/bin/other_to_xml.py	(revision 3633)
+++ www/bin/other_to_xml.py	(working copy)
@@ -534,18 +534,19 @@
     pass # Silent failure
 
 # read info gathered from watch file scanner
-data = yaml.load(file(os.path.join(dir, "dehs.yaml")), yaml.CSafeLoader)
+with open(os.path.join(dir, "dehs.json")) as data_file:
+    data = json.load(data_file)
 if not data:
     data = []
 dehs = {}
 for entry in data:
     pkgname = entry["package"]
-    if "status" in entry and "Newer version" in entry["status"]:
+    if "status" in entry and "newer package" in entry["status"]:
         if pkgname not in dehs:
             dehs[pkgname] = {}
         dehs[pkgname]["newer"] = str(entry["upstream-version"])
         dehs[pkgname]["url"] = entry["upstream-url"]
-    if "warnings" in entry:
+    if entry["warnings"] and "more than one main upstream tarballs listed." not in entry["warnings"]:
         if pkgname not in dehs:
             dehs[pkgname] = {}
         dehs[pkgname]["error"] = entry["warnings"]
Index: www/bin/update_incoming.sh
===================================================================
--- www/bin/update_incoming.sh	(revision 3633)
+++ www/bin/update_incoming.sh	(working copy)
@@ -219,7 +219,7 @@
 #    svnbuildstat_list.txt
 
 # download watch file information
-get https://udd.debian.org/cgi-bin/upstream-status.json.cgi dehs.yaml
+get https://udd.debian.org/cgi-bin/upstream-status.json.cgi dehs.json
 # needs UDD replacement:
 #get https://qa.debian.org/watch/watch-avail.txt watch-avail.txt
 #get https://qa.debian.org/watch/watch-broken.txt watch-broken.txt

Reply to: