Age | Commit message (Collapse) | Author |
|
|
|
|
|
This is consistent with the other dbscripts.
The output will be send to the mailinglist.
|
|
* Read package lists directly from DB file
* Make SVNREPO configurable
|
|
* add unit test for sourceballs and cleanup
* introduce SRCPOOL and LOGDIR variables in config
|
|
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.
|
|
This also checks if the sam package exists within the old package
layout (without package pool)
|
|
See FS#20745
|
|
* 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>
|
|
|
|
* This should fix the cleanup of packages that were not within the pacakge pool before being updated.
* a test case for this was added
|
|
Check if there are packages to update for given architecure. Previously
db-update quit when only one arch of a package was available.
|
|
|
|
|
|
|
|
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.
|
|
|
|
* 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
|
|
These functions are copied from makepkg
|
|
Added a function to check if user has permission to alter the repos
and db files.
|
|
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
|
|
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.
|
|
|
|
|
|
Only inform of errors and processes that might take longer.
|
|
Theses tests simulate the case of packages with the old repo layout
and the new package pool layout.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This is a local copy of shUnit 2.1.5 from
http://shunit2.googlecode.com/
License: LGPL
|
|
|