summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2011-10-30Require a signature file for new packagesPierre Schmitz1-1/+1
2011-10-14Rebuilt alpm.so for pacman 4.0 soname bumpPierre Schmitz1-0/+0
2011-08-13update shunit to 2.1.620110813Pierre Schmitz1-475/+407
2011-08-13db-move: Fix svn rm callPierre Schmitz1-4/+4
2011-08-13db-move: remove one svn commit per packageDan McGee1-3/+10
Precondition: trunk/ directory never has any subdirectories. This is true across our entire svn-packages repository, although I did not check svn-community. The following command was used: find -mindepth 3 -type d ! -wholename '*/.svn*' -wholename *trunk* This should really help a variety of things- reduce the number of commits, reduce the number of emails to arch-commits, make mass package moves faster, etc. The entire dbscripts test suite still passes after this change. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-07-24db-remove: remove package if not in svnFlorian Pritz1-0/+3
We know what the user wants us to do (remove a package from the repo and svn) so if it's not in svn it should still be removed from the db. Having to use a seperate tool (db-repo-remove) is confusing. Signed-off-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-07-24Add epoch support to integrity check cron jobEric Bélanger1-2/+6
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-07-24Fix test for use with recent namcap releasesPierre Schmitz1-2/+2
2011-07-24Use /tmp instead of /dev/shm for temporary filesPierre Schmitz1-1/+1
2011-04-02Add simple checks for handling signed packages20110409Pierre Schmitz4-1/+54
In addition to this dbscripts wont accept unsigned pacakges when REQUIRE_SIGNATURE is set to true. Note: At this point no signature verification is performed at all.
2011-04-02Add signature files to update/move/remove targetsRémy Oudompheng3-2/+18
Signature files are optional and the previous behaviour is unchanged when signatures files do not exist. Signed-off-by: Rémy Oudompheng <remy@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-04-01Recompiled alpm python module against pacman 3.5Pierre Schmitz1-0/+0
2011-03-26Use repo-add to create the files database for each repo20110326Pierre Schmitz4-134/+54
2011-03-26Adjust test for latest devtools; Be less generic with package extensionPierre Schmitz8-20/+20
2011-03-23Add support for packages which use the epoch variablePierre Schmitz12-8/+102
2011-01-30Keeping old packages for a month should be long enoughPierre Schmitz1-1/+1
2011-01-30Try to remove a package even if it is no longer in svnPierre Schmitz1-1/+1
2011-01-30Make sure to only remove package files from the cleanup dirsPierre Schmitz2-2/+2
2011-01-27test: add testUpdateSameAnyPackageToSameRepositoryPierre Schmitz1-3/+12
2011-01-15Move repo manipulation code into common functionsPierre Schmitz6-26/+34
repo-add and repo-remove is now indirectly called by arch_repo_add/remove. This simplifies future extensions like incremental file list creations. See FS#11302
2011-01-08archweb update: source virtualenv if it existsDan McGee1-0/+7
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-12-18Remove old files from the cleanup dirsPierre Schmitz3-0/+22
2010-12-18Touch old packages after moving them to the cleanup dirsPierre Schmitz2-1/+5
This updates the mtime of those files and will help us to remove them later.
2010-12-09check_packages.py: remove obsolete klibc workaround20101209Pierre Schmitz1-6/+0
2010-12-09Call integrity-check with specific repo list for each architecturePierre Schmitz1-10/+26
2010-12-09repo_lock: check if repo is locked by repo-add or repo-removePierre Schmitz1-0/+7
2010-12-05Only emit a warning when a repository does not exist.Rémy Oudompheng1-2/+2
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2010-12-05Add support for the [multilib] repo.Rémy Oudompheng1-1/+2
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2010-12-05Style changes: add parentheses around print "...".Rémy Oudompheng1-10/+10
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2010-12-05Style changes: remove usage of the 'has_key' method.Rémy Oudompheng1-11/+11
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2010-12-02db-update: Fail if a set of split packages is incompletePierre Schmitz3-1/+83
2010-11-27Fix test: copy target of symlinksPierre Schmitz1-2/+2
2010-11-25create-filelists: Improve performance by reading package list from db ↵Pierre Schmitz1-5/+4
instead from fs
2010-11-25update-web-db: Lock db and scriptPierre Schmitz1-26/+46
* usage of db-functions * Lock the db and work on a copy to avoid long lock times * Lock the script itself to avoid multiple calls * Adjust to coding style to other dbscripts
2010-11-25sourceballs: be nicePierre Schmitz1-0/+3
2010-11-25Rewrote create-filelistsPierre Schmitz2-66/+191
* use correct locking of the repos * added test case * removes file lists of deleted packages * add compression independent symlink to files db
2010-11-25sourceballs no longer depends on ftpdir-cleanup being runPierre Schmitz1-1/+0
2010-11-25Add FILESEXT variable for use in create-filelistsPierre Schmitz2-5/+4
2010-11-25Split tests into several filesPierre Schmitz10-624/+644
* tests can be run seperatly * runTest will run all tests that have the x bit set
2010-11-25Provide more real test packagesPierre Schmitz21-258/+121
* Use devtools instead of plain makepkg * This is a preparation for some more advanced test cases.
2010-11-25Make ftpdir-cleanup less verboseEric Bélanger1-1/+0
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2010-11-25Added seperate dryrun options for the packages and sources cleanup scriptsEric Bélanger3-2/+4
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2010-11-24sourceballs: fix working directoryPierre Schmitz1-3/+2
2010-11-23sourceballs: Move to our workdir first to fix warning with sudo usagePierre Schmitz1-0/+2
2010-11-23sourceballs: avoid failing twicePierre Schmitz1-0/+7
2010-11-23sourceballs: fix outputPierre Schmitz1-8/+3
2010-11-23sourceballs: be less verbosePierre Schmitz1-6/+21
2010-11-23Rewrite sourceballs to increase performance and reliabilityPierre Schmitz4-257/+101
* Decrease file stats as much as possible * Create a list of all packages and meta data only once * Create a list of available source packages only once * Create a list of expected packages only once * Combine all three scripts into one to share data and code * Use as much information from the db files as possible and avoid using svn * Avoid attempting to create the same source package twice Logic works as follows: 1) create a list of all packages 2) Check for each package if we need a src package and create one 3) During this process create a list of all src packages that should be there 4) Diff both lists for the cleanup
2010-11-22Attempt to fix integrity-checkPierre Schmitz1-5/+6
2010-11-22check_archlinux: fix for python2 usagePierre Schmitz3-2/+2