This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "The official pacman repository". The branch, master has been updated via 27e8f06e0335ca560a3d0a261cc1979dbc1caad9 (commit) via 4d291508c2c24d058d0e00ca9588c6c81b24bc92 (commit) via d16a5ae7ddf358c45280a56bc81ed67841a7476f (commit) via 6e71922e6c918de9b60d2e9b1585835421738437 (commit) via a99e7272b8703e54b3c96ac0fdb7fe7eacfabbe8 (commit) via b3d71bf7d0ef8f577114bc39abecdc7ade0395dd (commit) via cda7d7847f3434959ef077ec6eb78ea4b2078a5a (commit) via c91bd3dda9540bb80f9e73fed87eee69b4675977 (commit) via 61864e1f6f51549c3b32c0d82b8c9deacea3ed73 (commit) from 32727efc38bf5376a402c4c4149cc4148ba2068b (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 27e8f06e0335ca560a3d0a261cc1979dbc1caad9 Author: Dan McGee <dan@archlinux.org> Date: Sat Jan 22 14:29:02 2011 -0600 Query fileowner performance improvements Clean up some of the code by doing less string copying and printing. This is accomplished by either doing it after we know we need it, or taking advantage of the fact that some strings never change such as the root directory prefix. Also, fix an issue where a file at the root level (e.g. /foobar) could not be queried. End result is a much faster user experience when combined with the mbasename() changes. These timings are for looking up 113 files in /etc/, some of which are owned and some which are not. $ find /etc -maxdepth 1 -type f | xargs time pacman -Qo >/dev/null 6.10user 0.05system 0:06.17elapsed 99%CPU (0avgtext+0avgdata 131040maxresident)k 0inputs+0outputs (0major+9436minor)pagefaults 0swaps $ find /etc -maxdepth 1 -type f | xargs time ./src/pacman/.libs/lt-pacman -Qo >/dev/null 0.86user 0.04system 0:00.92elapsed 99%CPU (0avgtext+0avgdata 131120maxresident)k 0inputs+0outputs (0major+9436minor)pagefaults 0swaps I'll take a 600% increase in speed. Signed-off-by: Dan McGee <dan@archlinux.org> commit 4d291508c2c24d058d0e00ca9588c6c81b24bc92 Author: Dan McGee <dan@archlinux.org> Date: Sat Jan 22 14:20:42 2011 -0600 Improve mbasename performance Rather than roll our own, use strrchr() instead, which glibc may have a better implementation than the simple iteration method we were using. Signed-off-by: Dan McGee <dan@archlinux.org> commit d16a5ae7ddf358c45280a56bc81ed67841a7476f Merge: 6e71922 cda7d78 Author: Dan McGee <dan@archlinux.org> Date: Sat Jan 22 16:32:34 2011 -0600 Merge branch 'backup-status' commit 6e71922e6c918de9b60d2e9b1585835421738437 Author: Dan McGee <dan@archlinux.org> Date: Sat Jan 22 16:22:01 2011 -0600 Add a few new provides tests These deal with already-installed packages and how they should be the preferred provider in cases where provider selection now occurs. A few involve multiple sync repos. Signed-off-by: Dan McGee <dan@archlinux.org> commit a99e7272b8703e54b3c96ac0fdb7fe7eacfabbe8 Author: Dan McGee <dan@archlinux.org> Date: Sat Jan 22 16:11:33 2011 -0600 pactest: sort repos by alpha order in config file The order was non-deterministic before, and just happened to work for sync023.py as it was written. Ensure there is some sort of predictable ordering. Signed-off-by: Dan McGee <dan@archlinux.org> commit b3d71bf7d0ef8f577114bc39abecdc7ade0395dd Author: Dan McGee <dan@archlinux.org> Date: Sat Jan 22 16:28:43 2011 -0600 pactest: use new-style python classes Signed-off-by: Dan McGee <dan@archlinux.org> commit cda7d7847f3434959ef077ec6eb78ea4b2078a5a Author: Dan McGee <dan@archlinux.org> Date: Sat Jan 22 11:38:34 2011 -0600 Be smarter about failure to read backup file contents Instead of always printing MISSING, we can switch on the errno value set by access() and print a more useful string. In this case, handle files we can't read by printing UNREADABLE, print MISSING on ENOENT, and print UNKNOWN for anything else. Fixes FS#22546. Signed-off-by: Dan McGee <dan@archlinux.org> commit c91bd3dda9540bb80f9e73fed87eee69b4675977 Author: Dan McGee <dan@archlinux.org> Date: Wed Jan 12 00:06:39 2011 -0600 Mark backup status strings as untranslated And also change "Not Modified" -> "UNMODIFIED" for consistency. This makes it a lot easier to machine-parse this and not worry about locale differences. Signed-off-by: Dan McGee <dan@archlinux.org> commit 61864e1f6f51549c3b32c0d82b8c9deacea3ed73 Author: Dan McGee <dan@archlinux.org> Date: Wed Jan 12 00:05:22 2011 -0600 Refactor backup file status check into separate function This will make it a lot easier to use this stuff elsewhere. Signed-off-by: Dan McGee <dan@archlinux.org> ----------------------------------------------------------------------- Summary of changes: src/pacman/package.c | 69 ++++++++++++++++++++++++------------- src/pacman/query.c | 48 +++++++++++++++++-------- src/pacman/util.c | 18 +++------- src/pacman/util.h | 2 +- test/pacman/pmdb.py | 2 +- test/pacman/pmenv.py | 2 +- test/pacman/pmfile.py | 2 +- test/pacman/pmpkg.py | 2 +- test/pacman/pmrule.py | 2 +- test/pacman/pmtest.py | 2 +- test/pacman/tests/provision002.py | 22 ++++++++++++ test/pacman/tests/provision003.py | 23 ++++++++++++ test/pacman/tests/provision004.py | 21 +++++++++++ test/pacman/tests/sync023.py | 3 +- test/pacman/util.py | 5 ++- 15 files changed, 162 insertions(+), 61 deletions(-) create mode 100644 test/pacman/tests/provision002.py create mode 100644 test/pacman/tests/provision003.py create mode 100644 test/pacman/tests/provision004.py hooks/post-receive -- The official pacman repository