add overview of most droppable
This commit is contained in:
parent
4bee037807
commit
e34cde7aa5
1 changed files with 13 additions and 2 deletions
|
@ -209,5 +209,16 @@ for d in debian_names:
|
||||||
if bindeps:
|
if bindeps:
|
||||||
print "src:%s %s"%(d, " ".join(bindeps))
|
print "src:%s %s"%(d, " ".join(bindeps))
|
||||||
|
|
||||||
print list(set(missing_deb_mappings))
|
all_droppable.extend(bindeps)
|
||||||
print list(set(missing_gen_mappings))
|
|
||||||
|
sys.stderr.write("%s\n%s\n"%(list(set(missing_deb_mappings)),list(set(missing_gen_mappings))))
|
||||||
|
|
||||||
|
drop_freq = dict()
|
||||||
|
for p in all_droppable:
|
||||||
|
if drop_freq.get(p):
|
||||||
|
drop_freq[p] += 1
|
||||||
|
else:
|
||||||
|
drop_freq[p] = 1
|
||||||
|
|
||||||
|
for k in sorted(drop_freq.keys(), key=drop_freq.__getitem__, reverse=True)[:20]:
|
||||||
|
sys.stderr.write("%s: %s\n"%(k, drop_freq[k]))
|
||||||
|
|
Loading…
Reference in a new issue