#
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.
|
#
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
|
#
3381a1bf |
|
28-Aug-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
pkgman uninstall: improve correctness ... with respect to inter-installation-location dependencies. E.g. uninstalling a package from common should only uninstall packages depending on it, when system doesn't still provide those dependencies. We don't consider uninstalling packages from more specific installation locations when dependencies are uninstalled from a more general one yet.
|
#
8b26ef67 |
|
25-Aug-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
pkgman: PackageManager: Use flags instead of bools in ctor
|
#
f118c414 |
|
25-Aug-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
pkgman [un]install: fix option '-H'
|
#
458a86aa |
|
21-Apr-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
pkgman: Organize commands by category
|
#
df2685d8 |
|
20-Apr-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
pkgman: Add "uninstall" 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.
|
#
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
|
#
3381a1bf81eb9d0c21e37cb031ab4b436294cbdf |
|
28-Aug-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
pkgman uninstall: improve correctness ... with respect to inter-installation-location dependencies. E.g. uninstalling a package from common should only uninstall packages depending on it, when system doesn't still provide those dependencies. We don't consider uninstalling packages from more specific installation locations when dependencies are uninstalled from a more general one yet.
|
#
8b26ef6779119ba64f5de3ce47ea4cac154ab4e8 |
|
25-Aug-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
pkgman: PackageManager: Use flags instead of bools in ctor
|
#
f118c41467a62881ec1ae0ba61fecbbc43cf4048 |
|
25-Aug-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
pkgman [un]install: fix option '-H'
|
#
458a86aacb49b152f65b810140295477d49f2f31 |
|
21-Apr-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
pkgman: Organize commands by category
|
#
df2685d885f3b940bc04b1cf5f39511ce6750ddf |
|
20-Apr-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
pkgman: Add "uninstall" command
|