Integrity Check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

Attachment: check_archlinux.tar.gz
Description: GNU Zip compressed data


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux