]> code.ossystems Code Review - openembedded-core.git/commit
lib/oe/recipeutils: fix invalid character detection in validate_pn()
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Sun, 18 Sep 2016 20:08:12 +0000 (08:08 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 19 Sep 2016 08:06:52 +0000 (09:06 +0100)
commitc5d5a1baf98a11676537fb5e9f8ec4409e30c1fd
treefb5e26c38575c5b8f4cf54741b61fd5b3508c05e
parent78c672a72f49c4b6cfd8c247efcc676b0ba1681a
lib/oe/recipeutils: fix invalid character detection in validate_pn()

* validate_pn() is supposed to protect against invalid characters, fix
  the function so that it actually does (unanchored regex strikes
  again...)
* However, now that the function is enforcing the restrictions, we do
  still want to allow + in recipe names (e.g. "gtk+")

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/recipeutils.py