perkeep/pkg
mpl c81f3147f6 pkg/index: write relevant keys when receiving a delete claim
This change:

1) Checks if the incoming claim is a delete claim with the use
of GetBlobMeta.

2) write the keyDeleted and keyDeletes keys when it's a delete
claim, plus the usual keys when the target is a permanode.

Yet to be done in the next CLs:
1) update the index deletes cache upon reception of a delete claim
2) update most of the search functions so they use deletedAt properly
3) add new keys necessary for GetRecentPermanodes to give a fully
correct result.

I also made indextest.DumpIndex public because it turned to be useful
to debug within pkg/search/ as well.

http://camlistore.org/issue/191

Change-Id: I8d8b9d12a535b8b1de0018b4a0e359241f14d52a
2013-11-19 18:02:12 +01:00
..
auth auth: don't fail IPv6 test if host can't resolve localhost to [::1] 2013-10-21 21:20:43 +01:00
blob blob: add RefFromString 2013-10-25 00:22:10 -07:00
blobserver blobserver/localdisk: fixed build problems on non-Windows 2013-11-06 11:43:44 +01:00
buildinfo More docs 2013-07-07 18:52:14 -07:00
cacher all: delete pkg/blobref; convert all from *blobref.BlobRef to new blob.Ref 2013-08-03 19:54:30 -07:00
camerrors sync: delay copy retry on specific errors 2013-08-30 19:51:04 +02:00
client client: clean up. finish moving all Android stuff to pkg/client/android 2013-10-26 11:08:34 -07:00
cmdmain More docs 2013-07-07 18:52:14 -07:00
errorutil errorutil: write docs 2012-04-13 15:51:39 -07:00
fileembed More docs 2013-07-07 18:52:14 -07:00
fs use syncutil.Group and syncutil.Gate for paralellizing blobserver stats/removes 2013-10-10 21:52:12 +02:00
googlestorage Adding Google Drive as a storage backend experimentally. No cheap-enough way 2013-08-17 15:30:02 +02:00
httputil httputil: set the headers before writing them 2013-11-08 02:06:27 +01:00
images Document environment variables usage. 2013-09-06 21:54:03 -07:00
importer Actually import the first 100 photos from Flickr. 2013-11-17 21:58:06 -08:00
index pkg/index: write relevant keys when receiving a delete claim 2013-11-19 18:02:12 +01:00
jsonconfig jsonconfig: special-case USER env var expansion on Windows 2013-08-28 12:27:09 -07:00
jsonsign search/index: invert depedency. search now depends on index. 2013-11-16 15:00:30 -08:00
kvutil camput: have cache and stat cache based on github.com/cznic/kv 2013-08-30 23:54:22 +02:00
leak Add pkg/leak, to help find leaks. 2013-09-12 17:51:09 +01:00
lru More docs. Every package is documented now. 2013-07-07 21:12:30 -07:00
magic support thumbnailing or CR2 files 2013-09-09 23:49:07 +10:00
misc Support alternate S3 hostnames 2013-09-01 09:50:35 -07:00
netutil localhost auth: resolve localhost to [::1] if using ipv6 2013-10-21 17:02:03 +01:00
osutil use XDG_CACHE_HOME for cache if set 2013-10-17 12:50:03 +01:00
readerutil diskpacked: re-use fds when possible when reading blobs from pack files. 2013-10-10 20:06:30 -10:00
rollsum rollsum: add OnSplitWithBits 2013-06-09 19:48:30 +02:00
schema schema: missing claimType conversion 2013-11-04 22:57:05 +01:00
search query: make all tests test in all three modes. 2013-11-17 20:20:27 -08:00
server Work around lack of cgo when cross-compiling to arm. 2013-11-16 22:22:48 -08:00
serverconfig Revert "Revert "Add genconfig support for flickr importer"" 2013-11-17 14:15:12 -08:00
singleflight singleflight: open soure this package. 2013-01-05 16:23:53 -08:00
strutil New package: strutil 2013-11-17 19:31:12 -08:00
syncutil Add syncutil.Group: an easy way to do multiple things at once. 2013-09-12 16:18:39 +01:00
test index: change GetOwnerClaims interface for efficiency, rename to AppendClaims 2013-11-17 14:54:30 -08:00
throttle More docs. Every package is documented now. 2013-07-07 21:12:30 -07:00
types Put claims in memory too for in-memory search. Required index schema version bump. 2013-11-17 16:52:51 -08:00
webserver Document environment variables usage. 2013-09-06 21:54:03 -07:00
.gitignore Update from r60 to [almost] Go 1. 2012-02-18 21:53:06 -08:00