From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wD8sOI+jD18hEwAA0tVLHw (envelope-from ) for ; Thu, 16 Jul 2020 00:47:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id SGIDNI+jD1/TZwAAB5/wlQ (envelope-from ) for ; Thu, 16 Jul 2020 00:47:11 +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 5516A9401CB for ; Thu, 16 Jul 2020 00:47:11 +0000 (UTC) Received: from localhost ([::1]:45294 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jvs3J-0006tH-DW for larch@yhetil.org; Wed, 15 Jul 2020 20:47:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jvs3B-0006tB-WA for bug-guix@gnu.org; Wed, 15 Jul 2020 20:47:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42647) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jvs3B-0002x5-NC for bug-guix@gnu.org; Wed, 15 Jul 2020 20:47:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jvs3B-0000yq-KP for bug-guix@gnu.org; Wed, 15 Jul 2020 20:47:01 -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 00:47:01 +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.15948603753717 (code B ref 42212); Thu, 16 Jul 2020 00:47:01 +0000 Received: (at 42212) by debbugs.gnu.org; 16 Jul 2020 00:46:15 +0000 Received: from localhost ([127.0.0.1]:54193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jvs2R-0000xt-Fq for submit@debbugs.gnu.org; Wed, 15 Jul 2020 20:46:15 -0400 Received: from imta-35.everyone.net ([216.200.145.35]:57144 helo=imta-38.everyone.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jvs2O-0000xc-WB for 42212@debbugs.gnu.org; Wed, 15 Jul 2020 20:46:14 -0400 Received: from pps.filterd (m0004961.ppops.net [127.0.0.1]) by imta-38.everyone.net (8.16.0.27/8.16.0.27) with SMTP id 06G0jMjt023445; Wed, 15 Jul 2020 17:46:11 -0700 X-Eon-Originating-Account: NHj8NyL5X0nbDyVifeNqQbQxVi5HnKmtUWXW0bNJOzg X-Eon-Dm: m0116787.ppops.net Received: by m0116787.mta.everyone.net (EON-AUTHRELAY2 - 5a81c095) id m0116787.5ef25212.234ee0; Wed, 15 Jul 2020 17:46:10 -0700 X-Eon-Sig: AQMHrIJfD6NSB+BShQIAAAAE,1d21541888facce8eb905eb5d9d5be1c X-Eip: DiViWVy2spgloeLObqbFcO8eSjY-1hepweWJ9dzDkJE Date: Thu, 16 Jul 2020 02:46:00 +0200 From: Bengt Richter Message-ID: <20200716004600.GA3021@LionPure> References: <877dviv1d0.fsf@systemreboot.net> <878sfs9vak.fsf@gnu.org> <871rlczc8i.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <871rlczc8i.fsf@systemreboot.net> 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-2007160003 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.51 X-TUID: TIUOXVH6QCnx 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 :) HTH -- Regards, Bengt Richter