]> code.ossystems Code Review - openembedded-core.git/commit
yocto-compat-layer.py: allow README with suffix
authorPatrick Ohly <patrick.ohly@intel.com>
Tue, 27 Jun 2017 15:33:42 +0000 (17:33 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 27 Jul 2017 21:35:05 +0000 (22:35 +0100)
commit0abc29f135d7f870168d9676395f3a4bb77174b8
tree2c0d46c27b8330da5d05c350c13325833a830595
parentda18bea6808aaddf3fa3fe72ac7e2d87d7e78b95
yocto-compat-layer.py: allow README with suffix

It may be useful to append a suffix denoting the file format. For
example, README.rst is rendered differently when viewed on Github, and
also helps editors to switch to a mode more suitable for the format.

The tests uses a file pattern to find the README file(s) and treats
the one with the shortest name as the main one which must not be
empty.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
scripts/lib/compatlayer/cases/common.py