[arch-general] Integrity Check
Gustavo A. Gómez Farhat
gustavo.gomez.farhat at gmail.com
Tue Aug 26 11:39:41 EDT 2008
I had to apply this patch to actually execute the script because of my locale:
<patch>
--- check_archlinux.sh.orig 2008-08-17 15:25:04.000000000 -0500
+++ check_archlinux.sh 2008-08-26 10:34:39.000000000 -0500
@@ -62,6 +62,7 @@
export CARCH
cat << EOF
+# -*- coding: UTF-8 -*-
class PacmanPackage:
def __init__(self):
self.name,self.version,self.path = "","",""
</patch>
On Tue, Aug 26, 2008 at 2:21 AM, Xavier <shiningxc at gmail.com> wrote:
> Hello,
>
> I rewrote stonecrest's python script which generated the Integrity
> Checks : http://projects.archlinux.org/?p=dbscripts.git;a=blob_plain;f=cron-jobs/check_archlinux.py;hb=HEAD
> last results : http://www.archlinux.org/pipermail/arch-dev-public/2008-August/007655.html
>
> Main changes include :
> * better and safer parsing of PKGBUILDs
> (it now relies on a separate bash script which source PKGBUILDs and
> generate python code, rather than trying to parse bash directly in
> python)
> * much better performance
> (thanks to a small python C extension which allows to call alpm_vercmp
> natively rather than having to fork the vercmp binary thousands of
> times)
> * more accurate dependency and provision handling
> (having worked on this part of the pacman code for a while probably
> helped me a bit here)
>
>> time ./check_archlinux.sh
>
> ===================
> = Integrity Check =
> ===================
>
> Performing integrity checks...
> ==> checking mismatches
> ==> checking archs
> ==> checking dependencies
> ==> checking makedepends
>
> Missing Dependencies
> ----------------------
> archboot --> 'bcm43xx-fwcutter>=006-2'
>
> Missing Makedepends
> ---------------------
> wpa_supplicant --> 'kernel26<2.6.25'
> xosd --> 'xmms'
> flac --> 'xmms'
>
> Summary
> ---------
> Invalid PKGBUILDs: 0
> Mismatching PKGBUILD names: 0
> Invalid archs: 0
> Missing (make)dependencies: 4
>
> ./check_archlinux.sh 6,29s user 0,65s system 96% cpu 7,210 total
>
--
Gustavo Andrés Gómez Farhat
More information about the arch-general
mailing list