summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-09-12check_pkgsvn: Don't assume the same PKGBUILD for all architecturesPierre Schmitz1-5/+5
2010-09-12check_pkgsvn: check if pkgname is in sync with svnPierre Schmitz1-12/+16
In addition to pkgver and pkgrel it is checked if pkgname is defined in the PKGBUILD.
2010-09-11Fix check_pkgreposPierre Schmitz1-6/+6
Don't use globing as this will match a package of the same version but another arch. We can be more specific here as there are no longer packages without $arch extension.
2010-09-11Use local config instead of guessing by hostnamePierre Schmitz9-63/+48
Using the hostname to decide which repos to use is not releiable and hard to test. Instead use config.local to configure these. config files for sigurd and gerolde were added which can be copied or symlinked to config.local on the specific host.
2010-09-11Fix check_repo_permissionPierre Schmitz1-6/+4
2010-09-11Remove obsolete cron jobPierre Schmitz1-41/+0
2010-09-11adding multilib-testing repositoryPierre Schmitz1-1/+1
2010-09-05Check if package exists in any other repository on update20100906Pierre Schmitz3-3/+71
This also checks if the sam package exists within the old package layout (without package pool)
2010-09-05Fix updating of same package into different repositories at aoncePierre Schmitz2-4/+24
See FS#20745
2010-09-02Set correct group after touching the db filePierre Schmitz4-0/+19
* When writing the db file ensure that it has write permission of the group which owns the parent directory. * This should make the adjust-permissions cron job obsolete.
2010-09-02Simplify case statementDan McGee1-18/+5
Don't duplicate the user:group pair all over the place; put all of the associated repos and directories in the same case statement for a given set of credentials. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2010-09-01Simplify repo configurationPierre Schmitz7-14/+36
* Repositories can now be defined in the config file for each host * added community-staging, gnome-unstable and kde-unstable * Exception is the adjust-permission cron-job; but we might want to use acls in future anyway Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2010-08-25update-web-db: flip the arch/repo loopsDan McGee1-2/+2
This will really make sure [core] packages flow to the top of the list, regardless of architecture. They should anyway, but anything that was only updated in the first architecture updated could get artificially pushed down before. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-25update-web-db: reformat to coding styleDan McGee1-16/+18
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-25Fix a few issues with update-web-dbDan McGee1-5/+7
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-25Add update-web-db cronjobDan McGee2-0/+48
This has been untracked by version control for a while on gerolde in both the cron-jobs directory and in /etc/cron.hourly/. Add it here so we can make changes and know what is going on. This is an improved script over what we currently have. It is one script instead of two, and it does things a little smarter with the logging. Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-24adjust group for multilib repositoryPierre Schmitz1-1/+1
2010-08-24db-update: Make sure there are no links in the staging directoryPierre Schmitz1-0/+3
2010-08-24db-remove: source functions before using themPierre Schmitz1-3/+3
2010-08-22add makepkg.conf for [multilib]Pierre Schmitz5-5/+7
2010-08-22add config.local to .gitignorePierre Schmitz1-0/+1
2010-08-18fix typoPierre Schmitz1-1/+1
2010-08-18Rewrite ftpdir-cleanupPierre Schmitz2-211/+92
* runtime reduced to < 1 second * uses file lists and the comm command * searches for missing packages * removes empty legacy directories like extra/os/any
2010-08-18Fix cleanup of old packagesPierre Schmitz2-1/+44
* This should fix the cleanup of packages that were not within the pacakge pool before being updated. * a test case for this was added
2010-08-17Add additional checks when reading PKGBUILDsPierre Schmitz3-3/+13
If reading from a PKGBUILD fails stop immediatly. Also put out more usefull error messages.
2010-08-17minor fix to error messageAllan McRae1-1/+1
Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2010-08-17Don't try to update no packagePierre Schmitz2-4/+12
Check if there are packages to update for given architecure. Previously db-update quit when only one arch of a package was available.
2010-08-17Add [staging] repositoryPierre Schmitz5-5/+7
2010-08-15Fix locking in db-removePierre Schmitz1-31/+25
2010-08-15Lock repos before checkingPierre Schmitz4-26/+50
2010-08-15add test for testing2xPierre Schmitz1-0/+26
2010-08-15add test to check updating a packagePierre Schmitz2-1/+20
2010-08-15Move packages of all arches within one transactionPierre Schmitz3-112/+119
db-move does no longer need a specific architecture. It will move all architecures of a given package at once. testing2x has been rewritten to respect these changes and testing2x64 is no longer needed.
2010-08-15Use common names for reposPierre Schmitz13-107/+7
2010-08-14Prepare support for multiple packages in db-movePierre Schmitz2-44/+53
2010-08-14Don't use hard coded architectures in db-removePierre Schmitz1-3/+3
2010-08-14Add common function to check for correct repo and archPierre Schmitz1-9/+20
2010-08-14Don't hardcode supported architectures in db-movePierre Schmitz1-1/+1
2010-08-14Rewrite of db-updatePierre Schmitz8-204/+114
* db-update now updates all repos with packages in its staging dirs * sanity checks are performed before any repo is touched * improved performance * less code; easier to maintain
2010-08-13Simplify check for existing packagesPierre Schmitz1-10/+5
2010-08-13removed useless statementsPierre Schmitz1-9/+1
2010-08-13Remove check which was already covered by check_repo_permissionPierre Schmitz1-7/+0
2010-08-13Abort if package already exists in repoPierre Schmitz1-4/+2
Don't try to be smart and remove packages from the staging dir without asking.
2010-08-13Use common functions to print messages, warnings and errorsPierre Schmitz11-126/+134
These functions are copied from makepkg
2010-08-13Check permission before any actionPierre Schmitz5-26/+72
Added a function to check if user has permission to alter the repos and db files.
2010-08-10Use more consitent naming for package poolPierre Schmitz7-39/+36
There are no longer architecture-specific subdirs and the structure was switch to this: ftp └── pool ├── community └── packages packages contains all packages from core, extra and testing; this naming is in sync with the svn repo naming: svn-packages and svn-community
2010-08-08Fix typoPierre Schmitz1-1/+1
2010-08-08Use db-functions in create-filelists and sourceballsPierre Schmitz2-58/+25
2010-08-08Source PKGBUILD in subshellsPierre Schmitz5-62/+68
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-08Cleanup db-functionsPierre Schmitz1-55/+60
* fix indention * use consistent output * set vars local