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

Fix RawAuthor -> Author #616

Closed
wants to merge 1 commit into from
Closed

Fix RawAuthor -> Author #616

wants to merge 1 commit into from

Conversation

floatdrop
Copy link

I got strange error, when run make deps in fresh master branch:

floatdrop@drone:~/go/src/github.com/drone/drone$ make
mkdir -p packaging/output
mkdir -p packaging/root/usr/local/bin
go build -o packaging/root/usr/local/bin/drone  -ldflags "-X main.revision 1cb74a9" github.com/drone/drone/cli
go build -o packaging/root/usr/local/bin/droned -ldflags "-X main.revision 1cb74a9" github.com/drone/drone/server
# github.com/drone/drone/plugin/remote/bitbucket
plugin/remote/bitbucket/bitbucket.go:254: hook.Commits[len(hook.Commits) - 1].RawAuthor undefined (type *bitbucket.Commit has no field or method RawAuthor)
make: *** [build] Error 2

Could this be a typo? How build on drone.io got green?

//cc @gregory90

@bradrydzewski
Copy link

you need to run go get -u to update your local dependencies. This will pull down the latest version of the bitbucket package

@floatdrop floatdrop deleted the remote-bitbucker-rawauthor-typo branch October 23, 2014 10:05
@floatdrop floatdrop restored the remote-bitbucker-rawauthor-typo branch October 23, 2014 10:10
@floatdrop
Copy link
Author

go get -u is not working, and says:

package github.com/drone/drone: no buildable Go source files in /home/floatdrop/go/src/github.com/drone/drone

I just cleaned go/src directory and pulled all deps again. Thanks for the tip!

@floatdrop floatdrop deleted the remote-bitbucker-rawauthor-typo branch December 24, 2014 13:03
johannesHarness added a commit that referenced this pull request Sep 27, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants