Special case entity files

Build all manuals, if an entity file is changed, we cannot do include
checks right now if an entity file is changed.
Update list of special files to handle, remove obsolete test.py and add
top-level pom.xml

Change-Id: I2c139249bb97fbd43781fafefd9f72e3f663935e
This commit is contained in:
Andreas Jaeger 2014-05-17 17:47:12 +02:00
parent 0a5f6a54ca
commit cbcab05d2d
2 changed files with 8 additions and 4 deletions

View File

@ -100,14 +100,15 @@ Release notes
0.15 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 0.14
---- ----
* ``openstack-auto-commands``: Improved screen generation and swift * ``openstack-auto-commands``: Improved screen generation and swift
subcommand xml output. 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 -v output, special case building of localized high-availability
guide, fix for building changed identity-api repository. guide, fix for building changed identity-api repository.
* New command ``openstack-jsoncheck`` to check for niceness of JSON * 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) sys.exit(1)
special_files = [ special_files = [
"tools/test.py", # Top-Level pom.xml
"pom.xml",
# doc/pom.xml in openstack-manuals
"doc/pom.xml" "doc/pom.xml"
] ]
for f in modified_files: for f in modified_files:
if f in special_files: if f in special_files or f.endswith('.ent'):
if cfg.CONF.verbose: if cfg.CONF.verbose:
print("File %s modified, this affects all books." % f) print("File %s modified, this affects all books." % f)
return True return True