Commit Graph

2573 Commits

Author SHA1 Message Date
Ben Kalman
533c1c3213 Add slackin badge and correct slack link (#2029) 2016-07-12 16:12:20 -07:00
Erik Arvidsson
b830762f49 Fix some copyright headers (#2026) 2016-07-12 16:02:32 -07:00
Erik Arvidsson
1a713a40ab Remove more accidentally added temp files (#2025) 2016-07-12 15:19:33 -07:00
Erik Arvidsson
e95f839a6e Merge pull request #2024 from arv/remove-temp-file
Remove js/rebase-shas.js
2016-07-12 15:15:43 -07:00
Erik Arvidsson
500b3c1301 Remove js/rebase-shas.js
This was accidentally added in a previous commit
2016-07-12 15:14:24 -07:00
Erik Arvidsson
a46ec596d7 Merge pull request #2022 from arv/sha512
Change hash function to first 20 bytes of Sha512 and the human-encoding of the hash to base32
2016-07-12 14:07:58 -07:00
Erik Arvidsson
f2a83346ca JS: Change hash function to sha512
For browser support we use npm amscrypto.js-sha512. For node we use its
builtin crypto module.
2016-07-12 13:59:09 -07:00
Erik Arvidsson
454a7d5b48 JS: Add base32 support library
Our base32 uses 0-9a-v with no padding. The length is hard coded to
use the first 20 bytes (and therefire ends up being 32 characters)
2016-07-12 13:59:09 -07:00
Erik Arvidsson
15ecbeaa2f JS: Add third party base32 library 2016-07-12 13:59:09 -07:00
Erik Arvidsson
1507b8dd8f Go: Change hash function to sha512 2016-07-12 13:59:08 -07:00
Erik Arvidsson
c0bc00dee0 Go: Add base32 support library
Our base32 uses 0-9a-v with no padding. The length is hard coded to
20 bytes (and 32 characters)
2016-07-12 13:59:08 -07:00
Erik Arvidsson
777b598631 Integration tests: Print errors to stderr (#2023) 2016-07-12 12:13:34 -07:00
Mike Gray
7c9ad898de use column-type from original csv file column order (#2013)
* use column-type from original csv file column order, not the one after map/struct field name reordering
* use column-type from original csv file column order (part 2)
2016-07-12 11:33:01 -07:00
Rafael Weinstein
83ffde7d9b Merge pull request #2021 from rafael-atticlabs/revertJSTypeCache
Revert js type cache
2016-07-11 18:38:26 -07:00
Rafael Weinstein
8a5f3853b7 Revert "Js type cache (#2011)"
This reverts commit 4e10ae63f4.
2016-07-11 18:36:17 -07:00
Rafael Weinstein
48ab930ed2 Revert "Ensure all bytes consumed on decode (#2019)"
This reverts commit cd45787a91.
2016-07-11 18:36:01 -07:00
Rafael Weinstein
cd45787a91 Ensure all bytes consumed on decode (#2019)
Ensure all bytes consumed on decode
2016-07-11 18:08:51 -07:00
Rafael Weinstein
dea37ba37b remove dead code (#2017) 2016-07-11 17:14:12 -07:00
Rafael Weinstein
94a27139c7 bump noms npm version & update codec-perf-rig numbers (#2016) 2016-07-11 16:54:12 -07:00
Rafael Weinstein
4e10ae63f4 Js type cache (#2011)
Js type cache
2016-07-11 16:45:35 -07:00
Erik Arvidsson
5483383acc Make isSubtype work with unions with cycle (#2007)
This is #2001 with some more tests

Previously, we ended up i-looping because we were not correctly
checking for cycles as we descended into union types.

Related to #1495
2016-07-11 14:54:40 -07:00
Mike Gray
b6f19dfea5 number encoding (#1845)
Moved to encoding Values of type Number as 2 varints.
2016-07-11 12:08:56 -07:00
Erik Arvidsson
abff0f247f Make go test ./... and go build ./... work with integration tests (#2005)
For go build we need a dummy go file or go build fails

For go test we now make sure we run npm install so that the test
passes
2016-07-11 11:01:51 -07:00
Ben Kalman
09cba32746 Make DumbCopy preserve file mode (#1999) 2016-07-08 16:22:41 -07:00
Rafael Weinstein
f752d1bfba Fix burnDown ordering issue (#1997) 2016-07-08 15:14:12 -07:00
Erik Arvidsson
410a1664ba Create symlinks from npm i (#1996) 2016-07-08 13:47:00 -07:00
Erik Arvidsson
899ed35e55 Symlinks needed by other heaps of peeps (#1995) 2016-07-08 13:40:19 -07:00
Erik Arvidsson
96ed40bbb5 Setup symlinks again (#1994) 2016-07-08 13:33:01 -07:00
Erik Arvidsson
c462f2520c Fix invalid JSON (#1993) 2016-07-08 13:17:31 -07:00
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