[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#42212: [PATCH 1/1] self: Use nearest tag as the version string in do
From: |
Arun Isaac |
Subject: |
bug#42212: [PATCH 1/1] self: Use nearest tag as the version string in documentation. |
Date: |
Mon, 20 Jul 2020 14:06:48 +0530 |
> I would rather not call out to ‘git-version-gen’ and instead use (git
> describe) or similar.
Sure, I'll do that. Then, perhaps we should even rewrite git-version-gen
using (git describe). It would be nice to have that in guile too. WDYT?
> However, unless I’m mistaken, the output of ‘git-version-gen’ changes at
> each commit, so we’d be rebuilding the manual at every commit, which is
> what we should avoid here.
Yes, but I discard the commit part of git-version-gen's output. I keep
only the tag part.
But, like zimoun, I didn't understand why we can't rebuild the manual
every commit. Rebuilding the manual is quite cheap. So, substituting it
shouldn't be a problem, right?
> One way to avoid that would be to look at the latest commit that touch
> doc/ instead of the latest commit overall (I think that’s what zimoun
> was suggesting). Roughly run ‘git describe’ on ‘git log doc/’, so to
> speak. (Using Guile-Git.)
This sounds good. I'll try it and get back to you.
signature.asc
Description: PGP signature
- bug#42212: Guix version rendered as 0.0-git in info manual, (continued)
bug#42212: Guix version rendered as 0.0-git in info manual, zimoun, 2020/07/16
bug#42212: Guix version rendered as 0.0-git in info manual, Efraim Flashner, 2020/07/16
- bug#42212: [PATCH 0/1] Use nearest tag as the version string in documentation., Arun Isaac, 2020/07/17
- bug#42212: [PATCH 1/1] self: Use nearest tag as the version string in documentation., Arun Isaac, 2020/07/17
- bug#42212: [PATCH 1/1] self: Use nearest tag as the version string in documentation., Ludovic Courtès, 2020/07/20
- bug#42212: [PATCH 1/1] self: Use nearest tag as the version string in documentation.,
Arun Isaac <=
- bug#42212: [PATCH 1/1] self: Use nearest tag as the version string in documentation., Ludovic Courtès, 2020/07/20
- bug#42212: [PATCH 1/1] self: Use nearest tag as the version string in documentation., zimoun, 2020/07/20
- bug#42212: [PATCH v2 0/1] Use nearest tag as the version string in documentation, Arun Isaac, 2020/07/27
- bug#42212: [PATCH v2 1/1] Use nearest tag as the version string in documentation., Arun Isaac, 2020/07/27