summaryrefslogtreecommitdiffstats
path: root/misc-scripts/sourceballs-cleanup
AgeCommit message (Collapse)AuthorFilesLines
2010-08-08Source PKGBUILD in subshellsPierre Schmitz1-1/+2
This patch sources a PKGBUILD in a subshells instead of directly. This way we don't polute our scope or overwrite our vars which might lead to unexpected behavior.
2010-08-08Move common function to db-functionsPierre Schmitz1-25/+2
db-functions now sets an individual $WORKDIR and implements trap functinos that remove locks on exit or error. There are new functions to lock and unlock the running script. misc-scripts/ftpdir-cleanup was renamed to ftpdir-cleanup-repo as the cron-job had the same name. Script names have to be unique when using db-functions.
2010-08-08use common workdirPierre Schmitz1-2/+0
2010-08-08Remove BUILDSCRIPT variablePierre Schmitz1-2/+2
There is no need to have a variable for things like PKGBUILD that are very unlikely to ever change.
2010-06-28sourceballs: Added community and community-testing supportEric Bélanger1-2/+3
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2010-03-13sourceballs: Make cleanup more efficientEric Bélanger1-0/+95
Moved all cleanup related code in sourceballs-cleanup script and moved, now common, functions in db-functions. The cleanup script is now ran after all the new sourceballs have been fetched. Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com>