summaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2010-11-20Fix sourceballs cron jobPierre Schmitz2-3/+63
* add unit test for sourceballs and cleanup * introduce SRCPOOL and LOGDIR variables in config
2010-09-11Use local config instead of guessing by hostnamePierre Schmitz2-20/+22
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-05Check if package exists in any other repository on update20100906Pierre Schmitz1-1/+44
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 Schmitz1-0/+20
See FS#20745
2010-09-01Simplify repo configurationPierre Schmitz1-3/+13
* 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-22add makepkg.conf for [multilib]Pierre Schmitz1-2/+2
2010-08-18Fix cleanup of old packagesPierre Schmitz1-0/+43
* 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-17Don't try to update no packagePierre Schmitz1-0/+6
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 Schmitz1-2/+2
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 Schmitz1-16/+5
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-14Prepare support for multiple packages in db-movePierre Schmitz1-5/+5
2010-08-14Rewrite of db-updatePierre Schmitz1-13/+13
* 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-13Use common functions to print messages, warnings and errorsPierre Schmitz1-6/+4
These functions are copied from makepkg
2010-08-13Check permission before any actionPierre Schmitz1-16/+33
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 Schmitz2-11/+12
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-08Move common function to db-functionsPierre Schmitz1-3/+3
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-08Prepare for variable db file compressionPierre Schmitz1-4/+4
2010-08-08Fix test and add some more checksPierre Schmitz1-4/+5
2010-08-08Reduce verbosityPierre Schmitz2-10/+8
Only inform of errors and processes that might take longer.
2010-08-08add transitions testsPierre Schmitz1-0/+86
Theses tests simulate the case of packages with the old repo layout and the new package pool layout.
2010-08-08add test for ftpdir-cleanupPierre Schmitz2-1/+99
2010-08-08Use package pool instead of $repo/os/any dirsPierre Schmitz1-0/+2
2010-08-08Fix old callPierre Schmitz1-3/+3
2010-08-07Simplify tests and add tests for db-movePierre Schmitz2-14/+110
2010-08-07add test for db-removePierre Schmitz2-10/+81
2010-08-07add an initial set of testsPierre Schmitz1-0/+66
2010-08-07add some common functions for our test suitePierre Schmitz1-0/+113
2010-08-07add default makepkg.conf for both archesPierre Schmitz2-0/+230
2010-08-07add a local copy of shunit2Pierre Schmitz1-0/+1116
This is a local copy of shUnit 2.1.5 from http://shunit2.googlecode.com/ License: LGPL
2010-08-07add some sample PKGBUILDsPierre Schmitz6-0/+76