* [PATCH] insane.bbclass:WARNING: QA Issue: xxx doesn't match the [a-z0-9.+-]+ regex
@ 2013-08-21 6:28 yaoxp
2013-08-28 23:18 ` Andrei Gherzan
0 siblings, 1 reply; 2+ messages in thread
From: yaoxp @ 2013-08-21 6:28 UTC (permalink / raw)
To: openembedded-core
Will offer the following warning when there are upper case letters in the BB file name:
WARNING: QA Issue: xxx doesn't match the [a-z0-9.+-]+ regex
Is there such a regulation in yocto that there can't be upper case letters in the BB file name ?
Signed-off-by: Yao Xinpan <yaoxp@cn.fujitsu.com>
---
meta/classes/insane.bbclass | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 336beaa..4042e1e 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -776,8 +776,8 @@ python do_package_qa () {
testmatrix = d.getVarFlags("QAPATHTEST")
import re
- # The package name matches the [a-z0-9.+-]+ regular expression
- pkgname_pattern = re.compile("^[a-z0-9.+-]+$")
+ # The package name matches the [A-Za-z0-9.+-]+ regular expression
+ pkgname_pattern = re.compile("^[A-Za-z0-9.+-]+$")
g = globals()
walk_sane = True
@@ -804,7 +804,7 @@ python do_package_qa () {
# Check package name
if not pkgname_pattern.match(package):
package_qa_handle_error("pkgname",
- "%s doesn't match the [a-z0-9.+-]+ regex\n" % package, d)
+ "%s doesn't match the [A-Za-z0-9.+-]+ regex\n" %
+ package, d)
path = "%s/%s" % (pkgdest, package)
if not package_qa_walk(path, warnchecks, errorchecks, skip, package, d):
--
1.7.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] insane.bbclass:WARNING: QA Issue: xxx doesn't match the [a-z0-9.+-]+ regex
2013-08-21 6:28 [PATCH] insane.bbclass:WARNING: QA Issue: xxx doesn't match the [a-z0-9.+-]+ regex yaoxp
@ 2013-08-28 23:18 ` Andrei Gherzan
0 siblings, 0 replies; 2+ messages in thread
From: Andrei Gherzan @ 2013-08-28 23:18 UTC (permalink / raw)
To: yaoxp; +Cc: openembedded
[-- Attachment #1: Type: text/plain, Size: 512 bytes --]
On Wed, Aug 21, 2013 at 9:28 AM, yaoxp <yaoxp@cn.fujitsu.com> wrote:
> Will offer the following warning when there are upper case letters in the
> BB file name:
> WARNING: QA Issue: xxx doesn't match the [a-z0-9.+-]+ regex
>
> Is there such a regulation in yocto that there can't be upper case letters
> in the BB file name ?
>
It used to be a bug in opkg. Isn't that still reproducible? I didn't test
it a while ago.
Here is the link: https://bugzilla.yoctoproject.org/show_bug.cgi?id=3139
ag
[-- Attachment #2: Type: text/html, Size: 1047 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-08-28 23:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-21 6:28 [PATCH] insane.bbclass:WARNING: QA Issue: xxx doesn't match the [a-z0-9.+-]+ regex yaoxp
2013-08-28 23:18 ` Andrei Gherzan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox