Commit Graph

2544 Commits

Author SHA1 Message Date
Erik Arvidsson
88fd487f00 Splore deployment (#1992)
Make sure we run npm install in js first
2016-07-08 11:46:10 -07:00
Ben Kalman
c7b67ab50a Noms JS version 49.1 --> 49.2 from last patch (#1990) 2016-07-08 10:39:47 -07:00
Ben Kalman
68e16f338e Fix noms browser fetch and splore layout (#1989) 2016-07-07 18:19:18 -07:00
Rafael Weinstein
ee5c0f3a72 MakeStructType and NewStructWithType now takes slices rather than maps (#1945)
NewStructType and NewStructWithType now takes slices rather than maps
2016-07-07 16:36:48 -07:00
Rafael Weinstein
c38c884810 Checking last codec perf numbers (#1986) 2016-07-07 15:18:28 -07:00
Ben Kalman
eb9b67d571 csv-importer can accept a noms path as a source (#1981) 2016-07-07 15:10:13 -07:00
Ben Kalman
c80be5c1ec Formatting nits for noms sync progress (#1985) 2016-07-07 15:03:25 -07:00
Erik Arvidsson
fb4c8624a0 JS integration tests for samples/js/{counter,fs} (#1951)
This adds some a basic integration tests for sample/js/{counter,fs}.

It work pretty much like this:

- Run `npm install`
- Do setup (good place to initialize the database) (optional).
- Start a http store from go.
- Run `node . <args...>`. The IntegrationTestSuite has convenience
  methods to get the spec.
- Do teardown, which is a good time to check the output and the current state of the db (optional).

Towards #1888
2016-07-07 14:00:32 -07:00
Ben Kalman
f57353ea89 Include MB and MB/s in sync progress (#1980) 2016-07-06 16:26:13 -07:00
Ben Kalman
fa496f59ef Cache leveldb stores created from specs (#1975) 2016-07-06 15:42:21 -07:00
Ben Kalman
53b9ce3c1e Add pull chunk progress to noms sync (#1950) 2016-07-06 15:01:32 -07:00
Erik Arvidsson
4e4cbd323c Update samples/js/**/README (#1979) 2016-07-06 14:20:05 -07:00
Erik Arvidsson
c0bd2c90d4 More tweaks to tools/run-all-js-tests.py (#1974)
* Update Splore build.py

* path

* Setup the bin symlinks in preinstall

* Link entire node_modules instead
2016-07-06 13:44:11 -07:00
Aaron Boodman
6243ac01ce Minor fixens to noms command UI (#1978) 2016-07-06 13:14:05 -07:00
Mike Gray
a7f29a716d noms as one command line application, with version and help (#1874) 2016-07-06 15:38:25 -04:00
Aaron Boodman
e08853070b Update README.md 2016-07-06 10:56:20 -07:00
Aaron Boodman
1d752e3101 Update license: Noms will be copyright Attic Labs. (#1976) 2016-07-05 22:07:42 -07:00
Aaron Boodman
528a4a99bd Update README.md 2016-07-05 16:54:29 -07:00
Erik Arvidsson
983fa59090 Samples js shared 2 (#1973)
* Revert "Revert "Share node_modules for samples/js" (#1967)"

This reverts commit 7bb1623e99.

* Add parent directory to the PATH

* Change run-all-js-tests to run samples/js before samples/js/**

* Fix a temporary comment
2016-07-05 16:25:21 -07:00
Erik Arvidsson
7bb1623e99 Revert "Share node_modules for samples/js" (#1967) 2016-07-05 14:44:21 -07:00
Rafael Weinstein
02be382799 cleanup error output (#1965) 2016-07-05 14:03:56 -07:00
Erik Arvidsson
b0ab909e4f Share node_modules between samples/js (#1955)
This is so that we do not need to do npm install 10 times in the
samples directory. Instead we do it once inside samples/js and let
all the sub directories have no dependencies. This works because
nodejs searches the parent directories when looking for a module.

Towards #1888
2016-07-05 13:55:36 -07:00
Aaron Boodman
a5b46af232 Update README.md 2016-07-05 12:03:14 -07:00
Aaron Boodman
e18d6c7c71 Update README.md 2016-07-05 12:00:54 -07:00
Ben Kalman
305f69f670 Only print status every 100ms (#1954) 2016-07-05 11:27:11 -07:00
Rafael Weinstein
05d0b09779 Add back some error output (#1958) 2016-07-02 06:20:54 -07:00
Aaron Boodman
81660798bf A new take on the homepage after initial round of feedback (#1957) 2016-07-02 00:11:43 -07:00
Mike Gray
b2a4aa62b7 removing runtime.GOMAXPROCS calls (#1947) 2016-07-01 17:42:46 -04:00
Aaron Boodman
2921ca343c Part 2: Move things that are not samples out of samples/go (#1944) 2016-07-01 11:58:26 -07:00
Aaron Boodman
2386afc7fb Move stuff that is not samples out of samples directory (#1943)
* Move samples/go/*perf-reg to go/perf/

They aren't really samples.

* Move samples/go/util/check_error.go to go/d

* Remove samples/go/util/client_flags.go - unused

* remove httpcache.go - unused

* Remove samples/go/util/rungen.go - no generated code here anymore

* move NomsValueFromJSON to go/util/jsontonoms
2016-07-01 11:04:17 -07:00
Aaron Boodman
fcca02d6b0 Fix crash in hr when dataset spec invalid (#1939)
Also remove test util code from the two simpler Go samples. I think
we will want to distinguish between "samples" and "utilities". The
former should be as easy to understand and lightweight as possible,
while the latter will tend to be more a real part of the project
that is maintained, tuned, relied upon, etc.

The former should only rely on the Noms SDK and the Go stdlib. The
latter should follow normal Noms internal coding conventions.
2016-07-01 10:27:44 -07:00
Ben Kalman
69623deb74 Fix sha1- to #sha1- in doc/cli-tour.md (#1940) 2016-07-01 10:26:32 -07:00
Rafael Weinstein
c47cc21d56 Remove more assertions which allocate in non-failure cases (#1942) 2016-07-01 10:09:59 -07:00
Rafael Weinstein
93e0eca51f Type cache (#1865)
Go TypeCache
2016-07-01 09:23:11 -07:00
Rafael Weinstein
6fc16866b4 you get a bufio. you get a bufio... (#1938)
you get a bufio. you get a bufio
2016-07-01 06:22:02 -07:00
Erik Arvidsson
94ce6b2c69 Print out the real port in noms serve (#1937)
If port 0 is used then the os assigns an available port. This
changes so that we print out that port instead.
2016-06-30 17:03:06 -07:00
Ben Kalman
62a15441da Support the @key annotation in paths (#1934) 2016-06-30 10:43:24 -07:00
Erik Arvidsson
0a502c3ee4 Fix some js tests (#1932) 2016-06-29 15:57:53 -07:00
Erik Arvidsson
40a2f661a7 Fix issue with missing size in expected diff output (#1933) 2016-06-29 14:20:10 -07:00
Mike Gray
7a1817d287 channels for orderedSequenceDiff (#1926) 2016-06-29 16:56:46 -04:00
Ben Kalman
038192cfcc Make the spec package support types.Path (#1920) 2016-06-29 13:55:05 -07:00
Erik Arvidsson
0dc12c9e3d HRS: Show the size of containers (#1925)
Fixes #1837
2016-06-28 17:04:08 -07:00
Erik Arvidsson
69f4fde87a HRS: Write blobs as hex (#1924)
Instead of writing blobs using base64 we now write the values as
hex (16 per row)

Blob(00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f\n10)

Towards #1837
2016-06-28 16:17:07 -07:00
Erik Arvidsson
ba88abfa9b Remove nomdl parser (#1923)
We are not using this any more...
2016-06-28 13:04:24 -07:00
Ben Kalman
54970c34f0 Add set indexing for paths (#1922) 2016-06-28 10:03:00 -07:00
Rafael Weinstein
55e067802d Reduce size of tmp LDB memtables to 128MB (#1921) 2016-06-27 17:15:57 -07:00
Rafael Weinstein
f464a2d94f Map.MX() -> NewStreamingMap (#1918) 2016-06-27 16:06:40 -07:00
Aaron Boodman
df51a4aba2 Add LICENSE file (#1919) 2016-06-27 15:53:35 -07:00
Rafael Weinstein
aacfe751fa Add (temporary) custom leaf-chunker for blobs (#1911)
Add (temporary) custom leaf-chunker for blobs
2016-06-27 15:16:50 -07:00
cmasone-attic
d1f46401d1 Go: Add Mx() for Noms Maps (#1876)
As one step towards #1819, we've created MapMutator, which can take a
bunch of (what would normally be) Map.Set() calls and batch them up to
be applied all at once. The keys and values are held in a LevelDB cache
until everything's done. Usage looks like this:

 m := types.NewMap()
 mx := m.Mx()
 mx = mx.Set(String("foo"), String("bar")).Set(String("baz"), Number(42))
 m = mx.Finish()

We intend to make this the only way to modify collections, but at first
this will only work on an empty NomsMap.
2016-06-27 13:52:52 -07:00