From 909b017c08109bda405a3e38a59cbf26211e6683 Mon Sep 17 00:00:00 2001 From: Xavier Chantry Date: Fri, 29 Aug 2008 20:23:26 +0200 Subject: 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 Signed-off-by: Aaron Griffin --- cron-jobs/check_archlinux/README | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 cron-jobs/check_archlinux/README (limited to 'cron-jobs/check_archlinux/README') 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 -- cgit v1.2.3-2-g168b From 9c624b099eb16e27c80ed8ff5f551ce6e8ad0682 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Mon, 22 Nov 2010 22:21:37 +0100 Subject: check_archlinux: fix for python2 usage --- cron-jobs/check_archlinux/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cron-jobs/check_archlinux/README') diff --git a/cron-jobs/check_archlinux/README b/cron-jobs/check_archlinux/README index f3a1b90..8f178dc 100644 --- a/cron-jobs/check_archlinux/README +++ b/cron-jobs/check_archlinux/README @@ -1,5 +1,5 @@ 1) Build the python module -$ python setup.py build +$ python2 setup.py build 2) copy it back to the current working directory $ cp build/lib.*/alpm.* . -- cgit v1.2.3-2-g168b