summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_html_packages.py
AgeCommit message (Collapse)AuthorFilesLines
2017-01-07reproducibe Debian: speed up cleaning old pagesValerie R Young1-14/+9
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-10-17reproducible debian: make python sql more sqlite/postgres agnosticValerie R Young1-8/+8
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-08-12reproducible Debian: Prefer .format over concatentation.Chris Lamb1-2/+7
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-08-12reproducible Debian: Ensure that we can always get back to "home" of this ↵Chris Lamb1-2/+3
package I forget what it's called in "Don't Make Me Think" but I keep trying to click this to get back to the "homepage" for this suite/arch/pkg combo. Signed-off-by: Chris Lamb <lamby@debian.org> Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-29reproducible debian: rename diffoscope results directory and clean pagesValerie R Young1-4/+34
Renamed from "diffoscope" to "diffoscope-results" to differentiate from package named "diffoscope". Also clean pages in new directory when packages disappear from database. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-29Revert "reproducible debian: fixup 43c5068: reproducible debian: switch ↵Holger Levsen1-5/+1
directory structure for diffoscope package pages" This reverts commit 1391976d917798646266601b06ae1c5b198d5d0a.
2016-07-29reproducible debian: fixup 43c5068: reproducible debian: switch directory ↵Holger Levsen1-1/+5
structure for diffoscope package pages
2016-07-29reproducible debian: switch directory structure for diffoscope package pagesValerie R Young1-4/+4
Package pages that show the diffoscope result by default in the main iframe should now be found at: RB_PKG/<suite>/<arch>/diffoscope/<package>.html instead of: RB_PKG/<suite>/<arch>/<package>/diffoscope.html Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-29reproducible debian: remove unwanted print statementValerie R Young1-1/+0
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-28reproducible: minor nitpickings about Val's last commitsHolger Levsen1-1/+1
2016-07-28reproducible debian: create arch specific history pages for packagesValerie R Young1-18/+41
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-28reproducible debian: add link for diffoscope results to every suite/archValerie R Young1-21/+85
Direct links to diffoscope results for every suite and arch on the package pages now exist. In order to do this, we publish a page that displays the diffoscope results in the iframe by default for each suite and arch (where diffoscope results exist). These pages can be found at: DEBIAN_URL/rb-pkg/{suite}/{arch}/{package}/diffoscope.html The default iframe, when navigating to the package page, remains the same (DEBIAN_URL/rb-pkg/{suite}/{arch}/{package}.html). Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-28reproducible debian: breakout package page navigation into seperate templateValerie R Young1-4/+10
Decoupling the mainbody and left navigation for package pages allows us to dry up some of the logic and css between package pages and all other pages that have a left navigation. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-24reproducible debian: make package page titles matchValerie R Young1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-24reproducible debian: decouple navigation and page writing logicValerie R Young1-2/+2
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-24reproducible debian: drop the 'schedule message' column from build history pagesMattia Rizzolo1-1/+1
we're not saving the scheduling message anymore, and by far most build don't have it anyway, so it's quite pointless to keep an empty column for it
2016-07-05reproducible debian: add template for project links in left navigationValerie R Young1-4/+6
Signed-off-by: Mattia Rizzolo <mattia@debian.org> Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-07-05reproducible debian: move python 'gen_status_link_icon' function to commonValerie R Young1-13/+0
Signed-off-by: Mattia Rizzolo <mattia@debian.org> Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-06-20reproducible debian: fix bug for default page viewValerie R Young1-1/+0
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-06-17reproducible debian: add notes about notes to package pageValerie R Young1-3/+42
On the package page, if there are no notes: - if the package is not reproducible, you will see a prompt encouraging the user to add notes - if the package is reproducible, you will see a congratulatory message. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-06-17reproducible debian: improve package page navigationValerie R Young1-143/+146
Changes made: - suite and arch specific details moved from the top of side bar to the suite and arch section - "notes" and "test history" (suite and arch agnostic) move to the top of side bar - hover text added to most links, starting with either "Go to:" (if the link takes you away from package page) or "Show:" (if the link opens a file in the iframe) - enabled notifications flag still on top left, by "Test Details" header reproducible debian: address mattia's code review comments Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-06-09debian reproducible: fix links to packages in 'testing' and 'unstable' on ↵Valerie R Young1-1/+1
package pages
2016-06-08reproducible debian: bug fix: only debian html belongs in tests.r-b.org/debianValerie R Young1-5/+5
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-1/+1
for left and center alignment
2016-05-17reproducible debian: remove '.debian.net' from nodenames on package test ↵Holger Levsen1-0/+7
history pages
2016-05-17reproducible debian: add icons to package test history pagesHolger Levsen1-0/+4
2016-05-14reproducible debian: restructure navigationHolger Levsen1-17/+4
2016-01-26reproducible Arch Linux: spell the projectHolger Levsen1-1/+1
2016-01-21s#reproducible.debian.net#tests.reproducible-builds.org#g in many but not ↵Holger Levsen1-2/+8
all places yet
2016-01-01reproducible armhf: enable testing of testingHolger Levsen1-6/+0
2015-12-18reproducible debian armhf: also test experimentalHolger Levsen1-3/+3
2015-12-09reproducible: save the schedule message in the db and show it in the "test ↵Mattia Rizzolo1-1/+1
history" table
2015-12-09reproducible: store in the db also the actual build host in stats_build, and ↵Mattia Rizzolo1-2/+2
rename the current "builder" field to "job", since it contains the jenkins job name and nummber
2015-12-07reproducible: rename debbindiff.(html|txt)(.gz|) files to diffoscope… filesHolger Levsen1-4/+4
2015-11-10reproducible: improve link titles at bottom of navigation menu of pkg pagesHolger Levsen1-3/+3
2015-11-09reproducible: fixup bb2e3d8 - add linebreakHolger Levsen1-1/+1
2015-11-09reproducible: add more links to Reproducible-builds.orgHolger Levsen1-1/+2
2015-10-13reproducible: rename 'Build history' to 'Test historyHolger Levsen1-1/+1
2015-10-09reproducible: html_packages: do not return before writing out the final .htmlMattia Rizzolo1-1/+0
2015-10-09reproducible: _html_packages: add a lost " in the htmlMattia Rizzolo1-1/+1
2015-10-09reproducible: Add a history page, with a table with all the builds done of ↵Mattia Rizzolo1-0/+34
that package. Link it in the rb-pkg pages.
2015-10-09reproducible: html_packages: don't bother me (at debug level) if you don't ↵Mattia Rizzolo1-2/+0
find a note file
2015-10-09reproducible: html_packages: no need to warn two times (at different log ↵Mattia Rizzolo1-1/+0
levels) about the same thing...
2015-10-04reproducible: remove link to same page in navigation menu of pkg pagesHolger Levsen1-3/+7
2015-10-04reproducible: refactor and fix status icons for all statiHolger Levsen1-17/+12
2015-10-04reproducible: rename join_status_icon() to get_status_icon() and drop unused ↵Holger Levsen1-2/+2
code
2015-10-04reproducible: fixup status icons in navigationHolger Levsen1-3/+2
2015-10-03reproducible: fix typoHolger Levsen1-1/+1
2015-10-03reproducible: show proper spoken stati on pkg pagesHolger Levsen1-7/+14