#3 Make trigger configuration more flexible
Closed: Fixed None Opened 10 years ago by tflink.

The current trigger config is only in the settings.py which lives with the python code. While sensible for default config values, it needs to be able to be configured from /etc.

Change the config around so that it reads defaults from config.py (changing the name of the current settings.py) and overrides those defaults using /etc/taskotron-trigger/settings.py or ./conf/settings.py - similar to how the webapps handle configuration.

Also, create a settings.py.example in conf/ in git and change .gitignore to ignore conf/settings.py


This ticket had assigned some Differential requests:
D40

Closed by commit rTRGRd97c2a33ad2d.

Closed by commit rTRGR8b29118bf5d2.

Login to comment on this ticket.

Metadata