Commit graph

130 commits

Author SHA1 Message Date
31211696a8 Merge pull request #77 from kortschak/appengine
Use build constraints for appengine
2014-07-22 20:39:13 -04:00
kortschak
592ea81687 Use build constraints for appengine 2014-07-23 10:02:11 +09:30
be26f0faf6 Merge pull request #75 from kortschak/parse
Use error returns and interface type for parsing
2014-07-22 20:19:52 -04:00
kortschak
e6ed23ef7c Merge branch 'master' into parse
Conflicts:
	db/load.go
2014-07-23 06:39:56 +09:30
kortschak
018b8ca032 Add package prefix to errors 2014-07-23 06:30:35 +09:30
7c54408951 Merge pull request #76 from barakmich/master
Switch to the latest mgo path.
2014-07-22 15:31:59 -04:00
95a31c179b Switch to the latest mgo path.
This is not only the right thing to do, as per the documentation of the
latest release (yesterday) but it should now be backed by git and not
bzr, which is a big plus and won't break our build so much.
2014-07-22 15:22:29 -04:00
984ab6fd25 Merge pull request #71 from kortschak/compress
Add transparent input decompression
2014-07-22 14:41:14 -04:00
kortschak
0e0e382d2b Use error returns and interface type for parsing
Fixes issue #72

This change simplifies interactions with parsing N-Quads and makes
reading datasets more robust. Changes made while here also improve
performance:

benchmark           old ns/op     new ns/op     delta
BenchmarkParser     1058          667           -36.96%

We still use string concatenation which I'm not wildly happy about, but
I think this can be left for a later change.

Initial changes towards idiomatic error handling have been made. More
significant changes are needed, but these have subtle design implication
and need to be thought about more.

30kmoviesdata.nt.gz has been altered to properly escape double quotes.
This was done mechanically and with manual curation to pick up
straglers.
2014-07-22 20:34:37 +09:30
kortschak
7f99318f0d Add tests for decompressor 2014-07-22 10:58:59 +09:30
kortschak
9bf09a5db5 Add transparent input decompression
This supports gzip and bzip2 by magic number determination.

Trailing whitespace differences in documentation due to opinionated
editor.
2014-07-19 12:49:55 +09:30
abdd649c82 Merge pull request #69 from pbnjay/triplestore_registry
Triplestore registry
2014-07-18 15:01:04 -04:00
Jeremy Jay
923679b36c comment tweaks 2014-07-18 14:54:29 -04:00
Jeremy Jay
fb3e181a62 fix failing build 2014-07-18 14:29:23 -04:00
Jeremy Jay
5731ca7b42 6 of one, half-dozen of the other 2014-07-18 14:19:02 -04:00
Jeremy Jay
a6dc5c9532 fix tests for new method names 2014-07-18 14:09:57 -04:00
Jeremy Jay
0641309a8f adding to A+C 2014-07-18 11:46:36 -04:00
Jeremy Jay
f9c60a5f30 update names per discussion at google/cayley#38 2014-07-18 11:17:57 -04:00
Jeremy Jay
d808d9347c move to registry interface for backends 2014-07-16 16:49:55 -04:00
Jeremy Jay
e780c1ceb9 Register should be RegisterIterator 2014-07-16 13:49:39 -04:00
995b38fb5b Update the README with news 2014-07-12 15:24:39 -04:00
c1471ee09e Merge pull request #59 from alpe/minor_updates
Minor cleanup
2014-07-10 10:59:32 -04:00
Alex Peters
4d34ea50cc Fix typos and minor cleanup 2014-07-10 13:19:30 +02:00
56962c7e18 Merge pull request #55 from kortschak/travis
Re-add go1.2 to .travis.yaml
2014-07-09 13:37:09 -04:00
9ca38d1f10 Merge pull request #56 from kortschak/testing
Tabulate value comparison tests
2014-07-07 14:08:03 -04:00
kortschak
e39063e3ec Rename some methods and funcs since we are here
Very probably some of these can be made private.
2014-07-07 12:23:32 +09:30
kortschak
d1fdba1cbb Fix build
leveldb did s/GetApproximateSizes/SizeOf/
2014-07-07 12:14:47 +09:30
kortschak
5bc1c438ef Tabulate value comparison tests 2014-07-07 12:01:16 +09:30
kortschak
db3597ed2d Re-add go1.2 to .travis.yaml
Fixes issue #54.
2014-07-06 15:53:47 +09:30
c88a24467e Merge pull request #52 from kortschak/testing
Simplify testing code
2014-07-05 21:55:46 -04:00
kortschak
fbb66ddc52 Fix build
goleveldb is broken against go1.2 since de350e, so we cannot support
go1.2. This will change when the goleveldb is changed to again support
go1.2.
2014-07-06 09:23:47 +09:30
kortschak
d489e3da07 Drop testing dependencies 2014-07-05 22:12:56 +09:30
kortschak
1c181429da Purge goconvey and mock
These packages really impact on test readability with crazy action at a
distance. In addition to this removal of goconvey reduced the test run
time for leveldb on average by about 40-50%.
2014-07-05 22:00:46 +09:30
59eca7eb47 Update A+C to match Github (for documentation bits too) 2014-07-03 21:27:24 -04:00
kortschak
3f6cfc98d5 Clean up testing code
Ugh on the error comparison.
2014-07-04 10:29:14 +09:30
kortschak
eb3fd17e1d More consistent formatting
(If only I could point gofmt at everything.)
2014-07-04 10:04:59 +09:30
kortschak
02eb9d051f Simplify test code 2014-07-04 09:52:20 +09:30
e4df9488e7 merge rename_fix 2014-07-03 16:02:54 -04:00
468d943039 dbIt to iter 2014-07-03 15:59:50 -04:00
70f622aefe Merge pull request #51 from barakmich/prefix_string
Prefix vs String for graph.Direction
2014-07-03 15:54:29 -04:00
62d8ebec8a Update test in light of graph iterator types 2014-07-03 15:52:00 -04:00
f6fb8d8f67 Merge pull request #48 from kortschak/enumerate
Enumerate iterator types
2014-07-03 14:40:37 -04:00
50bd7d04ef convert to prefix byte 2014-07-03 13:32:58 -04:00
kortschak
859164d714 Remove goconvey dependency 2014-07-03 20:25:59 +09:30
kortschak
03fb6e367a Remove dependency on goconvey 2014-07-03 19:00:21 +09:30
kortschak
102402a13b Clean tests
Remove goconvey dependency and improve clarity of intention.
2014-07-03 17:57:04 +09:30
kortschak
c2fd33f9d0 Fix missed test messages 2014-07-03 17:55:22 +09:30
kortschak
c8e5ac1916 Add documentation around Type registration 2014-07-03 15:25:21 +09:30
kortschak
cd46452b63 Enumerate iterator types 2014-07-03 09:57:31 +09:30
7b87e08e89 Convert to Prefix/String in graph.Triple 2014-07-02 19:56:16 -04:00