summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-11-21Fix patching for chmod callAaron Griffin
dirname was failing if the target was a dir Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-20Switch svn path to be proper on geroldeAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-20Move everything to /srv to support new server confAaron Griffin
Additionally, make TMPDIR configurable so we can move that Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-11Move as much as we can out to a config fileAaron Griffin
This should allow us to move FTP and SVN placement around Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-10cron-jobs: use renice to lower job priorityDan McGee
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 McGee
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-11-09Remove an erroneous '1' signal trap for cleanup() funcAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-21Add copy_helper function to ensure correct permissionsAaron Griffin
This will force all files copied back and forth to have 0664 permissions so that we can attempt to do away with this permission adjusting cron job Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-21Remove some goofy debugging messages from db-functionsAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-16Fix a typo in db-update's usage outputAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-05check_packages : improve the "skip klibc dep" hack.Xavier Chantry
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-13Move temporary directories to /home/tmpAaron Griffin
This is to allow moves to /home/ftp/ to remain on the same filesystem, thus making the final moves atomic Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-09-13Validate a package file's architectureAaron Griffin
Apparently, people seem to be renaming files as a "hack" and breaking things. Let's make sure they edited the PKGINFO too Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-09-02Correctly remove old sourceballs without removing the wrong filesAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-09-02Cron-job changesAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-09-02Remove the unstable repositoryAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-09-02Remove 'unstable' from sourceball creationAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-09-02Forgot the db-functions file. WhoopsAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-08-31Add sourceball cron job at the proper path (whoops)Aaron Griffin
Also remove readline from the skip-list Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-08-31Merge branch 'master' of ssh://archlinux.org/srv/projects/git/dbscriptsAaron Griffin
2008-08-31Add sourceball generating cron scriptAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-08-31Move source generation to /home/ftp/sourcesAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-08-30Create a "common functions" file for DB scriptsAaron Griffin
Common functions, such as sourcing makepkg, and locking a repo Additionally, repo-locking has been unified to prevent multiple users from corrupting a repo (i.e. db-move run while db-remove in progress) Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-08-30Prevent staging cleanup if copy to repo failsAaron Griffin
This stops files being removed from the staging area if they were not successfully copied to the repo. This can happen due to permission issues with the database when multiple people update the repo in quick succession. Original-work-by: Allan McRae <allan@archlinux.org> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-08-30Fix an error message copy/paste errorAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-08-30Replace check_archlinux.py by check_archlinux/check_packages.pyXavier Chantry
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 Griffin
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 Griffin
* 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 Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-06-20Patch check_archlinux.py to work on our current ABS tree.Travis Willard
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-19Make blank lines conditionalAaron Griffin
Mainly for output cleanup Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-06-19Make sure ftpdir-cleanup actually does work before outputtingAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-06-18Merge branch 'master' of /srv/projects/git/dbscriptsAaron Griffin
2008-06-18Correct the devlist mailer script to send real emailsAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-29Remove unused code from make-sourceballAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-29make-sourceball fixesAaron Griffin
* Add a top-level directory to the tarball * Use makepkg -gc and compress the dir - simpler * Other stuff, I'm sure Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-29Add a real cron script to cycle over all reposAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-29Move ftpdir-cleanup to misc-scriptsAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-29Fix EXTRAFILES in ftpdir-cleanupThomas Bächler
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 Horowitz
This is to be used for integrity checked, generated perhaps once a day Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-27Merge branch 'master' of /srv/projects/git/dbscriptsAaron Griffin
2008-05-27Minor changes to the make-sourceball scriptAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-24Link the new testing2x script to the 64 version tooAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-24Commit testing2x scriptThomas Bächler
Signed-off-by: Thomas Bächler <thomas@archlinux.org> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-22Add a script to generate source tarballs for GPL complianceAaron Griffin
This may need to be moved out of here later /me shrugs Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-22crontab file for repo-based cron jobsAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-22Git tells me this file was modifedAaron Griffin
I don't know what changed, but I am committing to check! Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-22Use 'mv' to shuffle files out of the *64 dirsAaron Griffin
This way, all package files get cleaned up properly at the end of the process. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-22Fix db-remove usage textAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-21Adjust permissions of the adjust-permissions scriptAaron Griffin
HAH! Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>