reagent md5remote scan atoms in all branches
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@658 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
@@ -3,7 +3,7 @@ TODO list:
|
||||
- use depgraph generation function to generate dependencies
|
||||
- installPackages should pull conflicts depends too
|
||||
- find a way to better handle real smartapps deps
|
||||
- equo world, user should specify which branch to switch to
|
||||
- equo world, user should specify which branch to switch to (or without params: detect latest automatically, at the end write branch| to equo conf files)
|
||||
|
||||
|
||||
Project Status:
|
||||
|
||||
@@ -1246,11 +1246,14 @@ def database(options):
|
||||
# catch the names
|
||||
pkgs2check = []
|
||||
for pkg in mypackages:
|
||||
result = dbconn.atomMatch(pkg)
|
||||
if result[0] != -1:
|
||||
iatom = dbconn.retrieveAtom(result[0])
|
||||
ibranch = dbconn.retrieveBranch(result[0])
|
||||
pkgs2check.append((iatom,result[0],ibranch))
|
||||
result = dbconn.atomMatch(pkg, multiMatch = True, matchBranches = etpConst['branches'])
|
||||
if result[1] == 0:
|
||||
for idresult in result[0]:
|
||||
iatom = dbconn.retrieveAtom(idresult)
|
||||
ibranch = dbconn.retrieveBranch(idresult)
|
||||
pkgs2check.append((iatom,idresult,ibranch))
|
||||
else:
|
||||
print_warning(red("ATTENTION: ")+blue("cannot match: ")+bold(pkg))
|
||||
|
||||
if (not worldSelected):
|
||||
print_info(red(" This is the list of the packages that would be checked:"))
|
||||
@@ -1372,9 +1375,10 @@ def database(options):
|
||||
# catch the names
|
||||
pkgs2check = []
|
||||
for pkg in mypackages:
|
||||
result = dbconn.atomMatch(pkg)
|
||||
if result[0] != -1:
|
||||
pkgs2check.append(result[0])
|
||||
result = dbconn.atomMatch(pkg, multiMatch = True, matchBranches = etpConst['branches'])
|
||||
if result[1] == 0:
|
||||
for idresult in result[0]:
|
||||
pkgs2check.append(idresult)
|
||||
else:
|
||||
print_warning(red("ATTENTION: ")+blue("cannot match: ")+bold(pkg))
|
||||
|
||||
@@ -1422,6 +1426,8 @@ def database(options):
|
||||
print_warning(" "+red(" -> Digest verification of ")+green(pkgfilename)+bold(" not supported"))
|
||||
elif len(ck) == 32:
|
||||
ckOk = True
|
||||
else:
|
||||
print_warning(" "+red(" -> Digest verification of ")+green(pkgfilename)+bold(" failed for unknown reasons"))
|
||||
|
||||
if (ckOk):
|
||||
pkgMatch += 1
|
||||
|
||||
Reference in New Issue
Block a user