Merge "Special case entity files"

This commit is contained in:
Jenkins 2014-05-26 06:58:31 +00:00 committed by Gerrit Code Review
commit d3663e25e8
2 changed files with 8 additions and 4 deletions

View File

@ -100,14 +100,15 @@ Release notes
0.15
----
* ``openstack-doc-tools``: Output information about tested patch.
* ``openstack-doc-test``: Output information about tested patch,
special case entity files for book building.
0.14
----
* ``openstack-auto-commands``: Improved screen generation and swift
subcommand xml output.
* ``openstack-doc-tools``: Warn about non-breaking space, enhance
* ``openstack-doc-test``: Warn about non-breaking space, enhance
-v output, special case building of localized high-availability
guide, fix for building changed identity-api repository.
* New command ``openstack-jsoncheck`` to check for niceness of JSON

View File

@ -319,11 +319,14 @@ def check_modified_affects_all(rootdir):
sys.exit(1)
special_files = [
"tools/test.py",
# Top-Level pom.xml
"pom.xml",
# doc/pom.xml in openstack-manuals
"doc/pom.xml"
]
for f in modified_files:
if f in special_files:
if f in special_files or f.endswith('.ent'):
if cfg.CONF.verbose:
print("File %s modified, this affects all books." % f)
return True