[Openstack-docs] validate.py - images?

Andreas Jaeger aj at suse.com
Wed Sep 11 07:16:54 UTC 2013


On 09/11/2013 01:08 AM, Tom Fifield wrote:
> Just wondering - does validate.py's selective-build functionality deal
> with people only updating images?

It seems not to be the case since build_affected_books only checks xml
files:
 if (href.endswith('.xml') and
                        f not in file_exceptions and
                        os.path.abspath(href) in modified_files):
                        affected_books.append(book_root)
                        break

Christian, can't we remove the "href.endswith('.xml')" condition completely?

Andreas
-- 
 Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
  SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
    GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126



More information about the Openstack-docs mailing list