Golang dependencies and glide

Aaron Madlon-Kay aaron+macports at madlon-kay.com
Tue Sep 4 14:37:59 UTC 2018


Hi Mojca. Thanks for the info.

> But the main question boils down to: assuming that one dependency (of
> dashing, let's say) gets updated tomorrow. Will the resulting binary
> still be the same if you rebuild it the day after tomorrow?

In the presence of a glide.lock file, it appears the answer is yes, the binary will be the same (modulo other reproducibility issues).

> Ideally we would have a PortGroup which could take
> care of dependencies in a similar way as this is done for python or
> perl port, so that supporting go packages would be easy to do, but
> this requires a volunteer with sufficient knowledge (or willingness to
> learn) of go packaging as well as some basic tcl.

Go has such obtuse packaging requirements that I’ve definitely wished for a PortGroup.

-Aaron



More information about the macports-dev mailing list