perkeep/internal
mpl 8b30515218 internal/geocode: change Lookup behavior wrt to AltLookupFn
Even when AltLookupFun was defined, Lookup used to fallthrough after the
AltLookupFn, depending on what AltLookupFn returned.
This means in some cases, our tests in pkg/search did end up calling the
Google API (which was not intended). We found out because with the new
dependency on an API key for the Google service, we now rely on reading
the key from the config dir, which is wired to panic if it is accessed
during tests.

This change therefore simplifies Lookup, by making it return the results
of the AltLookupFn call, if AltLookupFn exists.

Change-Id: Ie196f892f36d309c725a6e869094364d49cffdc8
2018-04-25 18:01:39 -07:00
..
amazon/s3 all: various lint fixes 2018-02-05 11:59:00 -08:00
azure/storage all: more renaming of Camlistore to Perkeep 2018-01-30 03:02:56 -08:00
chanworker all: rename remaining occurrences of camput 2018-04-21 16:20:24 -07:00
closure all: more renaming of Camlistore to Perkeep 2018-01-30 03:02:56 -08:00
geocode internal/geocode: change Lookup behavior wrt to AltLookupFn 2018-04-25 18:01:39 -07:00
gpgagent all: update copyright holder from Google Inc to The Perkeep Authors 2018-01-03 16:52:49 -08:00
hashutil all: make server advertise when it has legacy SHA-1 indexes, use that info 2018-01-31 01:10:52 +01:00
httputil all: rename remaining occurrences of camput 2018-04-21 16:20:24 -07:00
images all: more log spam & logging consistency cleanup 2018-04-22 11:30:02 -07:00
leak all: update copyright holder from Google Inc to The Perkeep Authors 2018-01-03 16:52:49 -08:00
lru blobserver: change BlobStatter interface, simplify proxycache 2018-01-08 16:54:52 -08:00
magic internal/magic: recognize heic images 2018-04-11 15:27:36 -07:00
media all: various lint fixes 2018-02-05 11:59:00 -08:00
netutil all: various lint fixes 2018-02-05 11:59:00 -08:00
osutil Merge "cmd: rename camget to pk-get, and make it a mode of pk" 2018-04-23 03:52:06 +00:00
pinentry all: update copyright holder from Google Inc to The Perkeep Authors 2018-01-03 16:52:49 -08:00
pools Move some packages from perkeep.org/pkg to perkeep.org/internal 2018-01-01 20:54:48 -08:00
rollsum all: various lint fixes 2018-02-05 11:59:00 -08:00
testhooks all: make server advertise when it has legacy SHA-1 indexes, use that info 2018-01-31 01:10:52 +01:00
video/thumbnail all: various lint fixes 2018-02-05 11:59:00 -08:00