I’ve just seen that 0.81.0 introduced vendorInfo into the releaser and version string. For systems that build their own hugo (e.g. FreeBSD Ports, homebrew, etc) should this string be set to something other than gohugoio?
I note that in the release notes for 0.81.0 it states that:
Change version string format and add VendorInfo to help with issue triaging
Which to me suggests that it would be useful information to know where the specific instance of hugo being used was built?
If it is preferable to set it to something custom, is there any preference as to what it would be?
Shouldn’t that be the decision of the person(s) compiling the binary? It’s exactly that why there is a “vendor” in the title of the variable. It’s more or less the “badge” for the creator. It’s probably more complicated than that (how to get your vendorinfo string in there) but in the end the vendor is the one creating/publishing the “thing”.
Apologies, I missed that PR when I was looking for information about this!
I’m just updating the Makefile for FreeBSD, and when I noticed this new setting it started making me wonder about it. It seems that it would make sense for FreeBSD to set it to freebsd.