#
45b72f4c |
| 24-Dec-2023 |
Augustin Cavalier <waddlesplash@gmail.com> |
pkgman: Use natural sorting in "search" output.
Fixes #18676.
|
#
da8162be |
| 18-Sep-2022 |
Niels Sascha Reedijk <niels.reedijk@gmail.com> |
Merge branch 'master' into dev/netservices
Change-Id: Ic4c065b9a76fcabd6450dd1ab5882510f922a128
|
#
8fc394c1 |
| 04-Sep-2022 |
Oscar Lesta <oscar.lesta@gmail.com> |
pkgman: change default search scope
* Reduce default search scope to: "name", "summary", and "provides". * Add a new "--search-scope=<scope>" option that allows to either limit the search to packa
pkgman: change default search scope
* Reduce default search scope to: "name", "summary", and "provides". * Add a new "--search-scope=<scope>" option that allows to either limit the search to packages names (-s name), or to replicate the previous behavior of searching everywhere in the package info (-s full).
Motivation for the change:
The ever increasing number of packages available for Haiku was impacting pkgman search usefulness, as it easily returns too many packages (what a wonderful problem to have :-D).
Limiting the default search scope helps with that, and the old behavior is kept "just an option away".
Change-Id: I5b456b90137237134eee7ca7ee501bf8e3767440 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5616 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
show more ...
|
#
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 value
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>
show more ...
|
#
c302a243 |
| 23-Dec-2015 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
Merge remote-tracking branch 'upstream/master' into intel-extreme
|
#
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.
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.
show more ...
|
#
5df58b52 |
| 30-Nov-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Move TextTable from pkgman to libshared
|
#
bf5786eb |
| 27-Nov-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
pkgman search: Add -D/--details
* Add a detailed listing mode (-D/--details), which prints a table with repository/installation location name, package name, package version, package architecture
pkgman search: Add -D/--details
* Add a detailed listing mode (-D/--details), which prints a table with repository/installation location name, package name, package version, package architecture. * Make the normal listing more compact. Now there's only one row per package. The "Installed" column has been replaced by "Status" which displays if/where the package is installed and whether it matches the repository version.
show more ...
|
#
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 refe
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.
show more ...
|
#
9f81ca83 |
| 27-Sep-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merge branch 'package-management'
Conflicts: src/preferences/network/Jamfile
|
#
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
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.
show more ...
|
#
c92aabd4 |
| 29-Aug-2013 |
Oliver Tappe <zooey@hirschkaefer.de> |
Fix build of pkgman with gcc2.
* I have no idea why, but gcc2 considers BSolverRepository* and PackageManager::InstalledRepository* as distinct pointer types, which it doesn't like to compare wi
Fix build of pkgman with gcc2.
* I have no idea why, but gcc2 considers BSolverRepository* and PackageManager::InstalledRepository* as distinct pointer types, which it doesn't like to compare without a cast. Circumvent by static casting to BSolverRepository*.
show more ...
|
#
8b26ef67 |
| 26-Aug-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
pkgman: PackageManager: Use flags instead of bools in ctor
|
#
c4ce29a6 |
| 25-Aug-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
pkgman search: enable search in ~/config
|
#
0214aefd |
| 25-Aug-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
pkgman search: add -a/--all
Can be specified instead of a search string. Lists all packages.
|
#
9a19dcd7 |
| 14-Aug-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
pkgman search: '-i' option wasn't handled
|
#
458a86aa |
| 21-Apr-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
pkgman: Organize commands by category
|
#
3ac0de3b |
| 21-Apr-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
pkgman: Refactoring -> PackageManager
Move common and reusable functionality from "search" and "install" to new PackageManager class.
|
#
38e528bb |
| 11-Apr-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
pkgman: C++-ify the command handling
There's now a Command class that must be derived and registered with a CommandManager, all simplified by a REGISTER_COMMAND macro. That gets rid of the print_com
pkgman: C++-ify the command handling
There's now a Command class that must be derived and registered with a CommandManager, all simplified by a REGISTER_COMMAND macro. That gets rid of the print_command_usage_and_exit() function copy for every command, moves the short usage texts to the command implementations, and avoids any repetition of the command name. When implementing a new command only a new source file needs to be created, nothing else needs to be touched.
show more ...
|
#
663e351c |
| 11-Apr-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
BSolver/pkgman: Support for searching in provides
* BSolver/LibsolvSolver: * Add B_FIND_IN_NAME and make searching in the names explicit. * Add B_FIND_IN_PROVIDES to search the packages' provide
BSolver/pkgman: Support for searching in provides
* BSolver/LibsolvSolver: * Add B_FIND_IN_NAME and make searching in the names explicit. * Add B_FIND_IN_PROVIDES to search the packages' provides list. * pkgman: Also search in provides.
show more ...
|
#
dd46d981 |
| 11-Apr-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
pkgman: Add "search" command
|
#
af585d03 |
| 20-Nov-2015 |
Jérôme Duval <jerome.duval@gmail.com> |
pkgman search: Add --requirements option
|