GithubHelp home page GithubHelp logo

Comments (8)

kr avatar kr commented on May 27, 2024

Ah, I have an idea for what this could be.

from godep.

bgentry avatar bgentry commented on May 27, 2024

@kr so what's your idea? :)

from godep.

kr avatar kr commented on May 27, 2024

Uh, I left that comment on my phone on a train and then forgot to follow up. Now I don't remember what the idea was.

Maybe something to do with git setting timestamps in the past during a checkout, but I doubt that would explain this case since I know hk has had commits since Jan 17.

It's hard to understand what's going wrong here. The command you ran godep go build is really just doing the equivalent of:

$ GOPATH=/path/to/hk/Godeps/_workspace:$GOPATH go build

from godep.

danp avatar danp commented on May 27, 2024

Is this a dup of #45?

from godep.

bgentry avatar bgentry commented on May 27, 2024

I don't think so? #45 is related to stale imports. This appears to be subpackages that are imported from the global Go path instead of the one set up by godep.

Maybe they are related or caused by the same thing, I'm not sure :)

from godep.

harshavardhana avatar harshavardhana commented on May 27, 2024

https://github.com/tools/godep/blob/master/get.go#L50 - i cannot help but wonder why is "go install" necessary for "godep get" ?

from godep.

freeformz avatar freeformz commented on May 27, 2024

Every time I've tracked these things down in the past it was because of the go tool using the wrong cached package file from outside. rewrites and/or vendor directory solve this AFAIK, so those should be used instead. Closing for now. If I'm way off base and/or we can reproduce with go 1.5* and current godep please re-open. Thanks!

from godep.

bgentry avatar bgentry commented on May 27, 2024

I'm almost positive this used to happen to me even with rewrites. But I'm
not using godep regularly enough right now to say if it's still an issue.

On Friday, September 11, 2015, Edward Muller [email protected]
wrote:

Every time I've tracked these things down in the past it was because of
the go tool using the wrong cached package file from outside. rewrites
and/or vendor directory solve this AFAIK, so those should be used instead.
Closing for now. If I'm way off base and/or we can reproduce with go 1.5*
and current godep please re-open. Thanks!


Reply to this email directly or view it on GitHub
#55 (comment).

from godep.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.