MCPcopy Create free account
hub / github.com/apache/solr / checkAllJARs

Function checkAllJARs

dev-tools/scripts/smokeTestRelease.py:202–217  ·  view source on GitHub ↗
(topDir, gitRevision, version)

Source from the content-addressed store, hash-verified

200 raise RuntimeError('%s is missing Implementation-Version inside its META-INF/MANIFEST.MF' % desc)
201
202 notice = decodeUTF8(z.read(NOTICE_FILE_NAME))
203 license = decodeUTF8(z.read(LICENSE_FILE_NAME))
204
205 if SOLR_LICENSE is None or SOLR_NOTICE is None:
206 raise RuntimeError('BUG in smokeTestRelease!')
207 if notice != SOLR_NOTICE:
208 raise RuntimeError('%s: %s contents doesn\'t match main NOTICE.txt' % \
209 (desc, NOTICE_FILE_NAME))
210 if license != SOLR_LICENSE:
211 raise RuntimeError('%s: %s contents doesn\'t match main LICENSE.txt' % \
212 (desc, LICENSE_FILE_NAME))
213
214
215def normSlashes(path):
216 return path.replace(os.sep, '/')
217
218
219def checkAllJARs(topDir, gitRevision, version):
220 print(' verify JAR metadata/identity/no javax.* or java.* classes...')

Callers 2

verifyBinaryUnpackedFunction · 0.85
checkMavenFunction · 0.85

Calls 5

normSlashesFunction · 0.85
noJavaPackageClassesFunction · 0.85
checkJARMetaDataFunction · 0.85
walkMethod · 0.45
findMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…