TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

A Roadmap to Merging 'dep' into the Go Toolchain

138 pointsby numo16about 8 years ago

10 comments

joaodlfabout 8 years ago
This can&#x27;t happens fast enough.<p>I have been having a fantastic time with Go... Up until the point I have to add a new package to my projects and go through CI and deployment.<p>Glide works mostly OK, but it&#x27;s not the final solution, that&#x27;s for sure. Even big packages on github fail to produce releases, so you have to depend on master branches... One day your builds just decide to break. It&#x27;s a nightmare.
评论 #13833780 未加载
评论 #13835074 未加载
评论 #13834948 未加载
评论 #13835849 未加载
ernsheongabout 8 years ago
This podcast (iOS) is really worth listening. Straight from the horse&#x27;s mouth:<p>&quot;Dependency Management, Semver, and Community Consensus&quot; <a href="https:&#x2F;&#x2F;itunes.apple.com&#x2F;my&#x2F;podcast&#x2F;go-time&#x2F;id1120964487?mt=2&amp;i=1000382116565" rel="nofollow">https:&#x2F;&#x2F;itunes.apple.com&#x2F;my&#x2F;podcast&#x2F;go-time&#x2F;id1120964487?mt=...</a><p>It explains how go dep fundamentally works alongside the other tools.
评论 #13836951 未加载
zellynabout 8 years ago
If you have any skills or interest in this area, the dep team could use your help. Even just trying it out, running into trouble, and filing bugs would be helpful. Join #vendor on the Golang Slack.
geodelabout 8 years ago
Great initiative. If it goes well we hopefully will have an integrated dependency management solution with go command by next year this time.
devtyabout 8 years ago
The `dep` repository: <a href="https:&#x2F;&#x2F;github.com&#x2F;golang&#x2F;dep" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;golang&#x2F;dep</a>
ernsheongabout 8 years ago
This podcast (iOS) is really worth listening. Straight from the horse&#x27;s mouth:<p>&quot;Dependency Management, Semver, and Community Consensus with Sam Boyer&quot; <a href="https:&#x2F;&#x2F;itunes.apple.com&#x2F;my&#x2F;podcast&#x2F;go-time&#x2F;id1120964487?mt=2&amp;i=1000382116565" rel="nofollow">https:&#x2F;&#x2F;itunes.apple.com&#x2F;my&#x2F;podcast&#x2F;go-time&#x2F;id1120964487?mt=...</a>
vkatabout 8 years ago
Started with dep recently on a real go project at work. It worked initially fine until I started adding dependencies and I had to hunt down the right commit hash by looking at the dependencies. I am probably going to stick with it and maybe contributing upstream as well.
politicianabout 8 years ago
Anyone know how dep&#x27;s approach differs from the two-step process in `gb`?<p>(gb vendor fetch github.com&#x2F;some&#x2F;pkg, gb build, git commit -am &quot;all of your vendor&#x27;d source&quot;)
评论 #13835643 未加载
评论 #13836514 未加载
cybernytrixabout 8 years ago
Our team runs _the_ largest Go middleware. Checking in external dependencies into your repo scales - you don&#x27;t want 200+ users hitting Github every 10 minutes, when you can hit the local Git repo on a 10Gbps n&#x2F;w. Also, using GOPATH with a simple Makefile is pretty much all you need -- unless you don&#x27;t grok Makefiles. But whatever floats your boat and as usual the latest hotness sells.
poofyleekabout 8 years ago
I use gopkg.in. Personally I would like to see the community avoid adding more to the &#x27;go&#x27; tool. It is already doing too much. I think the solution provided by gopkg.in is better than other more conventional methods (e.g. npm or maven like). I love Go. But it is ironic that &#x27;go fmt&#x27; was designed in from the beginning. And now we are still dealing with semver and package dependencies. I went with gopkg.in because it made the dependencies a non issue from the tooling point of view. It is made possible by having &#x27;import&#x27; direct from the repositories, which archive different versions and tags. Perfect for something like gopkg.in. I am probably in the minority.
评论 #13836942 未加载