Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-12-19 | Avoid calls to basename | Pierre Schmitz | 15 | -44/+44 | |
2011-12-18 | Validate package signatures on db-update | Pierre Schmitz | 4 | -5/+62 | |
2011-11-05 | The README file is no longer useful20111105 | Rémy Oudompheng | 1 | -2/+0 | |
2011-11-05 | Move global code under a if __name__ == '__main__' block. | Rémy Oudompheng | 1 | -120/+121 | |
This allows running python2 -m doctest on the script. Signed-off-by: Rémy Oudompheng <remy@archlinux.org> | |||||
2011-11-05 | Use ctypes module to access alpm_pkg_vercmp() instead of the C module. | Rémy Oudompheng | 5 | -59/+16 | |
Signed-off-by: Rémy Oudompheng <remy@archlinux.org> | |||||
2011-11-05 | Add simple tests for db-repo-add and db-repo-remove | Pierre Schmitz | 2 | -0/+112 | |
2011-11-05 | db-repo-add: At least check if the package to be added is available in the ↵ | Pierre Schmitz | 1 | -2/+2 | |
correct directory | |||||
2011-11-05 | Add test for moving multiple packages at once | Pierre Schmitz | 1 | -0/+24 | |
2011-11-05 | Split package database test functions from check* functions | Pierre Schmitz | 1 | -4/+34 | |
This way we can check consitency of databases independent from a svn repo | |||||
2011-11-05 | check svn entry for any packages | Pierre Schmitz | 1 | -0/+5 | |
2011-11-05 | db-remove: support removing multiple packages at once | Pierre Schmitz | 2 | -15/+43 | |
2011-11-05 | Adjust tests to use new db-remove interface | Pierre Schmitz | 4 | -8/+8 | |
2011-11-05 | db-repo-{add, remove}: allow specifying multiple packages | Dan McGee | 3 | -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-05 | db-*: always handle pkgname/pkgbase/pkgfile argument last | Dan McGee | 3 | -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-30 | Require a signature file for new packages | Pierre Schmitz | 1 | -1/+1 | |
2011-10-14 | Rebuilt alpm.so for pacman 4.0 soname bump | Pierre Schmitz | 1 | -0/+0 | |
2011-08-13 | update shunit to 2.1.620110813 | Pierre Schmitz | 1 | -475/+407 | |
2011-08-13 | db-move: Fix svn rm call | Pierre Schmitz | 1 | -4/+4 | |
2011-08-13 | db-move: remove one svn commit per package | Dan McGee | 1 | -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-24 | db-remove: remove package if not in svn | Florian Pritz | 1 | -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-24 | Add epoch support to integrity check cron job | Eric Bélanger | 1 | -2/+6 | |
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de> | |||||
2011-07-24 | Fix test for use with recent namcap releases | Pierre Schmitz | 1 | -2/+2 | |
2011-07-24 | Use /tmp instead of /dev/shm for temporary files | Pierre Schmitz | 1 | -1/+1 | |
2011-04-02 | Add simple checks for handling signed packages20110409 | Pierre Schmitz | 4 | -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-02 | Add signature files to update/move/remove targets | Rémy Oudompheng | 3 | -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-01 | Recompiled alpm python module against pacman 3.5 | Pierre Schmitz | 1 | -0/+0 | |
2011-03-26 | Use repo-add to create the files database for each repo20110326 | Pierre Schmitz | 4 | -134/+54 | |
2011-03-26 | Adjust test for latest devtools; Be less generic with package extension | Pierre Schmitz | 8 | -20/+20 | |
2011-03-23 | Add support for packages which use the epoch variable | Pierre Schmitz | 12 | -8/+102 | |
2011-01-30 | Keeping old packages for a month should be long enough | Pierre Schmitz | 1 | -1/+1 | |
2011-01-30 | Try to remove a package even if it is no longer in svn | Pierre Schmitz | 1 | -1/+1 | |
2011-01-30 | Make sure to only remove package files from the cleanup dirs | Pierre Schmitz | 2 | -2/+2 | |
2011-01-27 | test: add testUpdateSameAnyPackageToSameRepository | Pierre Schmitz | 1 | -3/+12 | |
2011-01-15 | Move repo manipulation code into common functions | Pierre Schmitz | 6 | -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-08 | archweb update: source virtualenv if it exists | Dan McGee | 1 | -0/+7 | |
Signed-off-by: Dan McGee <dan@archlinux.org> | |||||
2010-12-18 | Remove old files from the cleanup dirs | Pierre Schmitz | 3 | -0/+22 | |
2010-12-18 | Touch old packages after moving them to the cleanup dirs | Pierre Schmitz | 2 | -1/+5 | |
This updates the mtime of those files and will help us to remove them later. | |||||
2010-12-09 | check_packages.py: remove obsolete klibc workaround20101209 | Pierre Schmitz | 1 | -6/+0 | |
2010-12-09 | Call integrity-check with specific repo list for each architecture | Pierre Schmitz | 1 | -10/+26 | |
2010-12-09 | repo_lock: check if repo is locked by repo-add or repo-remove | Pierre Schmitz | 1 | -0/+7 | |
2010-12-05 | Only emit a warning when a repository does not exist. | Rémy Oudompheng | 1 | -2/+2 | |
Signed-off-by: Pierre Schmitz <pierre@archlinux.de> | |||||
2010-12-05 | Add support for the [multilib] repo. | Rémy Oudompheng | 1 | -1/+2 | |
Signed-off-by: Pierre Schmitz <pierre@archlinux.de> | |||||
2010-12-05 | Style changes: add parentheses around print "...". | Rémy Oudompheng | 1 | -10/+10 | |
Signed-off-by: Pierre Schmitz <pierre@archlinux.de> | |||||
2010-12-05 | Style changes: remove usage of the 'has_key' method. | Rémy Oudompheng | 1 | -11/+11 | |
Signed-off-by: Pierre Schmitz <pierre@archlinux.de> | |||||
2010-12-02 | db-update: Fail if a set of split packages is incomplete | Pierre Schmitz | 3 | -1/+83 | |
2010-11-27 | Fix test: copy target of symlinks | Pierre Schmitz | 1 | -2/+2 | |
2010-11-25 | create-filelists: Improve performance by reading package list from db ↵ | Pierre Schmitz | 1 | -5/+4 | |
instead from fs | |||||
2010-11-25 | update-web-db: Lock db and script | Pierre Schmitz | 1 | -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-25 | sourceballs: be nice | Pierre Schmitz | 1 | -0/+3 | |
2010-11-25 | Rewrote create-filelists | Pierre Schmitz | 2 | -66/+191 | |
* use correct locking of the repos * added test case * removes file lists of deleted packages * add compression independent symlink to files db |