Commit Graph

6 Commits

Author SHA1 Message Date
Stephen Finucane b7bb0f1e08 Integrate a setuptools command
Add a 'build_reno' setuptools command. 'skipsdist' is removed from
'tox', because there's no reason not to run this step as part of tox.

Change-Id: I49b659948f35381a44e2fb5f91dd6bf9e8ef619e
2018-04-11 09:26:36 +01:00
Rajath Agasthya 4003fc1321 Allow users to change prelude section name
Convert note template to a format string. Also include prelude
section in the report generated and update docs.

Closes-Bug: #1698203
Change-Id: I7bef68bfb518dd8554d56cb200f2844e7d395fc8
2017-06-30 17:31:23 -07:00
Stephen Finucane 18df043b5a Move notesdir default to 'defaults' module
We're going to use this shortly.

Change-Id: I7382ee143c7fb19b19e52ac6c37960242fde8628
2017-06-15 14:33:18 +01:00
Doug Hellmann 82c8025e2e define Config class
Define a class to hold all of the configuration settings, with methods
to read a configuration file and to change the option values based on
command line arguments.

Change-Id: I70b3ebdb5f5c3cc6a9386ae947aaeeb912bae39c
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-07-22 17:56:30 -04:00
Ian Cordasco 750bdc021b Add YAML configuration parsing
While discussing I7539fdeada14a73ae4e18a125bb0e3947f08e8d1 Doug and
Harry realized that it would be much better if some of these values
could be specified in a config file, whether INI or YAML.

This adds a simple function to allow options to be specified in the
config file named "config.yml" in the --rel-notes-dir.

Change-Id: Ie25e1eb3da66cc627d93af585b0893469d6a7b2e
2016-07-22 17:56:30 -04:00
Doug Hellmann 058e6bb8eb move some default settings to a shared module
Change-Id: Ifcac34dd5c561c408d7646d1eab85884c68fd456
2015-09-21 02:22:24 +00:00