summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_notes.py
AgeCommit message (Collapse)AuthorFilesLines
2016-10-17reproducible debian: make python sql more sqlite/postgres agnosticValerie R Young1-6/+6
This commit fixes all the python script sql queries that required minimal editing to be syntactically correct for both sqlite and postgres. Almost all fixes consist of the removal of double quotes from query strings. NOTE: the following scripts expect the schedule table's primary key to autoincrement. Running reproducible_db_maintence.py on a postgres database will not add the necessary autoincrementing functionality at this time. The following script WILL run on the sqlite database but will fail on postgres database constructed from reproducible_db_maintence.py until this is fixed: reproducible_remote_scheduler.py reproducible_schedule.py Signed-off-by: Mattia Rizzolo <mattia@debian.org> Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-11Use popcon.source_package now that it's available in jessie-backportsXimin Luo1-3/+3
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-09-24reproducible Debian: more mampers (tm) for unicode date from popcon for the ↵Holger Levsen1-8/+11
notes job
2016-09-24reproducible Debian: ignore unicode errors with a bigger hammerHolger Levsen1-4/+4
2016-09-24reproducible Debian: ignore more unicode errorsHolger Levsen1-1/+4
2016-09-24reproducible Debian. just ignore unicode errors onlyHolger Levsen1-1/+1
2016-09-24reproducible Debian: let's beat the notes job in shape, to make it deal ↵Holger Levsen1-7/+10
gracefully with broken popcon data
2016-07-28reproducible debian: add template for notes pagesValerie R Young1-22/+17
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-24reproducible debian: decouple navigation and page writing logicValerie R Young1-4/+5
Decoupling the navigation and page writing logic made it easier to do the following: - fix a bug introduced by adding headers at the top of the mainbody div (fixed in this commit) - make package pages to use the same structure as all other pages that contain a left navigation (to do in future) Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-17reproducible debian: add main navigation highlighting to python pagesValerie R Young1-2/+3
Added the correct navigation highlighting to the following pages: notes, no notes, tested in the last 24 hours, tested in the last 48 hours, all packages, notifications enabled, breakages, issue pages, scheduled, and maintainers page. Signed-off-by: Mattia Rizzolo <mattia@debian.org> Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-06-18reproducible debian: notes: show the bug title near the bug numberMattia Rizzolo1-1/+6
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-06-15reproducible debian: explain it's the 1/4 most popular within the issueHolger Levsen1-2/+3
2016-06-14reproducible debian: more descriptive names for issue score columnsXimin Luo1-4/+9
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-06-14reproducible debian: also decorate popular packages in per-issue pagesXimin Luo1-9/+20
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-06-11reproducible debian: index_issues: some visual fixesXimin Luo1-1/+1
- replace underscore with space so browsers can wrap it better - better explanation of package alt text Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-06-11reproducible debian: replace underscore with space so browsers can wrap it ↵Ximin Luo1-1/+1
better Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-06-11reproducible debian: don't ignore packages with 0 popconXimin Luo1-1/+3
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-06-11reproducible debian: add popcon scores to mouseover text, and underline 1/4 ↵Ximin Luo1-1/+8
of the most popular ones Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-06-11reproducible debian: fix the ordering of score functions using OrderedDict, ↵Ximin Luo1-5/+6
round sqrt to int Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-06-11reproducible debian: Have index_issues also show total popcon scores of each ↵Ximin Luo1-14/+20
issue We add extra columns in the table, that indicate: 1. the total popcon of each issue's packages 2. the total sqrt-popcon of that 3. the count of that, as before We also change the default sort order to be (1) instead of (3) as before. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-06-08reproducible debian: bug fix: only debian html belongs in tests.r-b.org/debianValerie R Young1-4/+4
2016-06-08reproducible debian: update urls to include tests.r-b.org/debian directoryValerie R Young1-4/+4
2016-05-18reproducible debian: right align table cells by default, provide css classes ↵Holger Levsen1-11/+11
for left and center alignment
2016-05-07s#https://anonscm.debian.org/cgit#https://anonscm.debian.org/git#gHolger Levsen1-1/+1
2016-01-01reproducible armhf: enable testing of testingHolger Levsen1-2/+0
2015-12-18reproducible debian armhf: also test experimentalHolger Levsen1-1/+1
2015-12-09reproducible: refactor and better point out notes.gitHolger Levsen1-6/+11
2015-10-09reproducible: show packages in depwait state on issue pagesHolger Levsen1-1/+1
2015-10-04reproducible: explain that notes are only usually targeted at unstable/amd64Holger Levsen1-3/+3
2015-10-04reproducible: rename join_status_icon() to get_status_icon() and drop unused ↵Holger Levsen1-1/+1
code
2015-08-26reproducible: only build note related pages for suite+architectures that are ↵Holger Levsen1-0/+2
tested
2015-08-15reproducible: fix all users of gen_packages_html() after the refactoring of itMattia Rizzolo1-2/+2
notable changes: * gen_packages_html() in common.sh got renamed to the singular version gen_package_html() and now accept only one argument (a package name) + thus reproducible_blacklist.sh got fixed to pass one package at time + this greatly semplify the code, by removing *a lot* of crappy code * _html_all_packages.py really becomed a 2-liner, with part of its login being now either in _html_packages.py or removed.
2015-08-02reproducible: fix grammar: s#arches#archs#Holger Levsen1-1/+1
2015-07-08reproducible: html_{notes,packages}: avoid collecting garbage 3 times in a ↵Mattia Rizzolo1-1/+1
row. One is enough
2015-07-05reproducible: html_notes: in the issue view, sort packages without bugs ↵Mattia Rizzolo1-1/+1
before the ones with
2015-07-04reproducible: notes: enable the automatic clean up of old issue pagesMattia Rizzolo1-2/+1
2015-07-04reproducible: html_notes: also clean up old issues pageMattia Rizzolo1-0/+19
2015-06-14reproducible: fix "Created $count issue pages for $suite" counterReiner Herrmann1-1/+1
2015-05-16reproducible: be explicit: notes are targeted at packages in unstableHolger Levsen1-3/+3
2015-05-11fixup: fixup: reproducible: split notes and no_notes pages into suite ↵Holger Levsen1-2/+2
specific ones
2015-05-11fixup: reproducible: split notes and no_notes pages into suite specific onesHolger Levsen1-2/+2
2015-04-21reproducible: html_notes: directly link the "new" suite-relative issue pages ↵Mattia Rizzolo1-2/+2
instead of the old ones
2015-04-21reproducible: html_notes: use link_package() in the issues view to generate ↵Mattia Rizzolo1-2/+1
the html link of a package, to gain the new tooltip thinghy
2015-04-16reproducible: move the generation of index_notes and index_no_notes from ↵Mattia Rizzolo1-78/+2
_homl_notes to _html_indexes
2015-04-05reproducible: html_notes: fix indentation. I'm not even sure why python ↵Mattia Rizzolo1-6/+6
didn't complain loudly
2015-04-04reproducible: html_notes: rebuild FTBFS indexes page after updating the notesMattia Rizzolo1-0/+4
2015-03-29reproducible: html_notes: quiet down the outputMattia Rizzolo1-2/+4
2015-03-28reproducible: improve table layoutHolger Levsen1-1/+1
2015-03-28reproducible: provide suite specific views on issuesHolger Levsen1-17/+35
2015-03-15reproducible: deal with removed packages gracefullyHolger Levsen1-4/+8