summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2012-06-16Fix handling of package sources containg files with an @ character20120616Pierre Schmitz1-2/+2
2012-06-11Reduce output when downloading sourcesPierre Schmitz1-5/+5
2012-06-10Make repositories for testing2x configurable20120610Pierre Schmitz5-8/+16
2012-06-10Use our own copy of makepkg.conf instead of depending on the host onePierre Schmitz2-1/+122
2012-06-10Remove support for packages that are not in the package poolPierre Schmitz3-64/+0
2012-06-10Remove support for packages in legacy $repo/os/any directoriesPierre Schmitz3-137/+7
2012-06-10db-move: commit all arches at onceFlorian Pritz1-1/+4
Signed-off-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2012-04-29Source the config before the functions as the latter references the formerPierre Schmitz11-11/+11
2012-04-29Respect TMPDIR config when creating the working directoryPierre Schmitz2-1/+3
2012-03-26Use gpg status-file instead of status-fdPierre Schmitz1-3/+1
2012-03-07Update sourceballs.skipPierre Schmitz1-5/+19
2012-03-07sourceballs: If ALLOWED_LICENSES is empty create source packages for every ↵Pierre Schmitz1-1/+1
package
2012-02-19Do not check source gpg signaturesPierre Schmitz1-1/+1
2012-02-19Sourceballs: Output details if fetching the sources failedPierre Schmitz1-1/+7
2012-02-19Fix typo and leftover shm usagePierre Schmitz1-2/+2
2012-02-19Add at least one positive signing testPierre Schmitz1-0/+5
2012-01-14Add [multilib-staging] to sigurd configPierre Schmitz1-1/+1
2011-12-19Avoid calls to basenamePierre Schmitz15-44/+44
2011-12-18Validate package signatures on db-updatePierre Schmitz4-5/+62
2011-11-05The README file is no longer useful20111105Rémy Oudompheng1-2/+0
2011-11-05Move global code under a if __name__ == '__main__' block.Rémy Oudompheng1-120/+121
This allows running python2 -m doctest on the script. Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-11-05Use ctypes module to access alpm_pkg_vercmp() instead of the C module.Rémy Oudompheng5-59/+16
Signed-off-by: Rémy Oudompheng <remy@archlinux.org>
2011-11-05Add simple tests for db-repo-add and db-repo-removePierre Schmitz2-0/+112
2011-11-05db-repo-add: At least check if the package to be added is available in the ↵Pierre Schmitz1-2/+2
correct directory
2011-11-05Add test for moving multiple packages at oncePierre Schmitz1-0/+24
2011-11-05Split package database test functions from check* functionsPierre Schmitz1-4/+34
This way we can check consitency of databases independent from a svn repo
2011-11-05check svn entry for any packagesPierre Schmitz1-0/+5
2011-11-05db-remove: support removing multiple packages at oncePierre Schmitz2-15/+43
2011-11-05Adjust tests to use new db-remove interfacePierre Schmitz4-8/+8
2011-11-05db-repo-{add, remove}: allow specifying multiple packagesDan McGee3-17/+20
This allows invoking these commands for more than one package at a time which is incredibly more efficient as the database doesn't need to be locked, unpacked, modified, changed, and unlocked for every single passed package name or file if you have more than one. Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-05db-*: always handle pkgname/pkgbase/pkgfile argument lastDan McGee3-12/+12
This matches what we do in db-update, and makes the most sense if we want to expand these commands to take multiple arguments at the same time. Especially in the case of db-repo-add and db-repo-remove, these wrapper commands should be no more limiting than repo-add and repo-remove which always allow multiple arguments and are more efficient that way. This patch simply reorders the arguments; a later patch will support multiple pkgname/pkgbase/pkgfile arguments on the command line. Although this does break backwards compatibility and requires some changing of muscle memory, I think it is a worthwhile change to make as the functionality of these commands becomes more powerful and the order of arguments becomes the same in all of them. Signed-off-by: Dan McGee <dan@archlinux.org>
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