mirror of
https://github.com/dolthub/dolt.git
synced 2026-05-19 11:29:41 -05:00
cefb014d15090374628ca01266a7b143e434de06
* Go: In httpBatchStore, order outgoing Chunks by ref-height Rather than sending chunks to the server in the order that callers put them into an httpBatchStore, instead order them by ref-height at the time that Flush() is called. Making this change requires that ref-height for a given chunk be passed in through the SchedulePut() API, because Chunks (by design) don't carry much metadata about themselves. Toward #1510
…
…
Noms
Noms is a content-addressable, append-only, peer-to-peer, structured data store.
In other words, noms is git for data.
This repository contains two reference implementations of the noms protocol - one in Go, and one in JavaScript. It also includes a number of tools and sample applications.
Prerequisites
- Go 1.6+
- Python 2.7+ (Note: Python 2.x only, not Python 3.x)
- Node.js 5.11+
Set environment variables
- Ensure
$GOPATHis set correctly - Set
GO15VENDOREXPERIMENT=1in your environment - all our code requires this
Get the code
mkdir -p $GOPATH/src/github.com/attic-labs
cd $GOPATH/src/github.com/attic-labs
git clone https://github.com/attic-labs/noms
Build
go install `go list ./... | grep -v /vendor/`
go test `go list ./... | grep -v /vendor/`
Run
cd "$GOPATH/src/github.com/attic-labs/noms/clients/go/counter"
go build
./counter ldb:/tmp/foo:foo
./counter ldb:/tmp/foo:foo
./counter ldb:/tmp/foo:foo
What next?
- Learn the core tools:
serve,splore,sync,csv import/export,json-import,xml-import - Run sample apps: (TODO)
- NomDL reference (TODO)
- Go SDK reference (TODO)
- JavaScript SDK reference (TODO)
Recommended Chrome extensions
- Hides generated (Go) files from GitHub pull requests: GitHub PR gen hider.
Description
Releases
166
Languages
Go
69.5%
Shell
17.8%
JavaScript
12%
Java
0.1%
Python
0.1%