1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-22 15:58:50 -05:00
pacman/doc
Xavier Chantry 5b51dbb11e Cleanup of _alpm_pkg_compare_versions.
* Change the return values to be more informative.

It was previously boolean, only indicating if a sync package was newer than
a local package.

Now it is a simple wrapper to vercmp, handling the force flag.

* Remove the verbose output from _alpm_pkg_compare_versions.

The "force" message is not so useful.
The "package : local (v1) is newer than repo (v2)" message can be moved to
-Su operation.
For the -S operation, it is better to have something like :
"downgrading package from v1 to v2"

* Don't display the "up to date -- skipping" and "up to date -- reinstalling"
messages, when the local version is newer than the sync one.

* Fix the behavior of --needed option to not skip a target when the local
version is newer, and clarify its description.

* Add a new alpm_pkg_has_force function

This allows us to access the pkg->force field like any other package fields.

Signed-off-by: Xavier Chantry <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
2008-08-23 08:47:07 -05:00
..
.gitignore doc: add symlink for repo-remove manpage on install 2008-01-05 14:37:24 -06:00
asciidoc.conf doc: rename manlink macro to linkman 2007-12-29 00:24:15 -06:00
Doxyfile Doxyfile : enable JAVADOC_AUTOBRIEF. 2008-04-29 15:51:48 -05:00
footer.txt Various updates needed prior to a new release 2008-06-08 13:50:01 -05:00
libalpm.3.txt doc: rename manlink macro to linkman 2007-12-29 00:24:15 -06:00
Makefile.am Allow use of GIT_VERSION in documentation dir 2008-06-08 17:26:02 -05:00
makepkg.8.txt makepkg: Clarify usage instructions for --allsource/--source 2008-08-04 13:02:58 -05:00
makepkg.conf.5.txt Make strip paths configurable 2008-07-20 19:06:14 -05:00
pacman.8.txt Cleanup of _alpm_pkg_compare_versions. 2008-08-23 08:47:07 -05:00
pacman.conf.5.txt doc: allow asciidoc to format the note 2008-08-07 13:11:20 -05:00
PKGBUILD-example.txt Various updates needed prior to a new release 2008-06-08 13:50:01 -05:00
PKGBUILD.5.txt Add information on version comparison to manpages 2008-06-19 19:28:56 -05:00
repo-add.8.txt scripts: add -q/--quiet option to repo-add and repo-remove 2008-05-10 00:48:55 -05:00