[pacman-dev] [GIT] pacman branch, master now at v3.0.0-427-g2198087
Hello, This is an automated email from the git hooks/update script, it was generated because a ref change was pushed to the repository. Updating branch, master, via 219808714f94788a66a430786c552f60e95b1a01 (commit) via d2edcb58e2252f90447694acc7736c0ba5b1f01e (commit) via 16cb8e6e61c542731814192fc03e3988c7a26325 (commit) via f7bbfe4052ca1060d2d1021dacd77923d8ab6786 (commit) via 0758012b6617fd25f3af84853611b9adaf65f674 (commit) via 679eff90cc94593ff24f1927c40843865252c3ca (commit) via a6b58638d12300d826e47697aa7bdc012b7f6684 (commit) via fc0e83f05b29f57accb49544dabe856968349b3a (commit) from 012f7939784358b02726c169543aa99436439335 (commit) - Log ----------------------------------------------------------------- commit 219808714f94788a66a430786c552f60e95b1a01 Author: Dan McGee <dan@archlinux.org> Date: Thu Sep 27 23:39:37 2007 -0500 Add 'full' parameter to alpm_pkg_load In most cases, we want to fully scan a package when we load it, which serves as a integrity verification check. However, there are times when it is only desired to read the metadata and nothing else, so allow the caller of pkg_load to choose the behavior they need. This pays big dividends in speeding up pacman cache cleaning functionality. Old (729 packages): real 1m43.717s user 1m20.785s sys 0m2.993s New (729 packages): real 0m25.607s user 0m19.389s sys 0m0.543s Signed-off-by: Dan McGee <dan@archlinux.org> commit d2edcb58e2252f90447694acc7736c0ba5b1f01e Author: Dan McGee <dan@archlinux.org> Date: Thu Sep 27 22:47:25 2007 -0500 Update comments dealing with pkgext/dbext stripping pacman/callback.c already did the work I set out to do with this commit, so update the comments accordingly in the frontend and backend. Signed-off-by: Dan McGee <dan@archlinux.org> commit 16cb8e6e61c542731814192fc03e3988c7a26325 Author: Dan McGee <dan@archlinux.org> Date: Tue Sep 25 22:07:36 2007 -0500 Reimplement pacman cache cleaning the right way Partial cache cleaning was eliminated in a previous commit because it relied on package naming conventions. Re-add it the correct way- we actually open up each package in the cache and get a name and version out of it. If the name and version match that of an installed package, keep it. If the package is not installed or the version does not match the locally-installed version, get rid of it. This can easily be modified if some other heuristic of keeping and removing packages is desired, or if we should clean out the cache dir of any files that are not packages, etc. The biggest current problem with this new approach- speed. Here is one run on my local machine, going from 1643 to 729 packages in the cache (753 in the local DB): real 4m25.829s user 3m22.527s sys 0m6.713s This is likely best addressed by the package loading scheme, which may be loading the entirety of each package archive, which is a waste when we only need the .PKGINFO file read. Signed-off-by: Dan McGee <dan@archlinux.org> commit f7bbfe4052ca1060d2d1021dacd77923d8ab6786 Author: Dan McGee <dan@archlinux.org> Date: Sun Jun 17 23:25:07 2007 -0400 Remove package name dependency from libalpm Previously, package names must match a specified scheme or they will cause pacman add operations to fail. This is not a very intelligent or necessary way to act, so remove the dependency on the name of the package to be installed and read all relevant information from the metadata instead. This does have one causality to be addressed later- pacman cache cleaning functionality, which has never been phenomenal, just lost most capability. Signed-off-by: Dan McGee <dan@archlinux.org> commit 0758012b6617fd25f3af84853611b9adaf65f674 Author: Dan McGee <dan@archlinux.org> Date: Fri Sep 28 00:15:10 2007 -0500 libalpm: Add newline to alpm log function output Signed-off-by: Dan McGee <dan@archlinux.org> commit 679eff90cc94593ff24f1927c40843865252c3ca Author: Dan McGee <dan@archlinux.org> Date: Thu Sep 27 22:13:33 2007 -0500 Mirrorlist updates Signed-off-by: Dan McGee <dan@archlinux.org> commit a6b58638d12300d826e47697aa7bdc012b7f6684 Author: Chantry Xavier <shiningxc@gmail.com> Date: Wed Sep 26 18:59:40 2007 +0200 document the -Qii option. I suppose -Qii could be used for other things than displaying the list of backup files, but currently, it's the only one, so that's how I documented it.. Signed-off-by: Chantry Xavier <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org> commit fc0e83f05b29f57accb49544dabe856968349b3a Author: Dan McGee <dan@archlinux.org> Date: Tue Sep 25 23:02:30 2007 -0500 Preliminary support for optdepends Add some alpm functions for getting optdepends, have makepkg include them in the PKGINFO file, and have a pacman -Qi operation display the raw string as stored by libalpm. Signed-off-by: Dan McGee <dan@archlinux.org> ----------------------------------------------------------------------- Diffstat: doc/pacman.8.txt | 4 +- etc/pacman.d/mirrorlist.in | 14 ++--- lib/libalpm/add.c | 47 +++---------- lib/libalpm/alpm.h | 12 +--- lib/libalpm/be_files.c | 54 ++++++++++++++- lib/libalpm/log.h | 2 +- lib/libalpm/package.c | 160 +++++++++++++------------------------------- lib/libalpm/package.h | 4 +- lib/libalpm/server.c | 12 +--- scripts/makepkg.sh.in | 5 +- src/pacman/callback.c | 3 +- src/pacman/package.c | 1 + src/pacman/pacman.c | 2 +- src/pacman/query.c | 2 +- src/pacman/sync.c | 134 +++++++++++-------------------------- src/util/testpkg.c | 2 +- 16 files changed, 170 insertions(+), 288 deletions(-) hooks/update --- Git Source Code Management System hooks/update refs/heads/master \ 012f7939784358b02726c169543aa99436439335 \ 219808714f94788a66a430786c552f60e95b1a01
commit 679eff90cc94593ff24f1927c40843865252c3ca Author: Dan McGee <dan@archlinux.org> Date: Thu Sep 27 22:13:33 2007 -0500
Mirrorlist updates
Signed-off-by: Dan McGee <dan@archlinux.org>
The first Turkish mirror is outdated. Please either remove it or move after the new mirror. -- Roman Kyrylych (Роман Кирилич)
participants (2)
-
Dan McGee
-
Roman Kyrylych