* [gentoo-commits] proj/portage:master commit in: pym/repoman/modules/scan/ebuild/
@ 2016-04-30 9:13 Brian Dolbec
2016-05-03 6:11 ` [gentoo-commits] proj/portage:repoman " Brian Dolbec
0 siblings, 1 reply; 3+ messages in thread
From: Brian Dolbec @ 2016-04-30 9:13 UTC (permalink / raw
To: gentoo-commits
commit: 94472883f86338c8c877bfc3af57d4d6815915ed
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 30 09:01:24 2016 +0000
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Sat Apr 30 09:01:24 2016 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=94472883
repoman/modules/.../ebuild.py: Add InvalidPackageName exception trap bug 581598
This adds the "ebuild.invalidname" qa notice for the ebuild.
X-Gentoo-bug: 581598
X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=581598
pym/repoman/modules/scan/ebuild/ebuild.py | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/pym/repoman/modules/scan/ebuild/ebuild.py b/pym/repoman/modules/scan/ebuild/ebuild.py
index 7b31fcd..28cb8b4 100644
--- a/pym/repoman/modules/scan/ebuild/ebuild.py
+++ b/pym/repoman/modules/scan/ebuild/ebuild.py
@@ -14,6 +14,7 @@ from repoman.qa_data import no_exec, allvars
from repoman._portage import portage
from portage import os
from portage.const import LIVE_ECLASSES
+from portage.exception import InvalidPackageName
pv_toolong_re = re.compile(r'[0-9]{19,}')
@@ -200,6 +201,10 @@ class Ebuild(ScanBase):
fuse.set(False, ignore_InvalidState=True)
self.qatracker.add_error("ebuild.output", os.path.join(xpkg, y))
continue
+ except InvalidPackageName:
+ fuse.set(False, ignore_InvalidState=True)
+ self.qatracker.add_error("ebuild.invalidname", os.path.join(xpkg, y))
+ continue
if not portage.eapi_is_supported(myaux["EAPI"]):
fuse.set(False, ignore_InvalidState=True)
self.qatracker.add_error("EAPI.unsupported", os.path.join(xpkg, y))
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/scan/ebuild/
2016-04-30 9:13 [gentoo-commits] proj/portage:master commit in: pym/repoman/modules/scan/ebuild/ Brian Dolbec
@ 2016-05-03 6:11 ` Brian Dolbec
0 siblings, 0 replies; 3+ messages in thread
From: Brian Dolbec @ 2016-05-03 6:11 UTC (permalink / raw
To: gentoo-commits
commit: 94472883f86338c8c877bfc3af57d4d6815915ed
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 30 09:01:24 2016 +0000
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Sat Apr 30 09:01:24 2016 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=94472883
repoman/modules/.../ebuild.py: Add InvalidPackageName exception trap bug 581598
This adds the "ebuild.invalidname" qa notice for the ebuild.
X-Gentoo-bug: 581598
X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=581598
pym/repoman/modules/scan/ebuild/ebuild.py | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/pym/repoman/modules/scan/ebuild/ebuild.py b/pym/repoman/modules/scan/ebuild/ebuild.py
index 7b31fcd..28cb8b4 100644
--- a/pym/repoman/modules/scan/ebuild/ebuild.py
+++ b/pym/repoman/modules/scan/ebuild/ebuild.py
@@ -14,6 +14,7 @@ from repoman.qa_data import no_exec, allvars
from repoman._portage import portage
from portage import os
from portage.const import LIVE_ECLASSES
+from portage.exception import InvalidPackageName
pv_toolong_re = re.compile(r'[0-9]{19,}')
@@ -200,6 +201,10 @@ class Ebuild(ScanBase):
fuse.set(False, ignore_InvalidState=True)
self.qatracker.add_error("ebuild.output", os.path.join(xpkg, y))
continue
+ except InvalidPackageName:
+ fuse.set(False, ignore_InvalidState=True)
+ self.qatracker.add_error("ebuild.invalidname", os.path.join(xpkg, y))
+ continue
if not portage.eapi_is_supported(myaux["EAPI"]):
fuse.set(False, ignore_InvalidState=True)
self.qatracker.add_error("EAPI.unsupported", os.path.join(xpkg, y))
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] proj/portage:master commit in: pym/repoman/modules/scan/ebuild/
@ 2016-05-15 23:51 Brian Dolbec
0 siblings, 0 replies; 3+ messages in thread
From: Brian Dolbec @ 2016-05-15 23:51 UTC (permalink / raw
To: gentoo-commits
commit: 4175b9b3b39aa0f502921435bdae34a74679e53b
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Sun May 8 20:07:02 2016 +0000
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Sat May 14 18:29:40 2016 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=4175b9b3
repoman Comment out the $ID header check for now. bug 579460
Leave the code in place for now, it may be repo config enabled later.
pym/repoman/modules/scan/ebuild/checks.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pym/repoman/modules/scan/ebuild/checks.py b/pym/repoman/modules/scan/ebuild/checks.py
index 8cdc230..fb3e019 100644
--- a/pym/repoman/modules/scan/ebuild/checks.py
+++ b/pym/repoman/modules/scan/ebuild/checks.py
@@ -108,8 +108,8 @@ class EbuildHeader(LineCheck):
return errors.COPYRIGHT_ERROR
elif num == 1 and line.rstrip('\n') != self.gentoo_license:
return errors.LICENSE_ERROR
- elif num == 2 and line.rstrip('\n') != self.id_header:
- return errors.ID_HEADER_ERROR
+ #elif num == 2 and line.rstrip('\n') != self.id_header:
+ # return errors.ID_HEADER_ERROR
class EbuildWhitespace(LineCheck):
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-05-15 23:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-30 9:13 [gentoo-commits] proj/portage:master commit in: pym/repoman/modules/scan/ebuild/ Brian Dolbec
2016-05-03 6:11 ` [gentoo-commits] proj/portage:repoman " Brian Dolbec
-- strict thread matches above, loose matches on Subject: below --
2016-05-15 23:51 [gentoo-commits] proj/portage:master " Brian Dolbec
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox