[pacman-dev] [GIT] The official pacman repository branch, master, updated. v3.2.2-163-g0bf340f
Dan McGee
dan at archlinux.org
Tue May 19 00:12:32 EDT 2009
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 0bf340f73c1b1705ab9314955c931a83e15fecb3 (commit)
via 882bff36acad5c47df5b35fd3afb411dc4f092b0 (commit)
via f89f7e136ba8d923680a6d0342d5e51d4fda1570 (commit)
from 212ea8a9ed342efe2d74655cdebf668cc0cc7ce2 (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 0bf340f73c1b1705ab9314955c931a83e15fecb3
Author: Nagy Gabor <ngaba at bibl.u-szeged.hu>
Date: Sat Apr 18 17:35:08 2009 +0200
Remove unused error codes and handle PM_ERR_RETRIEVE by alpm_strerror()
Signed-off-by: Nagy Gabor <ngaba at bibl.u-szeged.hu>
Signed-off-by: Dan McGee <dan at archlinux.org>
commit 882bff36acad5c47df5b35fd3afb411dc4f092b0
Author: Nagy Gabor <ngaba at bibl.u-szeged.hu>
Date: Mon Apr 13 15:08:38 2009 +0200
Remove find_replacements()
"Foo replaces bar" simply means that "foo is a new version of bar".
So this patch refactors the code to use this "rule".
_alpm_sync_sysupgrade now does the following for each local package [bar]
(pseudo-code):
for db in syncdbs {
if(db contains bar) {check if db/bar is an upgrade; break;}
replacers = find(bar replacers in db);
if(replacers!=NULL) {ask_user; break;}
}
Note:
1. Replacers are grouped per repo. If more than one package replace bar in
a repo, all of them are considered ("package set of bar replacers").
2. If repo1/foo1 and repo2/foo2 both replaces bar, only repo1/foo1 is
considered (if repo1 stands before repo2 in pacman.conf). FS#11737 is fixed.
3. It can happen that pacman doesn't consider any replacer, if it found a
literal "earlier", so sync132.py modified accordingly (btw, that situation
should not appear irl).
The new sysupgrade code doesn't use sync_newversion(), so I removed the
"local is newer than repo" message, which was annoying with -Qu and
SyncFirst.
Signed-off-by: Nagy Gabor <ngaba at bibl.u-szeged.hu>
Signed-off-by: Dan McGee <dan at archlinux.org>
commit f89f7e136ba8d923680a6d0342d5e51d4fda1570
Author: Nagy Gabor <ngaba at bibl.u-szeged.hu>
Date: Thu May 14 16:15:20 2009 +0200
Query documentation updates
The old documentation didn't emphasize our filtering options at all, and it
was a bit misleading. ("List ALL...")
I also clarified the description of -Qu.
Signed-off-by: Nagy Gabor <ngaba at bibl.u-szeged.hu>
Signed-off-by: Dan McGee <dan at archlinux.org>
-----------------------------------------------------------------------
Summary of changes:
doc/pacman.8.txt | 28 ++++---
lib/libalpm/alpm.h | 9 --
lib/libalpm/error.c | 17 +----
lib/libalpm/sync.c | 200 ++++++++++++++++++---------------------------
pactest/tests/sync132.py | 4 +-
src/pacman/pacman.c | 10 +-
6 files changed, 106 insertions(+), 162 deletions(-)
hooks/post-receive
--
The official pacman repository
More information about the pacman-dev
mailing list