Skip to content

Commit

Permalink
Pin ristretto to v0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
stuarteberg committed Jan 21, 2020
1 parent 155c617 commit 0ac87ee
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
6 changes: 5 additions & 1 deletion scripts/conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -207,4 +207,8 @@ source:
- git_url: https://github.com/dgraph-io/badger
git_tag: v2.0.0 # Don't change this without also changing it in get-go-dependencies.sh!!!
folder: src/github.com/dgraph-io/badger


# ristretto
- git_url: https://github.com/dgraph-io/ristretto
git_tag: v0.0.1 # Don't change this without also changing it in get-go-dependencies.sh!!!
folder: src/github.com/dgraph-io/ristretto
16 changes: 15 additions & 1 deletion scripts/get-go-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,21 @@ go get github.com/janelia-flyem/protolog
# gomdb
#go get github.com/DocSavage/gomdb


# ristretto (used by badger)
#
# We can't use 'go get github.com/dgraph-io/ristretto/...' because we don't want the latest tag.
# (See badger notes below. Same reason.)
RISTRETTO_DIR=${GOPATH}/src/github.com/dgraph-io/badger
RISTRETTO_VERSION=v0.0.1 # Don't change this without also changing it in meta.yaml!!
if [[ -d ${RISTRETTO_DIR} ]]; then
cd ${RISTRETTO_DIR} && git fetch && cd -
else
git clone https://github.com/dgraph-io/ristretto ${RISTRETTO_DIR}
fi
cd ${RISTRETTO_DIR} && git checkout ${RISTRETTO_VERSION} && cd -
#go install -i github.com/dgraph-io/ristretto

# badger
#
# We can't use 'go get github.com/dgraph-io/badger/...' because we don't want the latest tag.
Expand All @@ -120,7 +135,6 @@ if [[ -d ${BADGER_DIR} ]]; then
else
git clone https://github.com/dgraph-io/badger ${BADGER_DIR}
fi

cd ${BADGER_DIR} && git checkout ${BADGER_VERSION} && cd -
#go install -i github.com/dgraph-io/badger

Expand Down

0 comments on commit 0ac87ee

Please sign in to comment.