View Issue Details

IDProjectCategoryView StatusLast Update
0004335Talerobsolete componentpublic2016-03-31 21:59
ReporterChristian Grothoff Assigned ToMarcello Stanisci  
PrioritylowSeveritytextReproducibilityN/A
Status closedResolutionfixed 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Version0.0 
Target Version0.0Fixed in Version0.0 
Summary0004335: bank uses (hardcoded?) database 'talertest' which is odd
DescriptionFirst of all, hardcoding the database name everywhere in the code is probably a bad idea. OTOH, the user probably shouldn't be prompted to supply it all the time, so I think having a 'configure' option (--databasename=) would probably be ideal.

Second, the current default is also awkward, as 'test' is still used by the running system. I would suggest 'talerbank' as the default.

Ideally, we'd have such a more sane default, and configure _and_ runtime options to override the default.
TagsNo tags attached.

Activities

Marcello Stanisci

2016-03-23 14:09

reporter   ~0010321

Add file bank_project/settings.py.in with @tokentosubstitute@ wherever needed,
like in db's name field, so that the configure process will yield the final
settings.py as the user wishes

Marcello Stanisci

2016-03-31 15:44

reporter   ~0010342

How to add your --customoption to configure:

http://stackoverflow.com/questions/27416003/create-custom-configure-command-line-arguments

Marcello Stanisci

2016-03-31 16:11

reporter   ~0010343

fixed in d2685de..1d47c57

served with '--with-dbname' option

Issue History

Date Modified Username Field Change
2016-03-23 09:49 Christian Grothoff New Issue
2016-03-23 09:49 Christian Grothoff Status new => assigned
2016-03-23 09:49 Christian Grothoff Assigned To => Marcello Stanisci
2016-03-23 09:49 Christian Grothoff Priority normal => low
2016-03-23 09:49 Christian Grothoff Target Version 0.0 => 0.1
2016-03-23 14:09 Marcello Stanisci Note Added: 0010321
2016-03-31 15:44 Marcello Stanisci Note Added: 0010342
2016-03-31 16:11 Marcello Stanisci Note Added: 0010343
2016-03-31 16:11 Marcello Stanisci Status assigned => resolved
2016-03-31 16:11 Marcello Stanisci Resolution open => fixed
2016-03-31 18:30 Christian Grothoff Status resolved => closed
2016-03-31 21:59 Christian Grothoff Fixed in Version => 0.0
2016-03-31 21:59 Christian Grothoff Target Version 0.1 => 0.0
2022-08-23 20:26 Christian Grothoff Category bank (demonstrator) => py bank (demonstrator, obsolete)
2023-12-03 01:23 Christian Grothoff Category py bank (demonstrator, obsolete) => obsolete componet
2023-12-11 20:08 Florian Dold Category obsolete componet => obsolete component