From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6BN6BzfhD19aPwAA0tVLHw (envelope-from ) for ; Thu, 16 Jul 2020 05:10:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id +D1TAzfhD19eLQAA1q6Kng (envelope-from ) for ; Thu, 16 Jul 2020 05:10:15 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 899BA94051C for ; Thu, 16 Jul 2020 05:10:14 +0000 (UTC) Received: from localhost ([::1]:39294 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jvw9r-0004rG-OF for larch@yhetil.org; Thu, 16 Jul 2020 01:10:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38618) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jvw9i-0004r8-Vt for bug-guix@gnu.org; Thu, 16 Jul 2020 01:10:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42766) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jvw9i-0001aX-MV for bug-guix@gnu.org; Thu, 16 Jul 2020 01:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jvw9i-0007FL-Gg for bug-guix@gnu.org; Thu, 16 Jul 2020 01:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42212: Guix version rendered as 0.0-git in info manual Resent-From: Bengt Richter Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 16 Jul 2020 05:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42212 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Arun Isaac Received: via spool by 42212-submit@debbugs.gnu.org id=B42212.159487614327769 (code B ref 42212); Thu, 16 Jul 2020 05:10:02 +0000 Received: (at 42212) by debbugs.gnu.org; 16 Jul 2020 05:09:03 +0000 Received: from localhost ([127.0.0.1]:54312 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jvw8k-0007Dp-Kb for submit@debbugs.gnu.org; Thu, 16 Jul 2020 01:09:02 -0400 Received: from imta-36.everyone.net ([216.200.145.36]:47000 helo=imta-38.everyone.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jvw8f-0007DN-R7 for 42212@debbugs.gnu.org; Thu, 16 Jul 2020 01:09:01 -0400 Received: from pps.filterd (omta002.sj2.proofpoint.com [127.0.0.1]) by imta-38.everyone.net (8.16.0.27/8.16.0.27) with SMTP id 06G51bPG022327; Wed, 15 Jul 2020 22:08:56 -0700 X-Eon-Originating-Account: TbbZ0FSv9Cirt-nB9TVMQKN0Ce3zfoSVxYxEQ1Sce98 X-Eon-Dm: m0116953.ppops.net Received: by m0116953.mta.everyone.net (EON-AUTHRELAY2 - 5a81c095) id m0116953.5ef25221.25f52d; Wed, 15 Jul 2020 22:08:52 -0700 X-Eon-Sig: AQMHrIJfD+Dk5geSKwIAAAAC,9850255a188c22e46c858e0dc93696b5 X-Eip: B468WPbA9RVufLPwKxnDGThFTWTZ98EFW3Sh62l-JKo Date: Thu, 16 Jul 2020 07:08:42 +0200 From: Bengt Richter Message-ID: <20200716050842.GA3527@LionPure> References: <877dviv1d0.fsf@systemreboot.net> <878sfs9vak.fsf@gnu.org> <871rlczc8i.fsf@systemreboot.net> <20200716004600.GA3021@LionPure> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200716004600.GA3021@LionPure> User-Agent: Mutt/1.10.1 (2018-07-13) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-07-15_12:2020-07-15, 2020-07-15 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1034 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2006250000 definitions=main-2007160038 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bengt Richter Cc: 42212@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.99 X-TUID: XqIpCaVPYXhQ On +2020-07-16 02:46:00 +0200, Bengt Richter wrote: > On +2020-07-16 03:12:37 +0530, Arun Isaac wrote: > > > > > The “0.0-git” string comes from (guix self). As noted there, we can’t > > > really afford to change the version string at each commit, or we’d have > > > to rebuild the manual at each commit. > > > > > > We could perhaps choose a more meaningful version string, though, maybe > > > by looking at the closest tag or something. > > > > That sounds good, and `git describe` could provide us with the closest > > tag. Unfortunately, (git) doesn't seem to be available during `guix > > pull`. I'm trying to come up with workarounds. Do you have any ideas? > > What does (copied from another laptop screen by hand, typos possible ;) > --8<---------------cut here---------------start------------->8--- > readlink -f /var/guix/profiles/per-user/{$USER,root}/current-guix/manifest|xargs grep -m1 -A1 guix > --8<---------------cut here---------------end--------------->8--- > get you? Anything useful? > > On my other laptop, it got me (again copied/...elided from other screen) > --8<---------------cut here---------------start------------->8--- > /gnu/store/.../manifest: (("guix" > /gnu/store/.../manifest- "87850c0" > -- > /gnu/store/.../manifest: (("guix" > /gnu/store/.../manifest- "0.16.0" > --8<---------------cut here---------------end--------------->8--- > > You can see that's ancient, so IDK if the same command will work for you. > "guix -V" there still shows 0.16.0 (which version should that show, BTW?) > > I don't know how these versions correspond to what pull creates, > but zimoun is a whiz on that stuff, so maybe he will chime in :) > (I Cc'd him to raise the probability :) Sorry, I seem not to have succeeded with the Cc: to zimoun Or it's been scrubbed out of the headers. Ah, do I faintly remember that one needs a special incantation? Sorry, I will look into it. > > HTH > -- > Regards, > Bengt Richter > > > -- Regards, Bengt Richter