summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-11-21sourceballs: Support any packagesPierre Schmitz
2010-11-21sourceballs: Don't write any logPierre Schmitz
This is consistent with the other dbscripts. The output will be send to the mailinglist.
2010-11-21sourceballs: respect the dryrun settingPierre Schmitz
2010-11-21sourceballs: check if PKGBUILD existsPierre Schmitz
2010-11-21sourceballs: fix error handlingPierre Schmitz
2010-11-21When on sigurd the svn repo is actually called svn-packagesPierre Schmitz
2010-11-21sourceballs: add LGPL2.1Pierre Schmitz
2010-11-20sourceballs: Lock the repo while reading the db filePierre Schmitz
2010-11-20sourceballs: skip in a clean way if source package should not be createdPierre Schmitz
2010-11-20Simplify sourceballs creationPierre Schmitz
* Read package lists directly from DB file * Make SVNREPO configurable
2010-11-20Fix sourceballs cron jobPierre Schmitz
* add unit test for sourceballs and cleanup * introduce SRCPOOL and LOGDIR variables in config
2010-10-12Dont try to index empty reposPierre Schmitz
2010-10-11Fix missing output redirectionDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-16Move output redirectionDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-13Fix typosPierre Schmitz
2010-09-12Merge branch 'master' of gerolde.archlinux.org:/srv/projects/git/dbscriptsPierre Schmitz
2010-09-12_grep_pkginfo: use a more specific formatPierre Schmitz
2010-09-12Add multilib-testing to web update scriptDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-12check_pkgsvn: Don't assume the same PKGBUILD for all architecturesPierre Schmitz
2010-09-12check_pkgsvn: check if pkgname is in sync with svnPierre Schmitz
In addition to pkgver and pkgrel it is checked if pkgname is defined in the PKGBUILD.
2010-09-11Fix check_pkgreposPierre Schmitz
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 Schmitz
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 Schmitz
2010-09-11Remove obsolete cron jobPierre Schmitz
2010-09-11adding multilib-testing repositoryPierre Schmitz
2010-09-05Check if package exists in any other repository on updatePierre Schmitz
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 Schmitz
See FS#20745
2010-09-02Set correct group after touching the db filePierre Schmitz
* 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 McGee
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 Schmitz
* 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 McGee
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 McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-25Fix a few issues with update-web-dbDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-08-25Add update-web-db cronjobDan McGee
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 Schmitz
2010-08-24db-update: Make sure there are no links in the staging directoryPierre Schmitz
2010-08-24db-remove: source functions before using themPierre Schmitz
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