summaryrefslogtreecommitdiffstats
path: root/cron-jobs/check_archlinux/README
diff options
context:
space:
mode:
authorXavier Chantry <shiningxc@gmail.com>2008-08-29 20:23:26 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2008-08-31 03:48:19 +0200
commit909b017c08109bda405a3e38a59cbf26211e6683 (patch)
treef0a47cb2ad2782c12fa450926a9d1f5cfd1fd8ca /cron-jobs/check_archlinux/README
parentf404689fc11bbeace243779305ede5b7d7270ae8 (diff)
downloaddbscripts-909b017c08109bda405a3e38a59cbf26211e6683.tar.gz
dbscripts-909b017c08109bda405a3e38a59cbf26211e6683.tar.xz
Replace check_archlinux.py by check_archlinux/check_packages.py
The old script had several problems so I decided to do a full rewrite. The improvements include : * better and safer parsing of PKGBUILDs It now uses separate parse_pkgbuilds.sh bash script (inspired from namcap) * much better performance A python module for calling vercmp natively, and the algorithm for checking circular dependencies was greatly improved * more accurate dependency and provision handling Now versioned dependencies and provisions are handled correctly. After building the python module and moving it next to the main script, it should be possible to use it like this : For core and extra : ./check_packages.py --abs-tree=/home/abs/rsync/i686 --repos=core,extra ./check_packages.py --abs-tree=/home/abs/rsync/x86_64 --repos=core,extra For community : ./check_packages.py --abs-tree=/home/abs/rsync/i686 --repos=community ./check_packages.py --abs-tree=/home/abs/rsync/x86_64 --repos=community Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'cron-jobs/check_archlinux/README')
-rw-r--r--cron-jobs/check_archlinux/README8
1 files changed, 8 insertions, 0 deletions
diff --git a/cron-jobs/check_archlinux/README b/cron-jobs/check_archlinux/README
new file mode 100644
index 0000000..f3a1b90
--- /dev/null
+++ b/cron-jobs/check_archlinux/README
@@ -0,0 +1,8 @@
+1) Build the python module
+$ python setup.py build
+
+2) copy it back to the current working directory
+$ cp build/lib.*/alpm.* .
+
+3) run the script
+$ ./check_packages.py -h