summaryrefslogtreecommitdiffstats
path: root/cron-jobs
AgeCommit message (Collapse)AuthorFilesLines
2009-02-04Remove 'skipping' output. Not neededAaron Griffin1-1/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-01check_packages: fix stupid assumption on script location.Xavier Chantry1-4/+2
The parse_pkgbuilds.sh script was assumed to be in the current working directory, which is quite stupid since check_packages.py can be called from anywhere. Now it only assumes that check_packages.py and parse_pkgbuilds.sh are in the same directory. This should fix the empty integrity checks on arch-dev :) Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-01-14Remove HH:MM from devlist-mailer subject linesAaron Griffin1-2/+2
This was extraneous info. Not needed as higher granularity can be gleaned from the mail's date Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-01-09check_packages : add --arch option.Xavier Chantry2-10/+22
The parsing script didn't set CARCH previously, and the flashplugin PKGBUILD exited in this case. First override the exit function to prevent the whole script to exit, and add a --arch option to be able to set CARCH correctly. To be used like this : For core and extra : ./check_packages.py --abs-tree=/home/abs/rsync/i686 --repos=core,extra --arch=i686 ./check_packages.py --abs-tree=/home/abs/rsync/x86_64 --repos=core,extra --arch=x86_64 For community : ./check_packages.py --abs-tree=/home/abs/rsync/i686 --repos=community --arch=i686 ./check_packages.py --abs-tree=/home/abs/rsync/x86_64 --repos=community --arch=x86_64 Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-29Allow devlist-mailer to send to alternate addressesAaron Griffin1-2/+6
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-21Drop unstable from processing in scriptsDan McGee2-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-21Move cron-jobs to /srv from /homeAaron Griffin3-5/+5
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-21Remove unused cron-job 'genpkglist'Aaron Griffin1-28/+0
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-10cron-jobs: use renice to lower job priorityDan McGee3-0/+9
Lower the job priority of our cron jobs so they don't interfere with other more important things on the server. None of these are very CPU intensive, but priority for I/O operations should go elsewhere. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-10Remove chmod on /home/aur/*Dan McGee1-2/+0
This one portion of the adjust-permissions script takes over a minute of wall clock time to run on gerolde when no other cron jobs are running. It takes three minutes when we hit the hour mark on the clock due to everything else going at the same time. A find on /home/aur/unsupported reveals this command will need to touch ~77000 files. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-06check_packages : improve the "skip klibc dep" hack.Xavier Chantry1-1/+1
It is not possible to check the klibc dep on the PKGBUILD level, so I made a hack to skip it. This hack broke on klibc-jfflyAahxqaliwAofrf_fdf5upI because of the underscore. But we can simply use the \w regexp which matches any alpha-numeric char, including underscore. According to klibc developer, dashes are possible too. Also the length of this string is always 27 chars, so we can use that. Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-09-02Cron-job changesAaron Griffin1-1/+2
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-09-02Remove the unstable repositoryAaron Griffin1-3/+3
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-09-02Remove 'unstable' from sourceball creationAaron Griffin1-1/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-08-31Add sourceball cron job at the proper path (whoops)Aaron Griffin2-2/+1
Also remove readline from the skip-list Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-08-31Add sourceball generating cron scriptAaron Griffin2-0/+82
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-08-31Fix an error message copy/paste errorAaron Griffin1-1/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-08-31Replace check_archlinux.py by check_archlinux/check_packages.pyXavier Chantry6-704/+528
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>
2008-06-30Remove community from the integrity check, for nowAaron Griffin1-1/+2
To much output sent to the dev list, this needs to be sent to the aur-general list separately Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-06-20Corrections to the devlist-mailer scriptAaron Griffin1-2/+9
* Add configurable subject * Add To: and From: headers Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-06-20Remove some 'self' usage from check_archlinux.pyAaron Griffin1-2/+2
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-06-20Patch check_archlinux.py to work on our current ABS tree.Travis Willard1-51/+30
Patch this on devtools - to run against /home/abs, we'd use: ./check_archlinux.py --abs-tree=/home/abs/rsync/i686 --arch=i686 ./check_archlinux.py --abs-tree=/home/abs/rsync/x86_64 --arch=x86_64 Signed-off-by: Travis Willard <travis@archlinux.org> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-06-19Correct the devlist mailer script to send real emailsAaron Griffin1-6/+7
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-29Add a real cron script to cycle over all reposAaron Griffin1-0/+35
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-29Move ftpdir-cleanup to misc-scriptsAaron Griffin1-116/+0
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-29Fix EXTRAFILES in ftpdir-cleanupThomas Bächler1-4/+6
Signed-off-by: Thomas Bächler <thomas@archlinux.org> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-27Add the check_archlinux.py repo checkerScott Horowitz1-0/+724
This is to be used for integrity checked, generated perhaps once a day Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-22crontab file for repo-based cron jobsAaron Griffin1-0/+12
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-22Git tells me this file was modifedAaron Griffin1-2/+2
I don't know what changed, but I am committing to check! Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-21Adjust permissions of the adjust-permissions scriptAaron Griffin1-0/+0
HAH! Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-21Switch EXTRAFILES test to be more accurateAaron Griffin1-14/+19
New test suggested by Thomas via cleanup2.sh script Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-21Copied 'ftpmaint' from root as adjust-permissionsAaron Griffin1-0/+24
This script makes sure we all have write access to the repos Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-21Switch to output filelists in official reposAaron Griffin1-1/+2
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-21Added a simple sendmail-ish script to send to the MLAaron Griffin1-0/+16
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-15More cron job cleanup and fixesAaron Griffin3-77/+159
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-15Cron cleanup, and only copy DB files onceAaron Griffin1-66/+20
This would break all adds if there were any deletes. We definitely don't want that. Also, cleanup of cron scripts in the same commit because I'm lazy Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-07Moving some files around, organizationalAaron Griffin3-0/+180
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>