[WireGuard] RFE: A notion of VERSION (was: Debugging AllowedIps)

Jason A. Donenfeld Jason at zx2c4.com
Wed Nov 16 22:10:23 CET 2016


On Wed, Nov 16, 2016 at 10:01 PM, Daniel Kahn Gillmor
<dkg at fifthhorseman.net> wrote:
> On Thu 2016-11-17 02:40:30 +0900, Jason A. Donenfeld wrote:
>> Trying again with no line breaks:
>>
> Please don't assume that the source code is built from a git repository.
> On debian, we build from the tarball, which is extracted from the git
> repo, and we have nothing for "git rev-parse" to draw from.

That's why my horrible one liner falls back on getting the version
from the parent directory... Not pretty.

>
> For the cost of one extra commit just before tagging, you could populate
> a version.txt file and this then becomes $(shell cat version.txt).

Yea most likely this is what will wind up happening...


More information about the WireGuard mailing list