Solar had asked about adding a check to bail out if repoman is commiting, and the ebuild has any executable bits on, this being the end result. This patch adds ebuild.perms, and file.perms; file.perms is a warning, ebuild.perms is a failure. All they do is check for executable bits set, pretty straightforward.
Created attachment 34472 [details, diff] portage-51_pre12-repoman-x-bit-check.patch
Created attachment 34476 [details, diff] portage-51_pre12-repoman-x-bit-check.patch Typos suck.
Minor typo in the patch +"file.perms", "ebuild.perms" should be +"file.perms", "ebuild.perms", note the comma :)
Created attachment 34536 [details, diff] 51_pre12 repoman +x check Patch with the comma typo fixed.
Might just as well a-x the ebuild... The files checks are fine.
vs a-x would it not be just better to ensure that it's precisely 0644 ?
CVS appears to ignore the perms exempting +x. Note the "appears". I don't know for sure, although some quick testing on my home machine seemd to indicate cvs ignored everything but +x.
went out in pre15.