Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing when building from source and importing plugins #8

Open
mr-tcan opened this issue Sep 24, 2017 · 1 comment
Open

Failing when building from source and importing plugins #8

mr-tcan opened this issue Sep 24, 2017 · 1 comment

Comments

@mr-tcan
Copy link

mr-tcan commented Sep 24, 2017

1. What version of Wedge are you using (wedge -version)?

0.10.9-w

2. What are you trying to do?

I was trying to build Wedge from source with some plugins. To do that, I wrote a file plugins.go inside wedge/caddy/caddymain:

package caddymain

import (
	_ "github.com/tdewolff/minify"
)

I did:

go get github.com/WedgeServer/wedge
go get github.com/WedgeServer/builds
cd go/src/github.com/WedgeServer/wedge/caddy/
go get -u ./...

And then I got this:

github.com/WedgeServer/wedge (download)
# cd /go/src/github.com/WedgeServer/wedge; git submodule update --init --recursive
fatal: No url found for submodule path 'vendor/gopkg.in/mcuadros/go-syslog.v2' in .gitmodules
package github.com/WedgeServer/wedge/caddy: exit status 128

If I do go get github.com/abiosoft/caddy-git instead of got get -u it builds normally.

@cking
Copy link

cking commented Sep 28, 2017

As a workaround, i just ran git rm $GOPATH/src/github.com/WedgeServer/wedge/vendor/gopkg.in/mcuadros/go-syslog.v2; rm -r $GOPATH/src/github.com/WedgeServer/wedge/vendor/gopkg.in/mcuadros/go-syslog.v2

That did lete me run go get -u ./...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants