History log of /haiku/src/bin/pkgman/command_update.cpp
Revision Date Author Comments
# 52a61976 03-Mar-2019 Andrew Lindesay <apl@lindesay.co.nz>

pkgman: fix for syntax (help)

The tool "pkgman" was not showing it's help text
and this seems to be somehow related to the
initialization of constants such as
"kCommandCategoryPackages"; these values seems to
be coming through as empty-string for some reason.
I am changing those to be "#define" of regular
C-Strings and this seems to resolve the problem.
These values only seem to be used to group the
possible commands for production of the syntax or
help text - there do not seem to be any deeper
impacts beyond that functionality.

Change-Id: If9cd61462cd7f1f1b5ab2ece521bb3f00a1ba246
Reviewed-on: https://review.haiku-os.org/c/1139
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# dd15db95 25-Oct-2014 Ingo Weinhold <ingo_weinhold@gmx.de>

pkgman: Add --debug option for most commands

* Add CommonOptions class and add an instance to Command. It supports a
debug level.
* full-sync, install, search, uninstall, update: Add option --debug.
This allows getting some debug output from the solver in cases where
the result seems weird.


# f9f8a8f5 15-Jun-2014 Ingo Weinhold <ingo_weinhold@gmx.de>

pkgman: Update some user messages


# 83f63a21 22-Nov-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

pkgman [un]install/update: Add non-interactive mode (-y)


# 4b7e2196 03-Oct-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Remove /boot/common for good

* Remove support for the "common" installation location from packagefs,
package kit, package daemon, package managers.
* Rename the B_COMMON_*_DIRECTORY constants referring to writable
directories to B_SYSTEM_*_DIRECTORY.
* Remove/adjust the use of various B_COMMON_*_DIRECTORY constants.
I'm sure some occurrence still remain. They can be adjusted when the
remaining B_COMMON_*_DIRECTORY constants are removed.


# 83462cc2 31-Aug-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Refactor reusable pkgman code into libpackage

* Move RepositoryBuilder class to libpackage and add B* prefix to name.
* Pull BPackageManager class out of PackageManager and move to
libpackage. The base class is customizable via three handler objects
responsible for transaction handling, request execution, respectively
user interaction.
* Reorganize _ApplyPackageChanges(): Now we first prepare the
transactions for all affected installation locations (downloading
files etc.) and then commit them.


# a54a50b4 28-Aug-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

pkgman: add support for [un]installing/updating in system


# ce4f3676 26-Aug-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

pkgman: auto-refresh repositories only for update/install


# 8b26ef67 25-Aug-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

pkgman: PackageManager: Use flags instead of bools in ctor


# a5999f6f 21-Apr-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

pkgman: Add "update" command


# dd15db954b893bd727a4ba5972bd2019d673f074 25-Oct-2014 Ingo Weinhold <ingo_weinhold@gmx.de>

pkgman: Add --debug option for most commands

* Add CommonOptions class and add an instance to Command. It supports a
debug level.
* full-sync, install, search, uninstall, update: Add option --debug.
This allows getting some debug output from the solver in cases where
the result seems weird.


# f9f8a8f56ecde660fe4455efae7535619212d0da 15-Jun-2014 Ingo Weinhold <ingo_weinhold@gmx.de>

pkgman: Update some user messages


# 83f63a216ee17213be3e9125c17f611bdb26e1b5 22-Nov-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

pkgman [un]install/update: Add non-interactive mode (-y)


# 4b7e219688450694efc9d1890f83f816758c16d3 03-Oct-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Remove /boot/common for good

* Remove support for the "common" installation location from packagefs,
package kit, package daemon, package managers.
* Rename the B_COMMON_*_DIRECTORY constants referring to writable
directories to B_SYSTEM_*_DIRECTORY.
* Remove/adjust the use of various B_COMMON_*_DIRECTORY constants.
I'm sure some occurrence still remain. They can be adjusted when the
remaining B_COMMON_*_DIRECTORY constants are removed.


# 83462cc28d356d564a818c1d34605ed2ec83f274 31-Aug-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

Refactor reusable pkgman code into libpackage

* Move RepositoryBuilder class to libpackage and add B* prefix to name.
* Pull BPackageManager class out of PackageManager and move to
libpackage. The base class is customizable via three handler objects
responsible for transaction handling, request execution, respectively
user interaction.
* Reorganize _ApplyPackageChanges(): Now we first prepare the
transactions for all affected installation locations (downloading
files etc.) and then commit them.


# a54a50b48e316421f2735e9c46219164e16dd8cd 28-Aug-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

pkgman: add support for [un]installing/updating in system


# ce4f36769285c1c491491dac6a909c76b7d761ad 26-Aug-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

pkgman: auto-refresh repositories only for update/install


# 8b26ef6779119ba64f5de3ce47ea4cac154ab4e8 25-Aug-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

pkgman: PackageManager: Use flags instead of bools in ctor


# a5999f6ff7fbadb4f8cc94f5e4283dacbf231a59 21-Apr-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

pkgman: Add "update" command