summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-11-05Adjust tests to use new db-remove interfacePierre Schmitz
2011-11-05db-repo-{add, remove}: allow specifying multiple packagesDan McGee
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 McGee
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-11-03Merge branch 'sync-db-first' of ↵Parabola
https://projects.parabolagnulinux.org/dbscripts into sync-db-first
2011-11-03Removed unneeded codeNicolás Reynolds
2011-10-30Merge branch 'master' of https://projects.archlinux.org/git/dbscriptsNicolás Reynolds
2011-10-30Local test configNicolás Reynolds
2011-10-30Seems to work, entering test status.Nicolás Reynolds
2011-10-30Require a signature file for new packagesPierre Schmitz
2011-10-28Sync package databases firstNicolas Reynolds
* Get all available packages * Remove unfree from the sync list * Sync everything whitelisted
2011-10-28Merge branch 'master' of https://projects.parabolagnulinux.org/dbscriptsNicolas Reynolds
Conflicts: config
2011-10-28Reflect server changes on configNicolas Reynolds
2011-10-14Rebuilt alpm.so for pacman 4.0 soname bumpPierre Schmitz
2011-09-14Fixed sync pathsParabola
* rsync files are splitted by repo and arch * compare available packages with pool, not repos (dead symlinks broke syncing) * receive from repo/os/arch instead of repo/ (it made packages on other arches missing)
2011-09-14Move to python2Parabola
2011-09-09Several fixesJoshua Ismael Haase Hernández
2011-09-09Inform found packagesJoshua Ismael Haase Hernández
2011-09-09Added [~mtjm], changed blacklist to gitJoshua Ismael Haase Hernández
2011-08-17Merge branch 'master' of http://projects.parabolagnulinux.org/dbscripts into ↵Joshua Ismael Haase Hernández
stable
2011-08-17Script to restore packages from the cleanup destdirNicolás Reynolds
2011-08-13update shunit to 2.1.6Pierre Schmitz
2011-08-13db-move: Fix svn rm callPierre Schmitz
2011-08-13db-move: remove one svn commit per packageDan McGee
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-08-13Merge branch 'master' of http://projects.parabolagnulinux.org/dbscripts into ↵Joshua Ismael Haase Hernández
stable
2011-08-13Failedpkgs array wasn't workingNicolás Reynolds
2011-08-13Merge branch 'master' of http://projects.parabolagnulinux.org/dbscripts into ↵Joshua Ismael Haase Hernández
stable
2011-08-13Added useful messagesNicolás Reynolds
2011-08-13Cleaner sourceballs2Nicolás Reynolds
2011-08-12Fixed unexistent REPOS array and skip removal when the ABS tree is empty.Nicolás Reynolds
2011-08-11Merge branch 'master' of http://projects.parabolagnulinux.org/dbscripts into ↵Joshua Ismael Haase Hernández
stable
2011-08-11Sort unique pkgnamesNicolás Reynolds
2011-08-11Merge branch 'master' of http://projects.parabolagnulinux.org/dbscripts into ↵Joshua Ismael Haase Hernández
stable
2011-08-11Forgot +xNicolás Reynolds
2011-08-11Changed xargs for find -execNicolás Reynolds
2011-08-11Merge branch 'master' of http://projects.parabolagnulinux.org/dbscripts into ↵Joshua Ismael Haase Hernández
stable
2011-08-11Script to solve issue165Nicolás Reynolds
2011-08-09Merge branch 'master' of http://projects.parabolagnulinux.org/dbscripts into ↵Joshua Ismael Haase Hernández
stable
2011-08-09Ignore stagingNicolás Reynolds
2011-08-09Merge branch 'master' of http://projects.parabolagnulinux.org/dbscripts into ↵Joshua Ismael Haase Hernández
stable
2011-08-09update-abs-tarballs +xNicolás Reynolds
2011-08-05Merge branch 'master' of http://projects.parabolagnulinux.org/dbscripts into ↵Joshua Ismael Haase Hernández
stable Conflicts: config
2011-08-05Repo organizationNicolás Reynolds
2011-08-05Merge branch 'master' of http://projects.parabolagnulinux.org/dbscripts into ↵Joshua Ismael Haase Hernández
stable
2011-08-05Added script for creating reposNicolás Reynolds
2011-08-03Merge branch 'master' of http://projects.parabolagnulinux.org/dbscripts into ↵Joshua Ismael Haase Hernández
stable
2011-08-03Added personal reposJoshua Ismael Haase Hernández
2011-08-03Changed SVN to ABSLibreNicolás Reynolds
2011-08-03Merge branch 'master' of https://projects.archlinux.org/git/dbscriptsNicolás Reynolds
2011-07-24db-remove: remove package if not in svnFlorian Pritz
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élanger
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>