mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-25 03:09:00 -06:00
Rename clients to samples
This commit is contained in:
@@ -15,7 +15,7 @@ before_script:
|
||||
- npm install
|
||||
- npm test
|
||||
- popd
|
||||
- pushd clients/js/splore
|
||||
- pushd samples/js/splore
|
||||
- npm prune
|
||||
- ./build.py
|
||||
- npm test
|
||||
@@ -33,7 +33,7 @@ notifications:
|
||||
cache:
|
||||
directories:
|
||||
- js/node_modules
|
||||
- clients/js/splore/node_modules
|
||||
- samples/js/splore/node_modules
|
||||
deploy:
|
||||
provider: script
|
||||
script: tools/publish-js-sdk.py
|
||||
|
||||
@@ -8,10 +8,10 @@ import (
|
||||
"io"
|
||||
"os"
|
||||
|
||||
"github.com/attic-labs/noms/clients/go/flags"
|
||||
"github.com/attic-labs/noms/clients/go/util"
|
||||
"github.com/attic-labs/noms/go/types"
|
||||
"github.com/attic-labs/noms/go/util/outputpager"
|
||||
"github.com/attic-labs/noms/samples/go/flags"
|
||||
"github.com/attic-labs/noms/samples/go/util"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
@@ -9,9 +9,9 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/attic-labs/noms/clients/go/flags"
|
||||
"github.com/attic-labs/noms/clients/go/util"
|
||||
"github.com/attic-labs/noms/go/types"
|
||||
"github.com/attic-labs/noms/samples/go/flags"
|
||||
"github.com/attic-labs/noms/samples/go/util"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -7,11 +7,11 @@ package main
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/attic-labs/noms/clients/go/test_util"
|
||||
"github.com/attic-labs/noms/go/chunks"
|
||||
"github.com/attic-labs/noms/go/datas"
|
||||
"github.com/attic-labs/noms/go/dataset"
|
||||
"github.com/attic-labs/noms/go/types"
|
||||
"github.com/attic-labs/noms/samples/go/test_util"
|
||||
"github.com/attic-labs/testify/suite"
|
||||
)
|
||||
|
||||
|
||||
@@ -13,11 +13,11 @@ import (
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"github.com/attic-labs/noms/clients/go/flags"
|
||||
"github.com/attic-labs/noms/clients/go/util"
|
||||
"github.com/attic-labs/noms/go/datas"
|
||||
"github.com/attic-labs/noms/go/types"
|
||||
"github.com/attic-labs/noms/go/util/outputpager"
|
||||
"github.com/attic-labs/noms/samples/go/flags"
|
||||
"github.com/attic-labs/noms/samples/go/util"
|
||||
"github.com/mgutz/ansi"
|
||||
)
|
||||
|
||||
|
||||
@@ -8,11 +8,11 @@ import (
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
"github.com/attic-labs/noms/clients/go/flags"
|
||||
"github.com/attic-labs/noms/clients/go/test_util"
|
||||
"github.com/attic-labs/noms/clients/go/util"
|
||||
"github.com/attic-labs/noms/go/dataset"
|
||||
"github.com/attic-labs/noms/go/types"
|
||||
"github.com/attic-labs/noms/samples/go/flags"
|
||||
"github.com/attic-labs/noms/samples/go/test_util"
|
||||
"github.com/attic-labs/noms/samples/go/util"
|
||||
"github.com/attic-labs/testify/assert"
|
||||
"github.com/attic-labs/testify/suite"
|
||||
)
|
||||
|
||||
@@ -5,7 +5,7 @@ noms-serve implements a noms database over HTTP.
|
||||
## Example
|
||||
|
||||
```
|
||||
cd $GOPATH/src/github.com/attic-labs/noms/clients/go/counter
|
||||
cd $GOPATH/src/github.com/attic-labs/noms/samples/go/counter
|
||||
go build
|
||||
./counter ldb:/tmp/nomsdb:counter
|
||||
./counter ldb:/tmp/nomsdb:counter
|
||||
|
||||
@@ -12,10 +12,10 @@ import (
|
||||
"os/signal"
|
||||
"syscall"
|
||||
|
||||
"github.com/attic-labs/noms/clients/go/flags"
|
||||
"github.com/attic-labs/noms/clients/go/util"
|
||||
"github.com/attic-labs/noms/go/d"
|
||||
"github.com/attic-labs/noms/go/datas"
|
||||
"github.com/attic-labs/noms/samples/go/flags"
|
||||
"github.com/attic-labs/noms/samples/go/util"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -10,10 +10,10 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/attic-labs/noms/clients/go/flags"
|
||||
"github.com/attic-labs/noms/clients/go/util"
|
||||
"github.com/attic-labs/noms/go/types"
|
||||
"github.com/attic-labs/noms/go/util/outputpager"
|
||||
"github.com/attic-labs/noms/samples/go/flags"
|
||||
"github.com/attic-labs/noms/samples/go/util"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -8,11 +8,11 @@ import (
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
"github.com/attic-labs/noms/clients/go/flags"
|
||||
"github.com/attic-labs/noms/clients/go/test_util"
|
||||
"github.com/attic-labs/noms/go/d"
|
||||
"github.com/attic-labs/noms/go/dataset"
|
||||
"github.com/attic-labs/noms/go/types"
|
||||
"github.com/attic-labs/noms/samples/go/flags"
|
||||
"github.com/attic-labs/noms/samples/go/test_util"
|
||||
"github.com/attic-labs/testify/suite"
|
||||
)
|
||||
|
||||
|
||||
@@ -12,10 +12,10 @@ import (
|
||||
"os"
|
||||
"runtime"
|
||||
|
||||
"github.com/attic-labs/noms/clients/go/flags"
|
||||
"github.com/attic-labs/noms/clients/go/util"
|
||||
"github.com/attic-labs/noms/go/d"
|
||||
"github.com/attic-labs/noms/go/types"
|
||||
"github.com/attic-labs/noms/samples/go/flags"
|
||||
"github.com/attic-labs/noms/samples/go/util"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -9,11 +9,11 @@ import (
|
||||
"path"
|
||||
"testing"
|
||||
|
||||
"github.com/attic-labs/noms/clients/go/test_util"
|
||||
"github.com/attic-labs/noms/go/chunks"
|
||||
"github.com/attic-labs/noms/go/datas"
|
||||
"github.com/attic-labs/noms/go/dataset"
|
||||
"github.com/attic-labs/noms/go/types"
|
||||
"github.com/attic-labs/noms/samples/go/test_util"
|
||||
"github.com/attic-labs/testify/suite"
|
||||
)
|
||||
|
||||
|
||||
@@ -130,7 +130,7 @@ films
|
||||
We can now make an edit locally:
|
||||
|
||||
```
|
||||
> cd $GOPATH/src/github.com/attic-labs/noms/clients/go/csv
|
||||
> cd $GOPATH/src/github.com/attic-labs/noms/samples/go/csv
|
||||
> go install ./...
|
||||
> csv-export ldb:/tmp/noms:films /tmp/film-locations.csv
|
||||
```
|
||||
|
||||
@@ -10,11 +10,11 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/attic-labs/noms/clients/go/flags"
|
||||
"github.com/attic-labs/noms/clients/go/util"
|
||||
"github.com/attic-labs/noms/go/d"
|
||||
"github.com/attic-labs/noms/go/datas"
|
||||
"github.com/attic-labs/noms/go/types"
|
||||
"github.com/attic-labs/noms/samples/go/flags"
|
||||
"github.com/attic-labs/noms/samples/go/util"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
"github.com/attic-labs/noms/clients/go/test_util"
|
||||
"github.com/attic-labs/noms/samples/go/test_util"
|
||||
"github.com/attic-labs/testify/suite"
|
||||
)
|
||||
|
||||
@@ -11,11 +11,11 @@ import (
|
||||
"os"
|
||||
"runtime"
|
||||
|
||||
"github.com/attic-labs/noms/clients/go/csv"
|
||||
"github.com/attic-labs/noms/clients/go/flags"
|
||||
"github.com/attic-labs/noms/clients/go/util"
|
||||
"github.com/attic-labs/noms/go/d"
|
||||
"github.com/attic-labs/noms/go/datas"
|
||||
"github.com/attic-labs/noms/samples/go/csv"
|
||||
"github.com/attic-labs/noms/samples/go/flags"
|
||||
"github.com/attic-labs/noms/samples/go/util"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -11,12 +11,12 @@ import (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/attic-labs/noms/clients/go/test_util"
|
||||
"github.com/attic-labs/noms/go/chunks"
|
||||
"github.com/attic-labs/noms/go/d"
|
||||
"github.com/attic-labs/noms/go/datas"
|
||||
"github.com/attic-labs/noms/go/dataset"
|
||||
"github.com/attic-labs/noms/go/types"
|
||||
"github.com/attic-labs/noms/samples/go/test_util"
|
||||
"github.com/attic-labs/testify/suite"
|
||||
)
|
||||
|
||||
@@ -14,13 +14,13 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/attic-labs/noms/clients/go/csv"
|
||||
"github.com/attic-labs/noms/clients/go/flags"
|
||||
"github.com/attic-labs/noms/clients/go/util"
|
||||
"github.com/attic-labs/noms/go/d"
|
||||
"github.com/attic-labs/noms/go/types"
|
||||
"github.com/attic-labs/noms/go/util/progressreader"
|
||||
"github.com/attic-labs/noms/go/util/status"
|
||||
"github.com/attic-labs/noms/samples/go/csv"
|
||||
"github.com/attic-labs/noms/samples/go/flags"
|
||||
"github.com/attic-labs/noms/samples/go/util"
|
||||
|
||||
humanize "github.com/dustin/go-humanize"
|
||||
)
|
||||
@@ -10,12 +10,12 @@ import (
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/attic-labs/noms/clients/go/test_util"
|
||||
"github.com/attic-labs/noms/go/chunks"
|
||||
"github.com/attic-labs/noms/go/d"
|
||||
"github.com/attic-labs/noms/go/datas"
|
||||
"github.com/attic-labs/noms/go/dataset"
|
||||
"github.com/attic-labs/noms/go/types"
|
||||
"github.com/attic-labs/noms/samples/go/test_util"
|
||||
"github.com/attic-labs/testify/suite"
|
||||
)
|
||||
|
||||
@@ -13,9 +13,9 @@ import (
|
||||
"net/http"
|
||||
"os"
|
||||
|
||||
"github.com/attic-labs/noms/clients/go/flags"
|
||||
"github.com/attic-labs/noms/clients/go/util"
|
||||
"github.com/attic-labs/noms/go/d"
|
||||
"github.com/attic-labs/noms/samples/go/flags"
|
||||
"github.com/attic-labs/noms/samples/go/util"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -7,8 +7,8 @@ package test_util
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/attic-labs/noms/clients/go/util"
|
||||
"github.com/attic-labs/noms/go/types"
|
||||
"github.com/attic-labs/noms/samples/go/util"
|
||||
"github.com/attic-labs/testify/suite"
|
||||
)
|
||||
|
||||
@@ -14,13 +14,13 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/attic-labs/noms/clients/go/flags"
|
||||
"github.com/attic-labs/noms/clients/go/util"
|
||||
"github.com/attic-labs/noms/go/d"
|
||||
"github.com/attic-labs/noms/go/datas"
|
||||
"github.com/attic-labs/noms/go/types"
|
||||
"github.com/attic-labs/noms/go/util/progressreader"
|
||||
"github.com/attic-labs/noms/go/util/status"
|
||||
"github.com/attic-labs/noms/samples/go/flags"
|
||||
"github.com/attic-labs/noms/samples/go/util"
|
||||
human "github.com/dustin/go-humanize"
|
||||
)
|
||||
|
||||
@@ -15,10 +15,10 @@ import (
|
||||
"sort"
|
||||
"sync"
|
||||
|
||||
"github.com/attic-labs/noms/clients/go/flags"
|
||||
"github.com/attic-labs/noms/clients/go/util"
|
||||
"github.com/attic-labs/noms/go/d"
|
||||
"github.com/attic-labs/noms/go/types"
|
||||
"github.com/attic-labs/noms/samples/go/flags"
|
||||
"github.com/attic-labs/noms/samples/go/util"
|
||||
"github.com/clbanning/mxj"
|
||||
)
|
||||
|
||||
|
Before Width: | Height: | Size: 161 KiB After Width: | Height: | Size: 161 KiB |
@@ -7,7 +7,7 @@ counter uses noms/js to read and write a simple incrementing counter.
|
||||
|
||||
```
|
||||
noms serve ldb:/tmp/noms &
|
||||
cd ../../clients/js/counter
|
||||
cd ../../samples/js/counter
|
||||
npm install
|
||||
npm run build
|
||||
node . http://localhost:8000:counter
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user