7 Commits

Author SHA1 Message Date
Sean McGinnis
83ba960797 Update sphinx extension logging
Sphinx 1.6 deprecated using the application object to perform logging
and it will be removed in the upcoming 2.0 release. This updates our
extensions to use the recommended sphinx.util.logging instead.

Change-Id: Ibf9f1c84171b73bb620f8df9a26ae97a8545b4b2
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2018-10-16 21:35:30 -05:00
Doug Hellmann
8d0cc16a15 move the projects file loading code into a reusable module
Change-Id: I6f49b46875190c8790e059a1ead0c860eb3fd726
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-10-08 21:36:01 -04:00
Doug Hellmann
8d38d82b41 show deliverables in the order listed in the projects file
Use an ordered dictionary loader to maintain the order items appear in
the projects file so we can produce them in the same order in the
output.

Change-Id: I96707f96056cc94a34cf9f4b9edfb73f42f7bb27
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-01-11 16:32:35 -05:00
Doug Hellmann
446fc28df7 update to use python3 by default
Set tox to use python3 as the base python so that all of the
environments default to python3. Fix various issues with code associated
with the change to make it work under python 3.

Change-Id: I29f9514f83aa97740e55adddaeff76d0800135bc
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-03-15 17:38:07 -04:00
gengchc2
1d9b388bf1 Replaces yaml.load() with yaml.safe_load() for governance
Yaml.load() return Python object may be dangerous if you receive
a YAML document from an untrusted source such as the Internet.
The function yaml.safe_load() limits this ability to simple Python
objects like integers or lists.

Reference:
https://security.openstack.org/guidelines/dg_avoid-dangerous-input-parsing-libraries.html

Change-Id: Icf559f9c8b37c6f564c820fde79c85a77ba4f839
2017-03-10 01:05:29 +00:00
Tony Breeds
9a6273a4a1 Add support for UTF-8 Character's in team data
Change-Id: I59e26f5bec82a915d3063a21b0742f5e5fb5ccd3
2016-09-26 11:42:04 +10:00
Doug Hellmann
72b8b9a74d Build list of teams from YAML file
Render the YAML file contents as the list of official teams and create a
directive to render the list of projects with a given tag to avoid
having to update that data in two places.

Change-Id: I7c6effe6e440f2147f8c68df090152e716c38fba
2015-02-24 18:15:04 -05:00