tools / godep

dependency tool for go
http://godoc.org/github.com/tools/godep
BSD 3-Clause "New" or "Revised" License
5.55k stars 455 forks source link

Exclude #523

Closed tejasmanohar closed 6 years ago

tejasmanohar commented 7 years ago

Is it possible to exclude a subpackage of a dependency from godep save ./... etc? I want to exclude the internal/sasl package of mgo (https://github.com/go-mgo/mgo/issues/220) because it requires cgo, and I don't need that functionality.

freeformz commented 7 years ago

If you aren't using that package (even transitively) it won't be saved. You are probably building a file that is included, but not used.

Is this (like that issue) on Heroku? If so, can you please file an issue there and ask support to escalate it to me?

On Mon, Nov 14, 2016 at 7:21 PM Tejas Manohar notifications@github.com wrote:

Is it possible to exclude a subpackage of a dependency from godep save ./... etc? I want to exclude the internal/sasl package of mgo ( go-mgo/mgo#220 https://github.com/go-mgo/mgo/issues/220) because it requires cgo, and I don't need that functionality.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tools/godep/issues/523, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAAZ-G4scqhFp7DzaEtZGwy4AP0eQ3bks5q-SU5gaJpZM4KyFZb .

tejasmanohar commented 7 years ago

@freeformz I'm actually not using Heroku, but seems like people are having issues there.

freeformz commented 7 years ago

I posted on the linked issue with a repo to describe the likely issue.

On Tue, Nov 15, 2016 at 18:05 Tejas Manohar notifications@github.com wrote:

@freeformz https://github.com/freeformz I'm actually not using Heroku, but seems like people are having issues there.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/tools/godep/issues/523#issuecomment-260832016, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAAZ1Z60C_LB4mkrGrEYgkNNgntiy-Lks5q-mTcgaJpZM4KyFZb .

freeformz commented 6 years ago

I am closing this issue because the repo is going to be archived.