summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-08-22add makepkg.conf for [multilib]Pierre Schmitz
2010-08-22add config.local to .gitignorePierre Schmitz
2010-08-18fix typoPierre Schmitz
2010-08-18Rewrite ftpdir-cleanupPierre Schmitz
* 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 Schmitz
* 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 Schmitz
If reading from a PKGBUILD fails stop immediatly. Also put out more usefull error messages.
2010-08-17minor fix to error messageAllan McRae
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 Schmitz
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 Schmitz
2010-08-15Fix locking in db-removePierre Schmitz
2010-08-15Lock repos before checkingPierre Schmitz
2010-08-15add test for testing2xPierre Schmitz
2010-08-15add test to check updating a packagePierre Schmitz
2010-08-15Move packages of all arches within one transactionPierre Schmitz
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 Schmitz
2010-08-14Prepare support for multiple packages in db-movePierre Schmitz
2010-08-14Don't use hard coded architectures in db-removePierre Schmitz
2010-08-14Add common function to check for correct repo and archPierre Schmitz
2010-08-14Don't hardcode supported architectures in db-movePierre Schmitz
2010-08-14Rewrite of db-updatePierre Schmitz
* 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 Schmitz
2010-08-13removed useless statementsPierre Schmitz
2010-08-13Remove check which was already covered by check_repo_permissionPierre Schmitz
2010-08-13Abort if package already exists in repoPierre Schmitz
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 Schmitz
These functions are copied from makepkg
2010-08-13Check permission before any actionPierre Schmitz
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 Schmitz
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 Schmitz
2010-08-08Use db-functions in create-filelists and sourceballsPierre Schmitz
2010-08-08Source PKGBUILD in subshellsPierre Schmitz
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 Schmitz
* fix indention * use consistent output * set vars local
2010-08-08Cleanup cron-jobs/adjust-permissionsPierre Schmitz
2010-08-08Move common function to db-functionsPierre Schmitz
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 Schmitz
2010-08-08Prepare for variable db file compressionPierre Schmitz
2010-08-08Remove BUILDSCRIPT variablePierre Schmitz
There is no need to have a variable for things like PKGBUILD that are very unlikely to ever change.
2010-08-08Remove check for old staging dirsPierre Schmitz
devtools take care of this anyway
2010-08-08Cleanup db-removePierre Schmitz
* There is no need to copy the db into a working dir * cleanup is automatically called on exit
2010-08-08Fix test and add some more checksPierre Schmitz
2010-08-08Reduce verbosityPierre Schmitz
Only inform of errors and processes that might take longer.
2010-08-08add transitions testsPierre Schmitz
Theses tests simulate the case of packages with the old repo layout and the new package pool layout.
2010-08-08fix cleaning of any packages and ignore empty reposPierre Schmitz
2010-08-08add test for ftpdir-cleanupPierre Schmitz
2010-08-08Use package pool instead of $repo/os/any dirsPierre Schmitz
2010-08-08Fix old callPierre Schmitz
2010-08-07Rewrite db-movePierre Schmitz
* Cleanup code * create symlinks instead of copies * Moving split packages is now (more) atomic * Move old packages to pool if needed
2010-08-07Simplify tests and add tests for db-movePierre Schmitz
2010-08-07add test for db-removePierre Schmitz
2010-08-07add an initial set of testsPierre Schmitz
2010-08-07add some common functions for our test suitePierre Schmitz