#
aa272ca3 |
|
01-May-2020 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
Package Kit: reduce identifer/base-url confusion For historical reasons, the package kit has an "url" field that is not actually meant to be used as an URL. Rename it in the API and user facing output as "identifier" to make it clear what the file is used for. This change preserves the "url" key in on-disk and online storage (hpkr files, stored settings, etc) in an attempt to not break anything. Fix one remaining misuse of the "url" field as an URL in get_package_dependencies. Add an unit test showing that BUrl does parse "tab" URIs properly (there is just a protocol and a path segment). Change-Id: I339ce526e5798d42d78ae650855d7e988dbb4a1a Reviewed-on: https://review.haiku-os.org/c/haiku/+/2542 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
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>
|
#
3b17d8dd |
|
27-Jun-2018 |
Andrew Lindesay <apl@lindesay.co.nz> |
HaikuDepot / PackageKit: Repositories 'Identifier' URL Repositories are identified with a 'url' in the remote 'repo.info' file. There is also a 'base url' which is the URL locally with which the system is able to access the repository data on. There is some confusion between these two terms in the source. This change aims to separate the two out and consistently name them. The settings for the repository locally also was not storing these values and that has been fixed. Debug info about the repositories also did not display the two urls consistently and will now also do so. Finally, HaikuDepot now correlates locally configured repositories with the data in HaikuDepotServer using the identifier URL; this makes the use of mirrors with HaikuDepot possible. Fixes #13888 Change-Id: I66dfe589b05c24e1ab123a6945352e0f24b60bf1
|
#
fda0bf77 |
|
09-Dec-2016 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
Revert "repo rework: Re-add compatibility url field" Revert "repo rework: Remove stubs; Breaks repo compat." Revert "repo rework: Remove need for repos to be self-aware" This reverts commit a2b2f4d6427914cdcdb59943dd8e4a0bfdcd53ee. This reverts commit 602076ef82647a48fd10f4d1ec830bb4242f9eb6. This reverts commit 5ffaf72c8a74a7eb6827e4d2b1f47c9360ddaefe. These changes break the build on Haiku and the ability to create repo mirrors, for the lack of a replacement for the URL (an UUID was evoked on the mailing lists, but not implemented). We are due for a release soon, please don't break the build.
|
#
5ffaf72c |
|
01-Dec-2016 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
repo rework: Remove need for repos to be self-aware * See #12917 for details. * Squashed to one commit to make revert easy if we run into any issues. * pkgman is now pre-attached to the 'current' repo version within nightly images so they can be updated by default. * This shouldn't impact us keeping older sets of package versions by commit hash for building older hrevs. * There are XXX stubs with "Kill me". These will need to be dropped after users are given sufficent time to upgrade. We're dropping a previously required field (url) so making this a slowish roll out. * Makes the repos a lot less restrictive which should help PM package building automation be a bit easier. * Once this stuff smooths out, we'll add UUID's to the repo definitions for duplicate repo detection.
|
#
71046951 |
|
28-Aug-2013 |
Oliver Tappe <zooey@hirschkaefer.de> |
Fix build of pkgman on x86_64 by use of B_PRI... define.
|
#
458a86aa |
|
21-Apr-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
pkgman: Organize commands by category
|
#
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_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.
|
#
9968845d |
|
16-Jul-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Use BStringList in package kit Replace all instances of BObjectList<BString> by BStringList.
|
#
4f5f15f0 |
|
16-Jul-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
BRepositoryCache: Add iteration, etc. * Remove InitCheck() and the initializing constructor. * Rename PackageCount() to CountPackages(). * Use BOpenHashTable instead of HashMap for the internal PackageMap. * Allow multiple packages with the same name. Equally named packages are in a singly linked list after the first package with that name. * Add an Iterator inner class and a GetIterator() method, so one can now iterate through the packages in the repository.
|
#
2021c984 |
|
16-Jul-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Use BStringList in package kit Replace all instances of BObjectList<BString> by BStringList.
|
#
10e1bc52 |
|
16-Jul-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
BRepositoryCache: Add iteration, etc. * Remove InitCheck() and the initializing constructor. * Rename PackageCount() to CountPackages(). * Use BOpenHashTable instead of HashMap for the internal PackageMap. * Allow multiple packages with the same name. Equally named packages are in a singly linked list after the first package with that name. * Add an Iterator inner class and a GetIterator() method, so one can now iterate through the packages in the repository.
|
#
ead4d20c |
|
15-Feb-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
* 'pkgman list-repo -v' now shows more detailed info (from repo-cache) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40510 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7d7ed9bf |
|
25-Jan-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Mostly style-related changes to package kit: * drop 'Haiku' namespace * rename 'Package' namespace to 'BPackageKit' * renamed all public classes to begin with a 'B' * renamed BPackageKit::Roster to BPackageKit::BPackageRoster to not clash with the BRoster from the application kit. * fix some instances of public headers including private ones Some functional changes, too: * JobQueue now removes and deletes dependants of failed jobs automatically * JobQueue supports waiting for jobs to become runnable * added a couple of InitCheck() methods where they make sense and invoke those in users of these classes git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40287 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
35edda8f |
|
24-Jan-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
* more work on the package kit, repositories can now be added and refreshed git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40280 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
500bb630 |
|
21-Jan-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
* WIP-commit of the first parts of the package kit and the pkgman (console-)tool git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40261 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
71046951f8e94f9a1264eb11442052ac7aa4535c |
|
28-Aug-2013 |
Oliver Tappe <zooey@hirschkaefer.de> |
Fix build of pkgman on x86_64 by use of B_PRI... define.
|
#
458a86aacb49b152f65b810140295477d49f2f31 |
|
21-Apr-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
pkgman: Organize commands by category
|
#
38e528bbc1c368456c8b8a94d6f21081934cc4f9 |
|
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_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.
|
#
9968845d6988000a9235d7eb09031e80d997f31d |
|
16-Jul-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Use BStringList in package kit Replace all instances of BObjectList<BString> by BStringList.
|
#
4f5f15f080a274d674119a49a3790ab0f6d234a1 |
|
16-Jul-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
BRepositoryCache: Add iteration, etc. * Remove InitCheck() and the initializing constructor. * Rename PackageCount() to CountPackages(). * Use BOpenHashTable instead of HashMap for the internal PackageMap. * Allow multiple packages with the same name. Equally named packages are in a singly linked list after the first package with that name. * Add an Iterator inner class and a GetIterator() method, so one can now iterate through the packages in the repository.
|
#
2021c9842e1e61a3bf0f6550725ec3baf53d44b1 |
|
16-Jul-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Use BStringList in package kit Replace all instances of BObjectList<BString> by BStringList.
|
#
10e1bc52678bd81eb2c9dd1de8661ecef0d22ee0 |
|
16-Jul-2011 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
BRepositoryCache: Add iteration, etc. * Remove InitCheck() and the initializing constructor. * Rename PackageCount() to CountPackages(). * Use BOpenHashTable instead of HashMap for the internal PackageMap. * Allow multiple packages with the same name. Equally named packages are in a singly linked list after the first package with that name. * Add an Iterator inner class and a GetIterator() method, so one can now iterate through the packages in the repository.
|
#
ead4d20c7a838a2c333fd3c39d085a5c9e437fdd |
|
15-Feb-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
* 'pkgman list-repo -v' now shows more detailed info (from repo-cache) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40510 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7d7ed9bf4bdd7bc31e31143c402c4f96a324b30b |
|
25-Jan-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Mostly style-related changes to package kit: * drop 'Haiku' namespace * rename 'Package' namespace to 'BPackageKit' * renamed all public classes to begin with a 'B' * renamed BPackageKit::Roster to BPackageKit::BPackageRoster to not clash with the BRoster from the application kit. * fix some instances of public headers including private ones Some functional changes, too: * JobQueue now removes and deletes dependants of failed jobs automatically * JobQueue supports waiting for jobs to become runnable * added a couple of InitCheck() methods where they make sense and invoke those in users of these classes git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40287 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
35edda8f0befb8667b593e2314f6d555a7db44d8 |
|
24-Jan-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
* more work on the package kit, repositories can now be added and refreshed git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40280 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
500bb6305c339017d7d7302dc1f63ac90443f267 |
|
21-Jan-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
* WIP-commit of the first parts of the package kit and the pkgman (console-)tool git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40261 a95241bf-73f2-0310-859d-f6bbb57e9c96
|