comparison display_issues.py @ 17:adca5b3780d2

Add collecting no-prio issues. Restructure. * Move usage examples from collect_issues.py to examples/. Also add a section about this to the readme. This should make it easier to understand how it all works together. As we have two examples now, hardcode the database filenames. * Add a function to create the necessary database command from a list of columns. This makes it easier to work with tracker that have customized their priorities, * Add an example how to collect no-prio issues in a database. Note that the display part is not included. * Cleanup roundup_content_data by removing db file name suggestions and unused "reference db" command. This could be re-added for specific installations if they need it, however it probably should be separated as configuration.
author Bernhard Reiter <bernhard@intevation.de>
date Mon, 09 Jul 2018 12:28:28 +0200
parents b5f7a439bddd
children 3bb3d9a9f1b7
comparison
equal deleted inserted replaced
16:5c24c116ba1f 17:adca5b3780d2
94 cgitb.enable() 94 cgitb.enable()
95 #spit out HTML file directly, thus no need to give headers to the server 95 #spit out HTML file directly, thus no need to give headers to the server
96 #print("Content-Type: text/html") 96 #print("Content-Type: text/html")
97 #print() 97 #print()
98 98
99 render_db_stats_as_html(rcd.DATABASE_DEMO, rcd.SELECT_ALL) 99 render_db_stats_as_html("./demo1.db", rcd.SELECT_ALL)
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)