From mboxrd@z Thu Jan 1 00:00:00 1970 From: Taylan Kammer Subject: Better names for Guix versions from git? Date: Tue, 25 Dec 2018 20:49:46 +0100 Message-ID: <87lg4dwfmt.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52847) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gbrm2-0003ii-DT for guix-devel@gnu.org; Tue, 25 Dec 2018 13:49:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gbrm1-0004VO-QA for guix-devel@gnu.org; Tue, 25 Dec 2018 13:49:50 -0500 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]:51541) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gbrm1-0004UE-KI for guix-devel@gnu.org; Tue, 25 Dec 2018 13:49:49 -0500 Received: by mail-wm1-x32b.google.com with SMTP id b11so13285571wmj.1 for ; Tue, 25 Dec 2018 10:49:49 -0800 (PST) Received: from guixsd ([2a02:908:c3a:3900:e133:1cb5:ad13:a319]) by smtp.gmail.com with ESMTPSA id f15sm21357776wrt.10.2018.12.25.10.49.47 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Dec 2018 10:49:47 -0800 (PST) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Currently, after running 'guix pull', the Guix version will be reported by 'guix --version' as something like: 522d1b87bc88dd459ade51b1ee0545937da8d3b5 I think it would be really nice if instead it were something like: 2018-12-25-522d1b where the date is the commit's date (year, month, day) in UTC+0. That's shorter, more descriptive, and just as unique. (The chances of there being two commits in the same day with the same first 6 positions in the hash should be negligient.) The package name is currently something like: guix-522d1b87b That could become: guix-2018-12-25-522d1b which is a bit longer but more descriptive. I looked into guix/self.scm a bit but couldn't easily tell how difficult it would be to implement these changes. Thoughts? Worth it? Taylan