paultag / go-debian

debian golang support library
https://pault.ag/go/debian
Other
81 stars 33 forks source link

declare a Go module #100

Closed stapelberg closed 5 years ago

stapelberg commented 5 years ago

related to #99

paultag commented 5 years ago

Thanks @stapelberg !

paultag commented 5 years ago

@stapelberg the only question I have is RE: the hashes in the import paths of deps. How do we update those semi-automatically? I don't like pinning as a general practice -- is that going to change the behavior of go-get or anything else?

stapelberg commented 5 years ago

Thanks to Minimum Version Selection, when building a binary, the latest version anything pulls in wins. So, if people are building things, they can force an update without us having to update — this isn’t pinning, it’s just specifying the minimums.

It’ll be sufficient to run “go get -u” when doing another change every once in a while (to cover the cases where users are even more tardy than we are) :)

paultag commented 5 years ago

flawless, thanks @stapelberg!