|
Lines 69-74
Link Here
|
| 69 |
"DEPEND.syntax","RDEPEND.syntax","PDEPEND.syntax", |
70 |
"DEPEND.syntax","RDEPEND.syntax","PDEPEND.syntax", |
| 70 |
"ebuild.syntax","ebuild.output","variable.readonly", |
71 |
"ebuild.syntax","ebuild.output","variable.readonly", |
| 71 |
"ebuild.nesteddie","LICENSE.invalid", |
72 |
"ebuild.nesteddie","LICENSE.invalid", |
|
|
73 |
"filedir.missing", |
| 74 |
"CVS/Entries.IO_error", |
| 72 |
"IUSE.invalid","KEYWORDS.invalid", |
75 |
"IUSE.invalid","KEYWORDS.invalid", |
| 73 |
"ebuild.nostable","ebuild.allmasked", |
76 |
"ebuild.nostable","ebuild.allmasked", |
| 74 |
"ebuild.majorsyn", "ebuild.minorsyn", |
77 |
"ebuild.majorsyn", "ebuild.minorsyn", |
|
Lines 112-117
Link Here
|
| 112 |
"digest.notadded":"Digests that exist but have not been added to cvs", |
115 |
"digest.notadded":"Digests that exist but have not been added to cvs", |
| 113 |
"digest.unmatch":"Digests which are incomplete (please check if your USE/ARCH includes all files)", |
116 |
"digest.unmatch":"Digests which are incomplete (please check if your USE/ARCH includes all files)", |
| 114 |
"ebuild.notadded":"Ebuilds that exist but have not been added to cvs", |
117 |
"ebuild.notadded":"Ebuilds that exist but have not been added to cvs", |
|
|
118 |
"filedir.missing":"Packages *must* have a file directory", |
| 119 |
"CVS/Entries.IO_error":"Flagged when commiting, and CVS/Entries IO fails", |
| 115 |
"changelog.notadded":"ChangeLogs that exist but have not been added to cvs", |
120 |
"changelog.notadded":"ChangeLogs that exist but have not been added to cvs", |
| 116 |
"KEYWORDS.missing":"Ebuilds that have a missing KEYWORDS variable", |
121 |
"KEYWORDS.missing":"Ebuilds that have a missing KEYWORDS variable", |
| 117 |
"LICENSE.missing":"Ebuilds that have a missing LICENSE variable", |
122 |
"LICENSE.missing":"Ebuilds that have a missing LICENSE variable", |
|
Lines 536-541
Link Here
|
| 536 |
ebuildlist.append(y[:-7]) |
541 |
ebuildlist.append(y[:-7]) |
| 537 |
digestlist=[] |
542 |
digestlist=[] |
| 538 |
if isCvs: |
543 |
if isCvs: |
|
|
544 |
if len(ebuildlist) and not os.path.exists(checkdir+"/files"): |
| 545 |
stats["filedir.missing"]=stats["filedir.missing"]+1 |
| 546 |
fails["filedir.missing"].append(checkdir) |
| 547 |
continue |
| 539 |
try: |
548 |
try: |
| 540 |
myf=open(checkdir+"/CVS/Entries","r") |
549 |
myf=open(checkdir+"/CVS/Entries","r") |
| 541 |
myl=myf.readlines() |
550 |
myl=myf.readlines() |
|
Lines 550-557
Link Here
|
| 550 |
eadded.append(splitl[0][:-7]) |
559 |
eadded.append(splitl[0][:-7]) |
| 551 |
if splitl[0]=="ChangeLog": |
560 |
if splitl[0]=="ChangeLog": |
| 552 |
cladded=1 |
561 |
cladded=1 |
|
|
562 |
|
| 553 |
except IOError: |
563 |
except IOError: |
| 554 |
continue |
564 |
if mymode == "commit": |
|
|
565 |
stats["CVS/Entries.IO_error"]=stats["CVS/Entries.IO_error"]+1 |
| 566 |
fails["CVS/Entries.IO_error"].append(checkdir+"/CVS/Entries") |
| 567 |
|
| 568 |
# continue |
| 555 |
|
569 |
|
| 556 |
try: |
570 |
try: |
| 557 |
myf=open(checkdir+"/files/CVS/Entries","r") |
571 |
myf=open(checkdir+"/files/CVS/Entries","r") |
|
Lines 566-572
Link Here
|
| 566 |
if splitl[0][:7]=="digest-": |
580 |
if splitl[0][:7]=="digest-": |
| 567 |
dadded.append(splitl[0][7:]) |
581 |
dadded.append(splitl[0][7:]) |
| 568 |
except IOError: |
582 |
except IOError: |
| 569 |
continue |
583 |
if mymode == "commit": |
|
|
584 |
stats["CVS/Entries.IO_error"]=stats["CVS/Entries.IO_error"]+1 |
| 585 |
fails["CVS/Entries.IO_error"].append(checkdir+"/CVS/Entries") |
| 586 |
# continue |
| 570 |
|
587 |
|
| 571 |
if os.path.exists(checkdir+"/files"): |
588 |
if os.path.exists(checkdir+"/files"): |
| 572 |
filesdirlist=os.listdir(checkdir+"/files") |
589 |
filesdirlist=os.listdir(checkdir+"/files") |