view README.creole @ 27:cdab667c6abb

Delete Code Duplication and Clean Up. * The search for the status does not require the "-1". * If the parameter you are looking for is not available in the tracker, an error message is issued and the program terminates, to avoid incorrect entries in the database
author Magnus Schieder <mschieder@intevation.de>
date Tue, 13 Nov 2018 21:04:22 +0100
parents 7a523e13fcb3
children 916fa83b4144
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_demo3.py c3.py
cp examples/config3.ini .
# change config3.ini
./c3.py config3.ini
# create or change some issues
./c3.py config3.ini

# to inspect the database contents
sqlite3 demo3.db 'select * from issues;'

./display_issues_demo.py config3.ini >demo3.html
chromium demo3.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."
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)