summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_common.py
AgeCommit message (Collapse)AuthorFilesLines
2015-03-01reproducible: move buildinfo files under a suite/arch-named directory, e.g. ↵Mattia Rizzolo1-2/+2
/buildinfo/sid/amd64
2015-03-01reproducible: common: update pkg_has_buildinfo to the new db schema + ↵Mattia Rizzolo1-2/+5
support multi-suite/architecture (defaulting to sid/amd64)
2015-03-01reproducible: common: catch OSError EEXISTS while creating directories in ↵Mattia Rizzolo1-1/+6
write_html_page()
2015-02-27reproducible: common: add the array containing tested architectures (only ↵Mattia Rizzolo1-0/+2
amd64 for now)
2015-02-26reproducible: common: update the init querying to the new schema, querying ↵Mattia Rizzolo1-5/+11
data only for sid
2015-02-26reproducible: common: add the array containing tested suites (only sid for now)Mattia Rizzolo1-0/+3
2015-02-23reproducible: new page 'repo_stats'Holger Levsen1-0/+1
2015-02-18reproducible: common.py: catch errors in query_db() and print the guilty queryMattia Rizzolo1-1/+5
2015-02-18reproducible: commmon: do not fail here if the database is new. Jobs will ↵Mattia Rizzolo1-6/+20
fail anyway later
2015-02-18reproducible: common: also commit() changes to the db in query_db()Mattia Rizzolo1-0/+1
2015-02-16reproducible: sort pkg_stats before statsHolger Levsen1-1/+1
2015-02-16reproducible: fixup 3ae0af9Mattia Rizzolo1-1/+1
2015-02-16reproducible: common, correctly use '#' for bugs without patch in ↵Mattia Rizzolo1-1/+1
get_trailing_icon()
2015-02-16reproducible: remove superflous debug print()sMattia Rizzolo1-2/+0
2015-02-16Fix typoReiner Herrmann1-1/+1
2015-02-15reproducible: common: speed up get_bugs() by creating two ↵Mattia Rizzolo1-5/+30
bugs_have_patches() and are_virtual_packages(), plural version of existing methods, thus avoiding hundred of udd queries on every run
2015-02-15reproducible: move get_trailing_icon() from _html_notes to commonMattia Rizzolo1-0/+16
2015-02-15reproducible: common: add a package_has_notes() functionMattia Rizzolo1-0/+8
2015-02-15reproducible: common: handle the case where print_critical_message has to ↵Mattia Rizzolo1-2/+5
print something different than a simple string
2015-02-14reproducible: add a new index_no_notes page, listing packages without any ↵Mattia Rizzolo1-0/+1
notes against them.
2015-02-09reproducible: credit Holger in *py scripts, as they are based on his work. + ↵Mattia Rizzolo1-1/+2
change license GPL-2+ → GPL-2
2015-02-09reproducible: UDD is not critical in this infrastucture, let it fail nicely ↵Mattia Rizzolo1-3/+22
as much as possible In particular: * missing network connection is fine * errors on the udd part are fine * quite everything is fine just, every query will cause a fake empty response, and this will be logged as error.
2015-02-09Reverting the last two commitsMattia Rizzolo1-2/+1
2015-02-08reproducible: and you must try and try... and really better except properlyHolger Levsen1-1/+2
2015-02-08reproducible: initialize udd db connection only when also querying uddHolger Levsen1-1/+1
2015-02-03reproducible: add 'and others' to copyright noticeHolger Levsen1-1/+1
2015-01-19reproducible: _html_packages: better handling of exceptionsMattia Rizzolo1-1/+7
2015-01-17reproducible: fix typo in a templateMattia Rizzolo1-1/+1
2015-01-16reproducible: add some infos for the user about the # andMattia Rizzolo1-3/+5
+ signs
2015-01-16reproducible: drop more /userContent things from urls, they are not needed ↵Mattia Rizzolo1-7/+7
anymore
2015-01-16reproducible: also move the import psycopg2 to _common.pyMattia Rizzolo1-1/+2
2015-01-16reproducible: move some functions to _common.pyMattia Rizzolo1-3/+85
2015-01-15reproducible: stop treating creating .buildinfo files specially (as every ↵Holger Levsen1-21/+4
build creates it nowadays)
2015-01-15reproducible: add a pkg_has_buildinfo common function, to avoid code duplicationMattia Rizzolo1-2/+19
2015-01-15reproducible: change the way the footpage info are passed. Add ↵Mattia Rizzolo1-4/+14
html_foot_page_buildinfo_note template
2015-01-14pbuilder: common.py: strip out epoch also when checking for buildinfo while ↵Mattia Rizzolo1-1/+2
linking icon <-> status
2015-01-13reproducible: use /var/lib/jenkins/reproducible.db instead of the ↵Mattia Rizzolo1-1/+1
userContent/ one
2015-01-11reproducible: common: add a strip_epoch() functionMattia Rizzolo1-0/+15
2015-01-11reproducible: fix typo in a commentMattia Rizzolo1-1/+1
2015-01-11reproducible: set a correct comment in the heads of *py scriptsMattia Rizzolo1-2/+3
2015-01-11reproducible: common forgot a slash in ISSUES_URI...Mattia Rizzolo1-1/+1
2015-01-11reproducible: common.py: add join_status_icon()Mattia Rizzolo1-0/+24
2015-01-11reproducible: common.py: make possible to do not write the very last footer ↵Mattia Rizzolo1-2/+5
in write_html_page()
2015-01-11reproducible: common.py: add a bunch of new variablesMattia Rizzolo1-3/+15
2015-01-09fixup previous commit, thanks mapreri, handing back the tissueHolger Levsen1-1/+1
2015-01-09reproducible: extend copyright to 2015 (but not plainly to current year)Holger Levsen1-2/+2
2015-01-09reproducible: use only one digit for percentHolger Levsen1-2/+2
2015-01-09reproducible: update links after apache change. strip the leading ↵Mattia Rizzolo1-22/+22
/userContent where possible
2015-01-08fix typoHolger Levsen1-1/+1
2015-01-08reproducible: fix TypeError with wheezy's pythonMattia Rizzolo1-2/+2