Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Temporarily use github.com/tsenart/migrate #1818

Merged
merged 1 commit into from
Jan 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dev/migrate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ hash migrate 2>/dev/null || {
if [[ $(uname) == "Darwin" ]]; then
brew install golang-migrate
else
echo "You need to install the 'migrate' tool: https://github.com/golang-migrate/migrate/"
echo "You need to install the 'migrate' tool: https://github.com/tsenart/migrate/"
exit 1
fi
}
Expand Down
2 changes: 1 addition & 1 deletion doc/dev/local_development.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ While developing Sourcegraph, you may run into:

`frontend | failed to migrate the DB. Please contact [email protected] for further assistance:Dirty database version 1514702776. Fix and force version.`

You may have to run migrations manually. First, install the Go [migrate](https://github.com/golang-migrate/migrate/tree/master/cli#installation) CLI, and run something like:
You may have to run migrations manually. First, install the Go [migrate](https://github.com/tsenart/migrate/tree/master/cli#installation) CLI, and run something like:

Then try:

Expand Down
25 changes: 5 additions & 20 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,12 @@ require (
github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd // indirect
github.com/coreos/go-oidc v0.0.0-20171002155002-a93f71fdfe73
github.com/coreos/go-semver v0.2.0
github.com/cosiner/argv v0.0.1 // indirect
github.com/crewjam/saml v0.0.0-20180831135026-ebc5f787b786
github.com/davecgh/go-spew v1.1.1
github.com/daviddengcn/go-colortext v0.0.0-20171126034257-17e75f6184bc
github.com/derekparker/delve v1.1.0 // indirect
github.com/dghubble/gologin v1.0.2-0.20181013174641-0e442dd5bb73
github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect
github.com/die-net/lrucache v0.0.0-20180825112409-f89ea99a4e43
github.com/docker/distribution v2.7.0+incompatible // indirect
github.com/emersion/go-imap v1.0.0-beta.1
github.com/emersion/go-sasl v0.0.0-20161116183048-7e096a0a6197 // indirect
github.com/ericchiang/k8s v1.2.0
Expand All @@ -38,22 +35,16 @@ require (
github.com/getsentry/raven-go v0.2.0
github.com/ghodss/yaml v1.0.0
github.com/go-redsync/redsync v1.0.1
github.com/go-sql-driver/mysql v1.4.1 // indirect
github.com/go-stack/stack v1.8.0 // indirect
github.com/gobwas/glob v0.2.3
github.com/gogo/protobuf v1.2.0
github.com/golang-migrate/migrate/v4 v4.1.0
github.com/golang/gddo v0.0.0-20181116215533-9bd4a3295021
github.com/golang/groupcache v0.0.0-20180513044358-24b0969c4cb7
github.com/golang/mock v1.2.0 // indirect
github.com/golangci/golangci-lint v1.12.5
github.com/golangplus/bytes v0.0.0-20160111154220-45c989fe5450 // indirect
github.com/golangplus/fmt v0.0.0-20150411045040-2a5d6d7d2995 // indirect
github.com/golangplus/testing v0.0.0-20180327235837-af21d9c3145e // indirect
github.com/gomodule/redigo v2.0.0+incompatible // indirect
github.com/google/go-github v17.0.0+incompatible
github.com/google/go-querystring v1.0.0
github.com/google/pprof v0.0.0-20190109223431-e84dfd68c163 // indirect
github.com/google/uuid v1.1.0
github.com/google/zoekt v0.0.0-20180530125106-8e284ca7e964
github.com/gorilla/context v1.1.1
Expand All @@ -63,12 +54,10 @@ require (
github.com/gorilla/schema v1.0.2
github.com/gorilla/securecookie v1.1.1
github.com/gorilla/sessions v1.1.4-0.20181015005113-68d1edeb366b
github.com/gotestyourself/gotestyourself v2.2.0+incompatible // indirect
github.com/graph-gophers/graphql-go v0.0.0-20190104202721-0079757a4d96
github.com/gregjones/httpcache v0.0.0-20190107165158-c63ab54fda8f
github.com/hashicorp/go-multierror v1.0.0
github.com/honeycombio/libhoney-go v1.8.1
github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6 // indirect
github.com/joho/godotenv v1.3.0
github.com/jonboulle/clockwork v0.1.0 // indirect
github.com/kardianos/osext v0.0.0-20170510131534-ae77be60afb1
Expand All @@ -88,9 +77,8 @@ require (
github.com/neelance/parallel v0.0.0-20160708114440-4de9ce63d14c
github.com/opentracing-contrib/go-stdlib v0.0.0-20190104202730-77df8e8e70b4
github.com/opentracing/opentracing-go v1.0.2
github.com/peterh/liner v1.1.0 // indirect
github.com/peterhellberg/link v1.0.0
github.com/pkg/errors v0.8.0
github.com/pkg/errors v0.8.1
github.com/pquerna/cachecontrol v0.0.0-20180517163645-1555304b9b35 // indirect
github.com/prometheus/client_golang v0.9.2
github.com/prometheus/common v0.0.0-20181218105931-67670fe90761 // indirect
Expand All @@ -102,7 +90,6 @@ require (
github.com/shurcooL/httpgzip v0.0.0-20180522190206-b1c53ac65af9 // indirect
github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
github.com/shurcooL/vfsgen v0.0.0-20181202132449-6a9ea43bcacd
github.com/sirupsen/logrus v1.0.6 // indirect
github.com/sloonz/go-qprintable v0.0.0-20160203160305-775b3a4592d5 // indirect
github.com/sourcegraph/ctxvfs v0.0.0-20180418081416-2b65f1b1ea81
github.com/sourcegraph/docsite v0.0.0-20181231165911-11f5f871132b
Expand All @@ -117,6 +104,7 @@ require (
github.com/stripe/stripe-go v0.0.0-20181128170521-1436b6008c5e
github.com/stvp/tempredis v0.0.0-20190104202742-b82af8480203 // indirect
github.com/temoto/robotstxt-go v0.0.0-20180810133444-97ee4a9ee6ea
github.com/tsenart/migrate/v4 v4.2.2
github.com/uber-go/atomic v1.3.2 // indirect
github.com/uber/jaeger-client-go v2.14.0+incompatible
github.com/uber/jaeger-lib v1.5.0
Expand All @@ -126,24 +114,21 @@ require (
github.com/xeonx/timeago v1.0.0-rc3
github.com/zenazn/goji v0.9.0 // indirect
go.uber.org/atomic v1.3.2 // indirect
golang.org/x/arch v0.0.0-20181203225421-5a4828bb7045 // indirect
golang.org/x/crypto v0.0.0-20190104202753-ff983b9c42bc
golang.org/x/net v0.0.0-20190107163308-1a61f4433d85
golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e
golang.org/x/oauth2 v0.0.0-20181203162652-d668ce993890
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4
golang.org/x/sys v0.0.0-20190107174137-20be8e55dc7b
golang.org/x/sys v0.0.0-20190108104531-7fbe1cd0fcc2
golang.org/x/time v0.0.0-20190104202802-85acf8d2951c
golang.org/x/tools v0.0.0-20190107164406-e063def13b29
golang.org/x/tools v0.0.0-20190108222858-421f03a57a64
google.golang.org/api v0.1.0 // indirect
google.golang.org/appengine v1.4.0 // indirect
gopkg.in/alexcesaro/statsd.v2 v2.0.0 // indirect
gopkg.in/inconshreveable/log15.v2 v2.0.0-20180818164646-67afb5ed74ec
gopkg.in/jpoehls/gophermail.v0 v0.0.0-20160410235621-62941eab772c
gopkg.in/square/go-jose.v2 v2.1.9 // indirect
gopkg.in/src-d/go-git.v4 v4.7.0
gopkg.in/urfave/cli.v2 v2.0.0-20180128182452-d3ae77c26ac8 // indirect
gopkg.in/yaml.v2 v2.2.2
gotest.tools v2.2.0+incompatible // indirect
sourcegraph.com/sourcegraph/go-diff v0.0.0-20171119081133-3f415a150aec
sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4 // indirect
)
Expand Down
Loading