diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-03-30 01:31:27 +0200 |
---|---|---|
committer | Mattia Rizzolo <mattia@mapreri.org> | 2015-03-30 01:31:27 +0200 |
commit | 7017ce4ce2a5161bb11e96d250edf3e722a70cea (patch) | |
tree | b389e0e6ae2738a0f12c36f5334bf8bafb110fa0 /bin/reproducible_notes.py | |
parent | 09cc9bcce0ef6a7e436499ce8980c2ac22669132 (diff) | |
download | jenkins.debian.net-7017ce4ce2a5161bb11e96d250edf3e722a70cea.tar.xz |
reproducible: move the really_ftbfs quering+dispalying where it should stay: in the indexes, as a section of the FTBFS pages
Diffstat (limited to 'bin/reproducible_notes.py')
-rwxr-xr-x | bin/reproducible_notes.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/bin/reproducible_notes.py b/bin/reproducible_notes.py index 16c39df6..e2b44f96 100755 --- a/bin/reproducible_notes.py +++ b/bin/reproducible_notes.py @@ -130,30 +130,9 @@ def store_notes(): log.info('Saved ' + str(len(to_add)) + ' notes in the database') -def really_ftbfs_packages(): - query = 'SELECT s.id, s.name, s.suite, s.architecture ' + \ - 'FROM notes AS n JOIN sources AS s ON n.package_id=s.id ' + \ - 'JOIN results AS r ON r.package_id=s.id ' + \ - 'WHERE n.issues NOT LIKE "%timestamps_from_cpp_macros%" ' + \ - 'AND r.status="FTBFS"' - result = sorted(query_db(query), key=lambda x: x[1]) - log.info('') - log.info('') - log.info('Following there are a list of package which FTBFS in our ' + - 'current setup, but does not have the tag ' + - 'timestamps_from cpp_macros, i.e. they are real FTBFS.') - log.info('') - for pkg in result: - log.info(pkg[1] + '\t' + REPRODUCIBLE_URL + '/' + pkg[2] + '/' + - pkg[3] + '/' + pkg[1]) - log.info('') - log.info('For a total of ' + str(len(result)) + ' packages') - - if __name__ == '__main__': notes = load_notes() issues = load_issues() store_issues() drop_old_issues() store_notes() - really_ftbfs_packages() |