|
|
Subscribe / Log in / New account

Downloading packages

Downloading packages

Posted Mar 16, 2019 13:56 UTC (Sat) by corbet (editor, #1)
In reply to: Federated blogging with WriteFreely by ms
Parent article: Federated blogging with WriteFreely

From my reading, it's using a bunch of "go get" commands, with no version pinning in sight anywhere. Are those version strings hidden somewhere that I'm unaware of?


to post comments

Downloading packages

Posted Mar 16, 2019 14:12 UTC (Sat) by ms (subscriber, #41272) [Link] (2 responses)

"go get" inspects the go.mod and go.sum files in the root of the project.

https://github.com/writeas/writefreely/blob/master/go.mod
https://github.com/writeas/writefreely/blob/master/go.sum

There's been an awful lot of thinking that has gone into this mechanism, and whilst it's not quite finished in Go 1.12, it's pretty close these days. There's a lot of writing about it all at https://research.swtch.com/vgo

Downloading packages

Posted Mar 16, 2019 14:23 UTC (Sat) by corbet (editor, #1) [Link] (1 responses)

OK, clearly I'm pretty ignorant about how Go packaging works, and it's not as bad as I had feared. Thanks for enlightening me.

Downloading packages

Posted Mar 16, 2019 14:25 UTC (Sat) by ms (subscriber, #41272) [Link]

No problem. Glad I could help!


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds