Lines Matching refs:package
28 from package import getPackageDescription
32 def verifyGitStatusFiles (package): argument
35 if len(package.gitStatus) > 1:
36 …messages.append(error(package.basePath, "Exactly one git status file must be present, found %s" % …
38 messages += verifyGitStatus(package)
42 def verifyGitLogFiles (package): argument
45 if len(package.gitLog) > 1:
46 …messages.append(error(package.basePath, "Exactly one git log file must be present, found %s" % len…
48 messages += verifyGitLog(package)
52 def verifyTestLogs (package, mustpass): argument
55 for testLogFile in package.testLogs:
56 messages += verifyTestLog(os.path.join(package.basePath, testLogFile), mustpass)
58 if len(package.testLogs) == 0:
59 messages.append(error(package.basePath, "No test log files found"))
63 def verifyPackage (package, mustpass): argument
66 messages += verifyStatement(package)
67 messages += verifyGitStatusFiles(package)
68 messages += verifyGitLogFiles(package)
69 messages += verifyPatches(package)
70 messages += verifyTestLogs(package, mustpass)
72 for item in package.otherItems:
73 messages.append(warning(os.path.join(package.basePath, item), "Unknown file"))
84 package = getPackageDescription(packagePath) variable
86 messages = verifyPackage(package, mustpass)