Mercurial > roundup-cc
view README.creole @ 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 | 5c24c116ba1f |
children | 3bb3d9a9f1b7 |
line wrap: on
line source
= Roundup Issue Collector Grab and display data from a http://roundup-tracker.org/ instance. It is Free Software, check out the file headers. === Example Run ./demo.py from a roundup-tracker to have a running tracker. {{{ cp examples/collect_demo1.py c1.py ./c1.py # create or change some issues ./c1.py # to inspect the database contents sqlite3 demo1.db 'select * from issues;' ./display_issues_demo.py >demo1.html chromium demo1.html }}} === Notes examples/collect_demo2.py builds database column names dynamically and tracks issues with priorities. The display part is still missing. When migrating to 3:99c68ebfb3b9, Nov 30 17:46:22 2015 you need to add the print statements for the content-type header to all of your cgi scripts. Bottledash may have a fork https://wald.intevation.org/hg/bottledash/file/tip/modules/web_view === Prerequisites Python v3, with build-in sqlite3 module. === Included http://d3js.org/ initially used with 3.5.5 """Library released under BSD license. Copyright 2015 Mike Bostock."