Commit Graph

133 Commits

Author SHA1 Message Date
Aaron Boodman d5b90dd43c Teach flatList about Futures. 2015-07-09 17:30:43 -07:00
Aaron Boodman 8662a36344 Add types.Future, which will be the basis for lazy loading. 2015-07-09 17:30:43 -07:00
Aaron Boodman 2aa809e167 Move enc/* into types/*. 2015-07-09 17:30:43 -07:00
Chris Masone 7b91f06f04 jsonImporter fixups
1) Tolerate lists with no entries
2) Exit with error messages instead of Chk.NoError() in main()
3) General variable names
4) Use json.NewDecoder() instead of reading all data into memory again.
5) Idiomatic fixes.

Addresses issue #20
2015-07-09 14:20:29 -07:00
Chris Masone 1faabb2ddd Basic JSON importer
This basic importer takes a URL and pulls the JSON in as
weakly typed data -- lists and maps of basic types.

Addresses issue #20
2015-07-09 13:53:02 -07:00
Chris Masone 8ec835a134 Ensure that chunks opened for reading get closed 2015-07-09 13:30:41 -07:00
Chris Masone cd9656cdb9 Add friendly message to Chk for Reffer != nil
Now you get told you're holding it wrong when you fail
to import the enc package and get the global definition for
Reffer.
2015-07-08 15:53:10 -07:00
Aaron Boodman 4b4a1b1f47 FileStore should not write duplicate files (issue 16) 2015-07-08 11:40:07 -07:00
Chris Masone 7a84f6313e Cleanup Close() and Ref() semantics in ChunkStore impls
In both FileStore and S3Store, the behavior of calling Ref() twice, or of
calling Ref() after Close() was undefined and probably crashy. After this,
the semantics are as follows:

Once either Ref() or Close() is called, you can't Write() any more.
Ref() can be called any number of times
Close() can be called any number of times
Ref() and Close() can be called in any order.

Addresses issue #6
2015-07-07 15:54:20 -07:00
aboodman 95aad8f825 Update README.md 2015-07-07 14:53:25 -07:00
aboodman bcbaae3cb7 Update README.md 2015-07-07 14:53:04 -07:00
Aaron Boodman c0835a970c server: Add README 2015-07-07 14:49:44 -07:00
aboodman ef0b088b91 Update README.md 2015-07-07 14:47:08 -07:00
aboodman 6fdf6536af Update README.md 2015-07-07 14:46:52 -07:00
aboodman 4e0298985f Update README.md 2015-07-07 14:44:05 -07:00
aboodman 898cf6dd1f Update README.md 2015-07-07 14:43:50 -07:00
Aaron Boodman f34d946161 server: remove createDummyData - not needed anymore 2015-07-07 14:40:18 -07:00
Aaron Boodman 31e14b690e server: RootTracker interface is now once again part of ChunkStore 2015-07-07 14:27:38 -07:00
Aaron Boodman 1fe0f6c79f server: Don't crash if no flags passed 2015-07-07 14:27:38 -07:00
aboodman 08a4ed55f0 Update README.md 2015-07-07 14:23:48 -07:00
aboodman 833a9b102e Update README.md 2015-07-07 14:23:20 -07:00
aboodman 3eb06e87b0 Update README.md 2015-07-07 14:21:43 -07:00
aboodman 91fad935bc Update README.md 2015-07-07 14:21:04 -07:00
Chris Masone 748f75101f Change datastore package to be named datas
Because datastore is too long, and datas is reminiscent of chunks.

Resolves #8
2015-07-07 13:09:38 -07:00
aboodman 46021ebeca Update README.md 2015-07-07 11:33:03 -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 cb1fb984b3 Remove distinction between RootTracker and ChunkStore in DataStore 2015-07-05 23:05:51 -07:00
Aaron Boodman 2cea5d0340 Remove user package 2015-07-05 22:57:54 -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
Aaron Boodman b07889e24a rename flat_set_test.go to set_test.go for consistency with other files in this directory 2015-07-01 22:56:52 -07:00
Aaron Boodman e6f1f0147d Add test for Set::Any() 2015-07-01 22:56:29 -07:00
aboodman 1a5095c0ff Update README.md 2015-07-01 18:42:12 -07:00
aboodman d73887065c Update README.md 2015-07-01 18:41:26 -07:00
Aaron Boodman 8590bd4249 Finish first crack at generating strong Go types for noms data 2015-06-26 16:35:08 -07:00
Rafael Weinstein 153d83600e remove named TODOs 2015-06-25 09:47:54 -07:00
Rafael Weinstein d0ab1bf595 a bit more cleanup 2015-06-24 20:39:25 -07:00
Rafael Weinstein 72a6d71b43 cleanup for server & explore 2015-06-24 20:24:32 -07:00
Aaron Boodman 80afc8e207 Add some notes to future-aaron 2015-06-24 18:58:19 -07:00
Aaron Boodman 391ebb4c61 Add the beginning of nomgen: a program for generating strongly-typed Go structs that wrap type.Values 2015-06-24 18:58:01 -07:00
Aaron Boodman fbacb93510 Add codegen/users/mkdata: a program to generate noms data describing the user-related types. 2015-06-24 17:16:49 -07:00
Aaron Boodman e438ef8902 Move codegen/* to codegen/value/* in preparation for a new subdir of codegen package 2015-06-24 17:16:49 -07:00
rafaelweinstein 200b57e21d Update README.md 2015-06-24 16:27:39 -07:00
Rafael Weinstein e538f73153 Initial impl of server & explore ui 2015-06-24 16:22:33 -07:00
aboodman 4387395fb3 Update README.md 2015-06-19 17:05:55 -07:00
Aaron Boodman 56c4d6d637 Add support for multiple apps. App IDs are present just arbitrary strings 2015-06-19 16:51:56 -07:00
Aaron Boodman fdebc00dc9 Add first app: clients/counter! 2015-06-19 15:23:02 -07:00
Aaron Boodman b92551d711 Move the TODOs into bugs ... it is easier that way to refer to them from within the code 2015-06-18 18:11:52 -07:00
Aaron Boodman 4815998aa9 Add AppRootTracker and test 2015-06-18 17:59:48 -07:00
Aaron Boodman d97d6f1970 Add a TODO 2015-06-18 15:44:43 -07:00