Re: [openstack-dev] Divergence of *-specs style checking

2014-05-20 Thread Alexis Lee
Yuriy Taraday said on Tue, May 20, 2014 at 01:37:29PM +0400: > On Mon, May 19, 2014 at 8:38 PM, Alexis Lee wrote: > > Potentially the TITLES structure could > > be read from a per-project YAML file and the test itself could be drawn > > from some common area? > > I think you can get that data fro

Re: [openstack-dev] Divergence of *-specs style checking

2014-05-20 Thread Yuriy Taraday
Great idea! On Mon, May 19, 2014 at 8:38 PM, Alexis Lee wrote: > Potentially the TITLES structure could > be read from a per-project YAML file and the test itself could be drawn > from some common area? > I think you can get that data from template.rst file by parsing it and analyzing the tree.

Re: [openstack-dev] Divergence of *-specs style checking

2014-05-19 Thread Joe Gordon
On Mon, May 19, 2014 at 9:38 AM, Alexis Lee wrote: > We're seeing the spread of various *-specs projects now, which is great > to see. Some of these (nova, neutron and tripleo) include a Python unit > test (tests/test_titles.py) to check the specs follow the template. The > test has been copy-pas

Re: [openstack-dev] Divergence of *-specs style checking

2014-05-19 Thread Joshua Harlow
38 AM To: "OpenStack Development Mailing List (not for usage questions)" Subject: [openstack-dev] Divergence of *-specs style checking >We're seeing the spread of various *-specs projects now, which is great >to see. Some of these (nova, neutron and tripleo) include a Python unit

[openstack-dev] Divergence of *-specs style checking

2014-05-19 Thread Alexis Lee
We're seeing the spread of various *-specs projects now, which is great to see. Some of these (nova, neutron and tripleo) include a Python unit test (tests/test_titles.py) to check the specs follow the template. The test has been copy-pasted between projects and it's diverging already. Nova has a c