From: "Jason A. Donenfeld" <Jason@zx2c4.com>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Cc: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: [WireGuard] RFE: A notion of VERSION (was: Debugging AllowedIps)
Date: Wed, 16 Nov 2016 22:10:23 +0100 [thread overview]
Message-ID: <CAHmME9oPuqAaQe1VKjjoy_VBwBe70TiKW_NJPs46HpBZyKj2RA@mail.gmail.com> (raw)
In-Reply-To: <87shqr6sw1.fsf@alice.fifthhorseman.net>
On Wed, Nov 16, 2016 at 10:01 PM, Daniel Kahn Gillmor
<dkg@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...
next prev parent reply other threads:[~2016-11-16 21:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-14 14:34 Kalin KOZHUHAROV
2016-11-16 17:39 ` Jason A. Donenfeld
2016-11-16 17:40 ` Jason A. Donenfeld
2016-11-16 18:18 ` Kalin KOZHUHAROV
2016-11-16 21:01 ` Daniel Kahn Gillmor
2016-11-16 21:10 ` Jason A. Donenfeld [this message]
2016-11-18 5:00 ` Jason A. Donenfeld
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAHmME9oPuqAaQe1VKjjoy_VBwBe70TiKW_NJPs46HpBZyKj2RA@mail.gmail.com \
--to=jason@zx2c4.com \
--cc=dkg@fifthhorseman.net \
--cc=wireguard@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).