check a header by opening it and comparing the results to the name and arch we believe it to be for. if it fails raise URLGrabError(-1)
take a package, check it out by trying to open it, return 1 if it’s good return 0 if it’s not
take a package, check it’s sigs, return 0 if they are all fine, return 1 if the gpg key can’t be found, 2 if the header is in someway damaged, 3 if the key is not trusted, 4 if the pkg is not gpg or pgp signed
checks if a computerhand back signature information and an error code
Bases: gzip.GzipFile
Bases: rpmUtils.oldUtils.RPM_Base_Work
for operating on hdrs in and out of the rpmdb if the first arg is a string then it’s a filename otherwise it’s an rpm hdr
This should operate on groups of headers/matches/etc in the rpmdb - ideally it will operate with a list of the Base objects above, so I can refer to any one object there not sure the best way to do this yet, more thinking involved
hands back a list of Header_Work objects
pass type of check you want to occur, default is to have them off