Skip to content
Commits on Source (2)
......@@ -38,6 +38,7 @@ piuparts (0.93) UNRELEASED; urgency=medium
- Link mail templates for filings from navigation menu.
- Drop references to "PTS" and use "tracker.d.o" instead.
- Add link to piuparts source package pages from known problem pages.
- Make generated graphs 4K ready.
- Minor cleanups.
* Use the new debhelper-compat(=11) notation and drop d/compat.
* CONTRIBUTING: explain never to directly push to the develop nor master
......
......@@ -1290,7 +1290,7 @@ class Section:
countsfile = os.path.join(self._section_directory, "counts.txt")
pngfile = os.path.join(self._output_directory, "states.png")
grdevices = importr('grDevices')
grdevices.png(file=pngfile, width=1600, height=900, pointsize=10, res=100, antialias="none")
grdevices.png(file=pngfile, width=3200, height=1800, pointsize=10, res=100, antialias="none")
r = robjects.r
states = self._binary_db.get_states()
active_states = self._binary_db.get_active_states()
......@@ -1763,7 +1763,7 @@ def make_bts_stats_graph(master_dir, out_dir):
countsfile = os.path.join(master_dir, "bts_stats.txt")
pngfile = os.path.join(out_dir, "images", "bts_stats.png")
grdevices = importr('grDevices')
grdevices.png(file=pngfile, width=1600, height=900, pointsize=10, res=100)
grdevices.png(file=pngfile, width=3200, height=1800, pointsize=10, res=100)
r = robjects.r
r('t <- (read.table("' + countsfile + '",sep=",",header=1,row.names=1))')
# make graph since day 1
......@@ -1867,7 +1867,7 @@ def main():
counter = 0
for section in section_names:
counter += 1
rows += ("<td><a href=\"/%s/\"><img src=\"/%s/states.png\" height=\"150\" width=\"266\" alt=\"Binary package states in %s\"></a></td>") % \
rows += ("<td><a href=\"/%s/\"><img src=\"/%s/states.png\" width=\"24%%\" alt=\"Binary package states in %s\"></a></td>") % \
(section, section, section)
if counter % 4 == 0:
rows += "</tr><tr>"
......