Skip to content

Easier development setup #412

@jessbreckenridge

Description

@jessbreckenridge

Overview

When cloning the repo for the first time, I attempted to bootstrap and run tests.

Errors were encountered:

./context.go:654: undefined: gcfg.RelaxedParserMode
./context.go:655: undefined: scanner.RelaxedScannerMode
FAIL	_/Users/jessbreckenridge/github/gh-ost/go/base [build failed]
../../../../go/src/github.com/outbrain/golib/sqlutils/sqlutils.go:24:2: cannot find package "github.com/go-sql-driver/mysql" in any of:
	/usr/local/Cellar/go/1.8/libexec/src/github.com/go-sql-driver/mysql (from $GOROOT)
	/Users/jessbreckenridge/go/src/github.com/go-sql-driver/mysql (from $GOPATH)
encoding.go:9:2: cannot find package "golang.org/x/text/encoding" in any of:
	/usr/local/Cellar/go/1.8/libexec/src/golang.org/x/text/encoding (from $GOROOT)
	/Users/jessbreckenridge/go/src/golang.org/x/text/encoding (from $GOPATH)
encoding.go:10:2: cannot find package "golang.org/x/text/encoding/charmap" in any of:
	/usr/local/Cellar/go/1.8/libexec/src/golang.org/x/text/encoding/charmap (from $GOROOT)
	/Users/jessbreckenridge/go/src/golang.org/x/text/encoding/charmap (from $GOPATH)

After debugging for a while, there were multiple barriers to getting the environment up and running.

I would like to simplify the process of developing in gh-ost to downloading, bootstrapping, coding and testing.

Hopefully I am not barking up the wrong tree here and missing something simple. Please let me know.

I have branch with some changes in it, but I am holding off on submitting the PR until we have a discussion in the issue.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions