Commit Graph

20 Commits

Author SHA1 Message Date
Dan Willhite 43d9a6f4fb Remove commit lineage from datastore head.
Replace datastore head with a map of datasetID's to commits. Each commit in the map represents that dataset's head. Fixes #402. Fixes #60. Filed #404 about small window of potential conflict with updating root that needs to be resolved at some point. # Please enter the commit message for your changes. Lines starting
2015-10-14 11:04:13 -07:00
Dan Willhite d6b221444a Simplify logic in doCommit as per Raf's suggestions. Define ref.EmptyRef variable. 2015-10-12 10:53:12 -07:00
Rafael Weinstein 591026bcfa Chunk 2015-09-21 13:24:41 -07:00
Dan Willhite ab34143ba5 Pin dependencies using godep tool. Rewrite dep urls. 2015-08-26 14:05:40 -07:00
Rafael Weinstein 0e7d61efc6 Remove errors from ChunkStore and Ref 2015-08-18 16:24:26 -07:00
Aaron Boodman 214b37eccf Remove global imports of dbg package
Fixes #179
2015-08-08 23:57:37 -07:00
Chris Masone bd3a5ee878 Fix comments about hot paths to refer to a bug instead 2015-07-20 15:23:25 -07:00
Chris Masone 0c58895cde Add a few reminder comments about hot-paths 2015-07-20 10:49:09 -07:00
Chris Masone 4632a73bc2 Performance improvements, given the xml_importer workload
1) Get rid of temp file usage in FileStore. Instead, write to a buffer and then
   dump to disk on Close().
2) Chk.Equals() uses reflection even if you call it on primitive types, which
   can be surprisingly costly. Switch to a Chk.True() in a couple of hot paths.
2015-07-17 14:14:42 -07:00
Chris Masone 3a5397a609 Fix input path of sha1 package in ref_test.go
This was incorrectly set to go/pkg/src/crypto/sha1,
but should just be crypto/sha1
2015-07-07 11:06:21 -07:00
Aaron Boodman 369e2a1cda Add test for ref.FromHash 2015-07-01 23:08:47 -07:00
Aaron Boodman 302042e387 Add a test for Ref::Digest() 2015-07-01 23:02:14 -07:00
Rafael Weinstein 153d83600e remove named TODOs 2015-06-25 09:47:54 -07:00
Aaron Boodman 129798c006 Support any type of Value for keys of maps 2015-06-15 15:57:33 -07:00
Aaron Boodman 08a53bb48f add types.Set 2015-06-13 23:25:48 -07:00
Aaron Boodman 53003f23f2 Add Value::Ref() 2015-06-12 15:22:27 -07:00
Aaron Boodman 554f7b6fed wip: added some testing for json_encode.go 2015-06-09 16:21:37 -07:00
Aaron Boodman 47eb88b3dd Convert ref.Ref to a pure value type 2015-06-03 16:34:34 -07:00
Aaron Boodman 1755cbc861 Add FileStore::Put() 2015-06-03 16:24:39 -07:00
Aaron Boodman 6a4fa364dd Add ref.go and test 2015-06-03 13:56:44 -07:00