-
Notifications
You must be signed in to change notification settings - Fork 4
Conversation
Update all deps to the latest.
You're most welcome, and thank you for your interest. Feel free to submit away! With 7adbaa1 the only non-standard library dependency used is github.com/golang/gddo/httputil/header in httpasset. That was vendored with govendor in 397fcce. There are some non-standard library dependencies used in the test suite, but I definitely do not want to vendor those as that's just pure bloat. As for govendor vs dep, I'm going to remain on the fence with this for now. (I can't say I'm a huge fan of vendoring in general — it feels like the wrong solution to the wrong problem 💁♂️). Ultimately, I'm not prepared to switch over to dep until golang/dep#276 is resolved. Once the manifest format is stable then I'm happy to revisit this. If you would like to add a new commit that excludes the test suite dependencies and is updated for 7adbaa1, I'll happily leave this open and revisit during the go1.9 cycle which is when the manifest format should be stable. Edit: also see this comment:
|
Fair points. I would add these points, though.
|
With respect to point two, just run:
I'm not really too worried about the test dependencies becoming out of date. Most people will never run the test suite, that's more for me and any contributors. I think it's easy enough for me to update the test suite in the event of any breaking changes. Just doing a quick once over of the imports of the test suite:
With respect to the first point, I'm really not interested in being stuck managing any churn around a tool that is known to be unstable. I don't see any issue sticking with govendor for now, it doesn't effect package users in any meaningful way at all. Like I said, when the manifest format becomes stable I will certainly revisit this. Again, thank you for your interest in this project and my efforts. 🙂 |
All fair points. I didn't know about the |
Thanks so much for taking over
go-bindata
!🎉 🎉 🎉
I have several PRs I want to submit. The first is to vendor all the missing deps using the
dep
tool. This tool is only in alpha, but it's the best Go vendoring tool there is. It will be merged into thego
tool sometime around 1.10. Future dep updates can be done like this.Edit
manifest.json
if you want to specify version constraints.In any case, because of the large code change (the
gddo
package was last updated in March 2015), this should be tested thoroughly.