History log of /openbsd-src/usr.sbin/pkg_add/OpenBSD/PackageRepository/Cache.pm (Results 1 – 13 of 13)
Revision Date Author Comments
# 24b27aa0 16-Sep-2023 espie <espie@openbsd.org>

forgot to kill that


# 039cbdaa 13-Jun-2023 espie <espie@openbsd.org>

move to use v5.36;
tested by me over the last few weeks, and tb@
also fixed a "manual install" bug properly reported by tb@

aside that there should be *no functional change*.
If you see any message

move to use v5.36;
tested by me over the last few weeks, and tb@
also fixed a "manual install" bug properly reported by tb@

aside that there should be *no functional change*.
If you see any message like "hey, the number of params is wrong"
it is a fringe case I didn't run into and should be easy to fix.

show more ...


# efe01a68 29-May-2022 espie <espie@openbsd.org>

final part of caching for always-update: the new annotation doesn't need
any specific handling.


# 7e0525b7 20-May-2022 espie <espie@openbsd.org>

as promised, extend the precaching using quirks stems extension.

(as it happens, some py-sip thingy got the treatment so I could test
that the code does something) !


# 02e7a1dd 16-May-2022 espie <espie@openbsd.org>

document failed experiment


# 2f1f6f8e 12-May-2022 espie <espie@openbsd.org>

ditch the ...


# 2a836339 11-May-2022 espie <espie@openbsd.org>

tweak header


# 326e254e 11-May-2022 espie <espie@openbsd.org>

locate yields information in sorted order (of course)
so I can show a percentage of cached names already handled.


# 2dc79e6b 29-Apr-2022 espie <espie@openbsd.org>

finally, turn on caching by default

change the defines:
TEST_CACHING -> !NO_CACHING
TEST_CACHING_VERBOSE -> CACHING_VERBOSE
TEST_CACHING_RECHECK -> CACHING_RECHECK

okay with sthen@


# 9cba69bf 20-Apr-2022 espie <espie@openbsd.org>

likewise for set flavors


# 5b728e88 20-Apr-2022 espie <espie@openbsd.org>

zap branch info so that pre-caching works with stuff like autoconf%2.64


# 7846a249 19-Apr-2022 espie <espie@openbsd.org>

next iteration: make the support dependent on TEST parameters
-DTEST_CACHING: try the cache
-DTEST_CACHING_VERBOSE: make it say what it does
-DTEST_CACHING_RECHECK: don't trust the cache and compare

next iteration: make the support dependent on TEST parameters
-DTEST_CACHING: try the cache
-DTEST_CACHING_VERBOSE: make it say what it does
-DTEST_CACHING_RECHECK: don't trust the cache and compare the extracted
value with the actual package contents (thus making it slower once again)

Quite a few more checks along the way, in general

show more ...


# 217f4ef4 16-Apr-2022 espie <espie@openbsd.org>

refactor the code so that caching is setup in the repository that's
linked to quirks during do_quirks.

then add a pre-cache that does run locate once on the full list of things
we want to update/ins

refactor the code so that caching is setup in the repository that's
linked to quirks during do_quirks.

then add a pre-cache that does run locate once on the full list of things
we want to update/install (assuming "regular" pkgsets, that is, where the
names are the ones we want).

Then the actual fetching of caching info will look in that pre-cache before
resorting to locate itself (or going straight to the wire).

The code isn't active yet, the XXX comment in
OpenBSD/PackageRepository/Installed.pm
says it all.

show more ...