Open kegsay opened 7 years ago
It shouldn't be too hard to materialise .Deps
, as long as it doesn't slow anything down.
In case anyone cares, you can do this with go list
provided you set GOPATH
correctly e.g:
GOPATH=$GOPATH:$(pwd):$(pwd)/vendor
I'd still like to implement this into gb
because I feel having parity with the equivalent go
command is important, plus I think it's probably superficial enough to serve as a good starting point to get to know how this project works.
This looks friendly enough for a beginner to gb
. I'll take this.
Actually, reading over some other issues I failed at discussing design before actually diving in the code. That being said, I did took a stab at it, but I think that proper guidance/pairing would help me out big time :)
I want to create a dependency graph of my project which uses gb. I naively thought I could do what these slides suggest, but alas, it does not work.
Currently there is this command:
gb.Package
currently looks like:This contrasts with
go list
:Whilst most of the fields look to be the same,
Deps
is noticeably missing from this. This means that you can't easily produce dependency graphs for gb projects. It looks like it should be added here but I'm not sure exactly howgo list
populates this list.How easy/hard would it be to add in
.Deps
toimporter.Package
so I can generate pretty graphs? :innocent: