Erik Arvidsson
94060fc00a
Change to use @attic/noms as the npm module name
2016-03-18 11:18:47 -07:00
Erik Arvidsson
889d8bb9b3
JS: Resurrect copy-flow-files
...
Also add npm scripts to compile src to dist
2016-03-18 10:54:14 -07:00
Erik Arvidsson
e529499fe2
Merge pull request #1099 from arv/fix-splore
...
JS: Fix issue with readBatch
2016-03-18 10:11:03 -07:00
Erik Arvidsson
e767ba53ae
JS: Fix issue with readBatch
...
The method name got a bit mangled after the CR churn.
2016-03-18 10:08:46 -07:00
Erik Arvidsson
f9829f8ec8
Merge pull request #1094 from arv/type-param-position
...
JS: Change the position of the type param to newList etc
2016-03-17 14:20:43 -07:00
Erik Arvidsson
7cf81b6db9
JS: Change the position of the type param to newList etc
...
Fixes #1090
2016-03-17 14:02:42 -07:00
Erik Arvidsson
7baa478a57
Merge pull request #1093 from arv/rename-js-files
...
JS: Rename files to use hyphen instead of underscore
2016-03-17 13:50:22 -07:00
Erik Arvidsson
60534360b3
JS: Rename files to use hyphen instead of underscore
2016-03-17 13:25:19 -07:00
cmasone-attic
cb3c00df68
Merge pull request #1089 from cmasone-attic/datastore
...
Move ReadValue and WriteValue to DataStore
2016-03-17 13:03:12 -07:00
Chris Masone
119a56c3a9
Move ReadValue and WriteValue to DataStore
...
This patch is the first step in moving all reading and writing to the
DataStore API, so that we can validate data commited to Noms.
The big change here is that types.ReadValue() no longer exists and is
replaced with a ReadValue() method on DataStore. A similar
WriteValue() method deprecates types.WriteValue(), but fully removing
that is left for a later patch. Since a lot of code in the types
package needs to read and write values, but cannot import the datas
package without creating an import cycle, the types package exports
ValueReader and ValueWriter interfaces, which DataStore implements.
Thus, a DataStore can be passed to anything in the types package which
needs to read or write values (e.g. a collection constructor or
typed-ref)
Relatedly, this patch also introduces the DataSink interface, so that
some public-facing apis no longer need to provide a ChunkSink.
Towards #654
2016-03-17 12:57:44 -07:00
Erik Arvidsson
2e95f11611
Merge pull request #1088 from arv/create-blob
...
JS: Implement blob writing
2016-03-17 12:47:37 -07:00
Erik Arvidsson
9ac02981d1
JS: Implement blob writing
2016-03-17 11:31:07 -07:00
Chris Masone
c90a319718
Generated code updated to use new template for typed refs
2016-03-17 10:04:54 -07:00
Erik Arvidsson
91719bfa89
Merge pull request #1070 from arv/compound-blob
...
JS: Implement NomsBlob
2016-03-16 13:10:43 -07:00
Benjamin Kalman
aba809b81a
JS: Implement NomsBlob
...
This does not yet support creating a chunked Blob but it can decode
one that it got from a ChunkStore.
Partial fix for #798
2016-03-16 12:38:13 -07:00
Rafael Weinstein
12a399b14d
Merge pull request #1071 from rafael-atticlabs/httpStoreWrite
...
Add HttpStore.put
2016-03-15 16:29:26 -07:00
Rafael Weinstein
5a4fab4448
Add HttpStore.put
2016-03-15 16:24:06 -07:00
cmasone-attic
cb592df3af
Merge pull request #1073 from cmasone-attic/remove_imgsvr
...
Remove unused clients/imgsvr
2016-03-14 14:57:04 -07:00
Rafael Weinstein
85c0ab9856
Merge pull request #1074 from rafael-atticlabs/correctSequenceType
...
Write correct type for unwritten child sequences
2016-03-14 13:40:19 -07:00
Rafael Weinstein
6f92539bff
Write correct type for unwritten child sequences
2016-03-14 13:38:56 -07:00
Aaron Boodman
87f10b931b
Merge pull request #1067 from kyleder/1049-csv-cr
...
Fix: Safely handle carriage returns in CSVs
2016-03-14 13:31:53 -07:00
Chris Masone
a144493c0a
Remove unused clients/imgsvr
...
This was only used by tagshow, and we don't run it anywhere
anyway.
2016-03-14 10:29:32 -07:00
Kyle Derkacz
d7b55cfbc5
Fixing code formatting errors in the csv reader
2016-03-11 18:32:13 -08:00
Ben Kalman
077798646e
Merge pull request #1069 from kalman/picasa-sizes
...
Make Picasa importer use thumbnail URLs for full size images.
2016-03-11 17:35:49 -08:00
Benjamin Kalman
7bc58a174e
Make Picasa importer use thumbnail URLs for full size images.
2016-03-11 17:35:04 -08:00
Dan Willhite
0bd6dcc49a
Merge pull request #1068 from willhite/work
...
Update github.com/clbanning/mxj vendor to remove dependency issue.
2016-03-11 13:22:08 -08:00
Dan Willhite
11806c4709
Update clbanning/mxj vendor library to fix dependency issue.
2016-03-11 12:59:16 -08:00
Kyle Derkacz
506d0013ea
Fix: Safely handle carriage returns in CSVs
...
Carriage returns (CR) are not fully supported by Go's CSV reader. When
a CR is encountered by the reader, the reader silently ignores the CR
and continues processing the line. This is ok when the CR is part of a
CRLF, but when the CR is independent then the line isn't properly
terminated.
Github issue #1049
2016-03-10 20:57:35 -08:00
Rafael Weinstein
b58ce977fa
Merge pull request #1063 from rafael-atticlabs/datastoreCommit
...
DataStore.commit + tests
2016-03-10 20:10:05 -08:00
Rafael Weinstein
dff5b3471c
DataStore.commit + tests
2016-03-10 19:52:42 -08:00
Rafael Weinstein
a89dafdd5b
Merge pull request #1066 from rafael-atticlabs/correctCollectionWriting
...
Correct collection writing
2016-03-10 19:41:46 -08:00
Rafael Weinstein
5b3eb45f24
propogate cs
2016-03-10 16:46:40 -08:00
Rafael Weinstein
697066598a
write unwritten p-tree chunks
2016-03-10 16:28:58 -08:00
cmasone-attic
12fde71912
Merge pull request #1064 from cmasone-attic/small_fixes
...
Some small fixes in chunks/
2016-03-10 16:19:05 -08:00
Chris Masone
ec3163c7f8
Some small fixes in chunks/
...
Mostly 'go vet' complaints.
2016-03-10 15:42:37 -08:00
Ben Kalman
11433d0cdd
Merge pull request #1061 from kalman/readme
...
Update README.md to mention GitHub PR gen hider.
2016-03-10 14:25:35 -08:00
Benjamin Kalman
d2ad122ed9
Update README.md to mention GitHub PR gen hider.
2016-03-10 10:39:05 -08:00
cmasone-attic
3526f3d31a
Merge pull request #1060 from cmasone-attic/issue133
...
Use Type() to validate Commit in Dataset.SetNewHead()
2016-03-09 14:07:20 -08:00
Chris Masone
224215f340
Use Type() to validate Commit in Dataset.SetNewHead()
...
Since we put a type system in Noms, we can now use it
to check that a ref that purports to be the new Head
for a Dataset after a pull actually points to a Commit.
Fixes #133
2016-03-09 14:07:04 -08:00
cmasone-attic
f9e6d3762c
Merge pull request #1058 from cmasone-attic/issue1020
...
Tag root item in DynamoStore as uncompressed
2016-03-09 13:48:38 -08:00
cmasone-attic
e45d33ac54
Merge pull request #1059 from cmasone-attic/comments
...
Fix up DataStore comments
2016-03-09 12:57:38 -08:00
Chris Masone
6b4c93a3f7
Fix up DataStore comments
...
If I'm going to start refactoring this code, it's important
that I'm sure what all the methods do. So, update the comments
2016-03-09 12:45:45 -08:00
Chris Masone
3587622f6a
Tag root item in DynamoStore as uncompressed
...
These items are never compressed, but all other items have a tag
on them, so it makes sense that these should as well. Remain
tolerant of old roots, though, that are not tagged.
2016-03-09 12:22:56 -08:00
Erik Arvidsson
a1ebfe744d
Merge pull request #1055 from arv/csv-lenient-column-count
...
noms.io: Make csv reader more lenient
2016-03-07 16:24:39 -08:00
Erik Arvidsson
fe70aebcee
noms.io: Make csv reader more lenient
...
Allow the rows to be of different length
2016-03-07 16:12:18 -08:00
Aaron Boodman
84a01c1823
Merge pull request #1053 from aboodman/splore-ui-fix
...
splore: clip width of labels
2016-03-07 09:24:25 -08:00
Aaron Boodman
9db3ab0b16
splore: clip width of labels
2016-03-04 23:51:24 -08:00
Ben Kalman
02b2a9d5fb
Merge pull request #1052 from kalman/maybeParse
...
Add Ref.maybeParse.
2016-03-04 13:43:24 -08:00
Benjamin Kalman
1b3fdbf380
Add Ref.maybeParse.
2016-03-04 13:37:56 -08:00
Ben Kalman
4e849aeb02
Merge pull request #1051 from kalman/flow
...
Update flow to 0.22.1.
2016-03-04 13:37:33 -08:00