You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 29, 2023. It is now read-only.
Describe the bug
MKDOCS=1 build.sh linux 1.8.0 fail because of unmet dependencies
To Reproduce
Steps to reproduce the behavior:
Not having the following dependencies in your GOPATH
github.com/cpuguy83/go-md2man/md2man
gopkg.in/yaml.v2
Run the command 'MKDOCS=1 build.sh linux 1.8.0'
See error:
+ env GOOS=linux GOARCH=386 go build --tags docs -o dbdeployer-1.8.0-docs.linux .
../../spf13/cobra/doc/man_docs.go:26:2: cannot find package "github.com/cpuguy83/go-md2man/md2man" in any of:
/usr/lib/go/src/github.com/cpuguy83/go-md2man/md2man (from $GOROOT)
/home/john/go/src/github.com/cpuguy83/go-md2man/md2man (from $GOPATH)
tar: dbdeployer-1.8.0-docs.linux: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
+ env GOOS=linux GOARCH=386 go build --tags docs -o dbdeployer-1.8.0-docs.linux .
../../spf13/cobra/doc/yaml_docs.go:26:2: cannot find package "gopkg.in/yaml.v2" in any of:
/usr/lib/go/src/gopkg.in/yaml.v2 (from $GOROOT)
/home/john/go/src/gopkg.in/yaml.v2 (from $GOPATH)
Expected behavior
docs should state
github.com/cpuguy83/go-md2man/md2man
and
gopkg.in/yaml.v2
Although they seems to be dependencies of the cobra lib, and not dbdeployer
build should properly fail
Environment:
OS: Arch Linux
dbdeployer version 1.8.0
tarball full name: NA
tarball origin: NA
Additional context
My GO SRC only contained:
spf13/cobra
jteeuwen/go-bindata
datacharmer/dbdeployer
before trying to build
The text was updated successfully, but these errors were encountered:
Fixed in latest commit.
Now, when building with MKDOCS and spf13/cobra/docs was not in path, an appropriate message suggests which 'go get' command would solve the problem. No build is attempted before the dependencies are correct.
Describe the bug
MKDOCS=1 build.sh linux 1.8.0 fail because of unmet dependencies
To Reproduce
Steps to reproduce the behavior:
github.com/cpuguy83/go-md2man/md2man
gopkg.in/yaml.v2
Expected behavior
docs should state
github.com/cpuguy83/go-md2man/md2man
and
gopkg.in/yaml.v2
Although they seems to be dependencies of the cobra lib, and not dbdeployer
build should properly fail
Environment:
Additional context
My GO SRC only contained:
spf13/cobra
jteeuwen/go-bindata
datacharmer/dbdeployer
before trying to build
The text was updated successfully, but these errors were encountered: