support rst format not wrapped in yaml for notes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
reno |
New
|
Wishlist
|
Unassigned |
Bug Description
It would be nice to support RST as a file format without having to wrap it in YAML. To do that a note file would be limited to a single section. We could put the section name in the filename (that format can be different because the extension will be different) or we could use a field-table to set metadata at the top of the RST file (although that will be prone to be left out).
Someone might then say: reno new --format rst --section foo blah
and get an output file with blah-foo-UID.rst containing the default template for the foo section (based on the global default template).
The new command needs the --format and --section options.
The logic for parsing a filename needs to allow for the section name to exist.
The scanner needs to be updated to look for files ending in .rst in addition to the current files examined. If it turns them into a dictionary like the YAML files we shouldn't need a lot of additional changes.
Changed in reno: | |
importance: | Undecided → Wishlist |
The bug tracker for reno has moved to storyboard: https:/ /storyboard. openstack. org/#!/ project/ 933