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

Function testChanges

dev-tools/scripts/smokeTestRelease.py:359–370  ·  view source on GitHub ↗
(version, changesURLString)

Source from the content-addressed store, hash-verified

357
358 # Test trust (this is done with the real users config)
359 run('gpg --import %s' % (keysFile),
360 '%s/solr.gpg.trust.import.log' % tmpDir)
361 print(' verify trust')
362 logFile = '%s/solr.%s.gpg.trust.log' % (tmpDir, artifact)
363 run('gpg --display-charset utf-8 --verify %s %s' % (sigFile, artifactFile), logFile)
364 # Forward any GPG warnings:
365 with open(logFile) as f:
366 for line in f.readlines():
367 if line.lower().find('warning') != -1:
368 print(' GPG: %s' % line.strip())
369
370 # Make sure to shutdown the GPG agent at the end
371 stopGpgAgent(gpgHomeDir, logFile)
372
373def stopGpgAgent(gpgHomeDir, logFile):

Callers 1

checkSigsFunction · 0.85

Calls 3

getDirEntriesFunction · 0.85
checkChangesContentFunction · 0.85
loadFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…