News for hackers. Stuff that matters.
Re:Dead googlecode URLs on GitHub by philip1209 on Friday July 22, 2016 @05:17PM (#12146852)
As a reminder to Go package maintainers: Please tag your releases. Many companies* use http://glide.sh for package management. By default, it grabs the last tagged build, not master. We've encountered broken code.google.com links on the last tagged release, and it's not a great experience to override to a hash.

* e.g. Uber uses it https://github.com/uber/tchannel-go

Re:Dead googlecode URLs on GitHub by XorNot on Saturday July 23, 2016 @12:36AM (#12148368)
I don't like glide. It manages to recreate the pain of package installation in every other language.

The thing I really love about the golang vendor/ approach is that the dumbest possible way just works - the code is all there.

Glide gets pretty far away from that. The perfect model (or one which would produce the prettiest git diffs) would probably be a tool which kept the actual vendor'd packages under their own branch forks in the same git repo and checked them all out when you need them, just so vendoring changes wouldn't wind up being huge source tree diffs).

Re:Dead googlecode URLs on GitHub by nulltype on Saturday July 23, 2016 @01:45AM (#12148516)
I've seen the complaint about huge diffs a few times. Why not just exclude vendor directories from the diff?
Re:Dead googlecode URLs on GitHub by XorNot on Saturday July 23, 2016 @06:42PM (#12151316)
Can Github (and Github Enterprise) do this automatically? Basically, like most problems, the issue is that it interferes with a very common interface rather then being a real problem.

If I could have PRs by default fold vendor/ folders for me, then yeah - problem solved more or less.

Re:Dead googlecode URLs on GitHub by GFK_of_xmaspast on Friday July 22, 2016 @09:13PM (#12147881)
This looks like a failure in the go package management methodology.
Re:Dead googlecode URLs on GitHub by philip1209 on Friday July 22, 2016 @11:17PM (#12148181)
Go has no package management philosophy. It works well if you're using Bazel/Blaze. Not so well if you're grabbing a library off of Github.
Re:Dead googlecode URLs on GitHub by ocdtrekkie on Friday July 22, 2016 @07:23PM (#12147491)
As a note: "Uber" is not a good citation for "Many companies". ;)

But I totally lament the lack of use of tagged releases on GitHub. Sometimes I am looking for versions before some things but after others, for some reason, and it can be very hard to find in a commit list where the code was stable/functional. Depending on the repository, you often can't trust current master to be stable code either.

Re:Dead googlecode URLs on GitHub by philip1209 on Friday July 22, 2016 @08:03PM (#12147646)
Totally fair - my point was that users are beyond just early adopters. Glide doesn't keep a good record of public users.