Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-08-18 | fix typo | Pierre Schmitz | 1 | -1/+1 | |
2010-08-18 | Rewrite ftpdir-cleanup | Pierre Schmitz | 2 | -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-18 | Fix cleanup of old packages | Pierre Schmitz | 2 | -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-17 | Add additional checks when reading PKGBUILDs | Pierre Schmitz | 3 | -3/+13 | |
If reading from a PKGBUILD fails stop immediatly. Also put out more usefull error messages. | |||||
2010-08-17 | minor fix to error message | Allan McRae | 1 | -1/+1 | |
Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de> | |||||
2010-08-17 | Don't try to update no package | Pierre Schmitz | 2 | -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-17 | Add [staging] repository | Pierre Schmitz | 5 | -5/+7 | |
2010-08-15 | Fix locking in db-remove | Pierre Schmitz | 1 | -31/+25 | |
2010-08-15 | Lock repos before checking | Pierre Schmitz | 4 | -26/+50 | |
2010-08-15 | add test for testing2x | Pierre Schmitz | 1 | -0/+26 | |
2010-08-15 | add test to check updating a package | Pierre Schmitz | 2 | -1/+20 | |
2010-08-15 | Move packages of all arches within one transaction | Pierre Schmitz | 3 | -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-15 | Use common names for repos | Pierre Schmitz | 13 | -107/+7 | |
2010-08-14 | Prepare support for multiple packages in db-move | Pierre Schmitz | 2 | -44/+53 | |
2010-08-14 | Don't use hard coded architectures in db-remove | Pierre Schmitz | 1 | -3/+3 | |
2010-08-14 | Add common function to check for correct repo and arch | Pierre Schmitz | 1 | -9/+20 | |
2010-08-14 | Don't hardcode supported architectures in db-move | Pierre Schmitz | 1 | -1/+1 | |
2010-08-14 | Rewrite of db-update | Pierre Schmitz | 8 | -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-13 | Simplify check for existing packages | Pierre Schmitz | 1 | -10/+5 | |
2010-08-13 | removed useless statements | Pierre Schmitz | 1 | -9/+1 | |
2010-08-13 | Remove check which was already covered by check_repo_permission | Pierre Schmitz | 1 | -7/+0 | |
2010-08-13 | Abort if package already exists in repo | Pierre Schmitz | 1 | -4/+2 | |
Don't try to be smart and remove packages from the staging dir without asking. | |||||
2010-08-13 | Use common functions to print messages, warnings and errors | Pierre Schmitz | 11 | -126/+134 | |
These functions are copied from makepkg | |||||
2010-08-13 | Check permission before any action | Pierre Schmitz | 5 | -26/+72 | |
Added a function to check if user has permission to alter the repos and db files. | |||||
2010-08-10 | Use more consitent naming for package pool | Pierre Schmitz | 7 | -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-08 | Fix typo | Pierre Schmitz | 1 | -1/+1 | |
2010-08-08 | Use db-functions in create-filelists and sourceballs | Pierre Schmitz | 2 | -58/+25 | |
2010-08-08 | Source PKGBUILD in subshells | Pierre Schmitz | 5 | -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-08 | Cleanup db-functions | Pierre Schmitz | 1 | -55/+60 | |
* fix indention * use consistent output * set vars local | |||||
2010-08-08 | Cleanup cron-jobs/adjust-permissions | Pierre Schmitz | 1 | -31/+26 | |
2010-08-08 | Move common function to db-functions | Pierre Schmitz | 10 | -168/+85 | |
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-08 | use common workdir | Pierre Schmitz | 7 | -22/+2 | |
2010-08-08 | Prepare for variable db file compression | Pierre Schmitz | 2 | -4/+5 | |
2010-08-08 | Remove BUILDSCRIPT variable | Pierre Schmitz | 7 | -12/+11 | |
There is no need to have a variable for things like PKGBUILD that are very unlikely to ever change. | |||||
2010-08-08 | Remove check for old staging dirs | Pierre Schmitz | 1 | -20/+0 | |
devtools take care of this anyway | |||||
2010-08-08 | Cleanup db-remove | Pierre Schmitz | 1 | -18/+5 | |
* There is no need to copy the db into a working dir * cleanup is automatically called on exit | |||||
2010-08-08 | Fix test and add some more checks | Pierre Schmitz | 1 | -4/+5 | |
2010-08-08 | Reduce verbosity | Pierre Schmitz | 5 | -45/+32 | |
Only inform of errors and processes that might take longer. | |||||
2010-08-08 | add transitions tests | Pierre Schmitz | 1 | -0/+86 | |
Theses tests simulate the case of packages with the old repo layout and the new package pool layout. | |||||
2010-08-08 | fix cleaning of any packages and ignore empty repos | Pierre Schmitz | 2 | -4/+6 | |
2010-08-08 | add test for ftpdir-cleanup | Pierre Schmitz | 2 | -1/+99 | |
2010-08-08 | Use package pool instead of $repo/os/any dirs | Pierre Schmitz | 3 | -20/+15 | |
2010-08-08 | Fix old call | Pierre Schmitz | 1 | -3/+3 | |
2010-08-07 | Rewrite db-move | Pierre Schmitz | 1 | -60/+37 | |
* Cleanup code * create symlinks instead of copies * Moving split packages is now (more) atomic * Move old packages to pool if needed | |||||
2010-08-07 | Simplify tests and add tests for db-move | Pierre Schmitz | 2 | -14/+110 | |
2010-08-07 | add test for db-remove | Pierre Schmitz | 2 | -10/+81 | |
2010-08-07 | add an initial set of tests | Pierre Schmitz | 1 | -0/+66 | |
2010-08-07 | add some common functions for our test suite | Pierre Schmitz | 1 | -0/+113 | |
2010-08-07 | add default makepkg.conf for both arches | Pierre Schmitz | 2 | -0/+230 | |
2010-08-07 | add a local copy of shunit2 | Pierre Schmitz | 1 | -0/+1116 | |
This is a local copy of shUnit 2.1.5 from http://shunit2.googlecode.com/ License: LGPL |