#
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>
|
#
dfbf1c8a |
|
02-Aug-2019 |
Augustin Cavalier <waddlesplash@gmail.com> |
Package Kit: Avoid discarding potential error values. Spotted by Clang and the [[nodiscard]] patch.
|
#
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
|
#
e711e6e4 |
|
18-May-2015 |
Axel Dörfler <axeld@pinc-software.de> |
Moved BJob, and JobQueue into the support kit. * Put it in the BSupportKit namespace, following the style introduced with the package kit for now. * The BSupportKit::BJob class no longer knows about the package kit's Context class. However, the BPackageKit::BJob class does. * Due to the namespace juggling, a lot of files had to be touched. * The JobQueue class remains private. * Due to the way Haiku is built on itself, you cannot build this change under Haiku with an older release.
|
#
0d68f6af |
|
09-Feb-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Implemented repository writing: * fleshed out RepositoryWriterImpl * renamed BRepositoryHeader to BRepositoryInfo (in accordance with BPackageInfo) * adjusted BRepositoryInfo to be able to parse itself from a driver_settings file * added package_repo binary (only 'create' works as of yet) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40405 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
733c783d |
|
25-Jan-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
more work on package kit: * rip BRepositoryHeader out of BRepositoryConfig and add support for it to BRepositoryCache * implement repository removal * some minor cleanups git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40290 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
|
#
11a4ecfd |
|
22-Jan-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
* added support for interactive decisions to package kit and pkgman git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40268 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
|
#
e711e6e42fd7ec3111ba9dc2324fa8efedd6674b |
|
18-May-2015 |
Axel Dörfler <axeld@pinc-software.de> |
Moved BJob, and JobQueue into the support kit. * Put it in the BSupportKit namespace, following the style introduced with the package kit for now. * The BSupportKit::BJob class no longer knows about the package kit's Context class. However, the BPackageKit::BJob class does. * Due to the namespace juggling, a lot of files had to be touched. * The JobQueue class remains private. * Due to the way Haiku is built on itself, you cannot build this change under Haiku with an older release.
|
#
0d68f6afb34d8e01421123b216e34771d1c7fbfe |
|
09-Feb-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Implemented repository writing: * fleshed out RepositoryWriterImpl * renamed BRepositoryHeader to BRepositoryInfo (in accordance with BPackageInfo) * adjusted BRepositoryInfo to be able to parse itself from a driver_settings file * added package_repo binary (only 'create' works as of yet) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40405 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
733c783dc9cce693795e43d5bfec7b5ce4fd32f8 |
|
25-Jan-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
more work on package kit: * rip BRepositoryHeader out of BRepositoryConfig and add support for it to BRepositoryCache * implement repository removal * some minor cleanups git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40290 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
|
#
11a4ecfd82c31ded8ba33ad2ac5f5a6538b7fa40 |
|
22-Jan-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
* added support for interactive decisions to package kit and pkgman git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40268 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
|