[Piuparts-devel] [Git][debian/piuparts][develop] 4 commits: piuparts-report.py: fix link to states.png

Nicolas Dandrimont gitlab at salsa.debian.org
Fri Jan 17 15:09:34 GMT 2020



Nicolas Dandrimont pushed to branch develop at Debian / piuparts


Commits:
81ba3455 by Ansgar at 2019-09-10T22:54:18+02:00
piuparts-report.py: fix link to states.png

- - - - -
68f2fab7 by Stuart Prescott at 2019-12-06T00:16:11+11:00
Add timeout when fetching packages files

- - - - -
3f3a475d by Nicolas Dandrimont at 2020-01-17T16:04:41+01:00
Merge branch 'stuart/piuparts-tmp/develop/timeout' into develop

See merge request https://salsa.debian.org/debian/piuparts/merge_requests/15

- - - - -
af510fd3 by Nicolas Dandrimont at 2020-01-17T16:09:20+01:00
Merge branch 'ansgar/piuparts-fix-link-to-states.png' into HEAD

See https://salsa.debian.org/debian/piuparts/merge_requests/10

- - - - -


2 changed files:

- piuparts-report.py
- piupartslib/__init__.py


Changes:

=====================================
piuparts-report.py
=====================================
@@ -761,7 +761,7 @@ def create_section_navigation(section_names, current_section, doc_root):
                  % (doc_root, current_section)
     tablerows += "<tr><td class=\"contentcell\"><a href=\"%s/%s/source/\">by source package</a></td></tr>\n" \
                  % (doc_root, current_section)
-    tablerows += "<tr><td class=\"contentcell\">states <a href=\"%s/%s/states.png/\">graph</a></td></tr>\n" \
+    tablerows += "<tr><td class=\"contentcell\">states <a href=\"%s/%s/states.png\">graph</a></td></tr>\n" \
                  % (doc_root, current_section)
     tablerows += "<tr class=\"titlerow\"><td class=\"alerttitlecell\">all tested suites</td></tr>"
     for section in section_names:


=====================================
piupartslib/__init__.py
=====================================
@@ -93,7 +93,7 @@ def open_packages_url(url):
     error = None
     for ext in ['.xz', '.bz2', '.gz', '']:
         try:
-            socket = urllib.request.urlopen(url + ext)
+            socket = urllib.request.urlopen(url + ext, timeout=30)
         except urllib.error.HTTPError as e:
             error = e
         else:



View it on GitLab: https://salsa.debian.org/debian/piuparts/compare/81449510945344afa98c330bc7c0ede389277359...af510fd382e3bdf3bc10b8f628065d8e9656efe2

-- 
View it on GitLab: https://salsa.debian.org/debian/piuparts/compare/81449510945344afa98c330bc7c0ede389277359...af510fd382e3bdf3bc10b8f628065d8e9656efe2
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/piuparts-devel/attachments/20200117/8c4de257/attachment.html>


More information about the Piuparts-devel mailing list