From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74413: [PATCH] Allow to store and read repository information of VCS builds Date: Mon, 18 Nov 2024 16:55:27 +0200 Message-ID: <867c90vbfk.fsf@gnu.org> References: <86frnovhg8.fsf@gnu.org> <875xoklj13.fsf@> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13496"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, 74413@debbugs.gnu.org To: =?UTF-8?Q?Bj=C3=B6rn?= Bidar , Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 18 15:59:22 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tD3Dm-0003N3-0d for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 18 Nov 2024 15:59:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tD3DU-0003D9-CL; Mon, 18 Nov 2024 09:59:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tD3DS-0003Cw-IK for bug-gnu-emacs@gnu.org; Mon, 18 Nov 2024 09:59:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tD3DS-0008Vo-9e for bug-gnu-emacs@gnu.org; Mon, 18 Nov 2024 09:59:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=ZXZycM0BBoqoYl+QU4Xmo/fgpVfgD5GQNusGSCz1AhU=; b=hiUiZmMKyPbW+WMdfHuhaM2Pbz3thnxmjKyOYdvHo1Kv0voUB6w8Eioa/9yeWEgX0+qoyPjWEMdo3MFlMf70vkik2Ux6Vo3N3uzgOdszoDpUIDpl1AF/0kTCM5yG73E4t5nDcXaQ4QRdU11fCNVleepMGS41fbMvUWysge1VlCP9JDJ3j/t7+ZV4qWkEHzY0AZ15uXPonCQd5+NGnQiNOH6Ij7Mv3MGcHF1+3+Gp5+lYPQgscE6kLWJDIoQReZ6bfZLJRLQoZDlnk/1QHQnyQ5v5T+qE3qPRmcnrfFnq/iuCJvcSqL+uwK5D3B+bB8/VtQEqq9IOqIcaj59Ulmkxqg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tD3DS-0006ru-08 for bug-gnu-emacs@gnu.org; Mon, 18 Nov 2024 09:59:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Nov 2024 14:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74413 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 74413-submit@debbugs.gnu.org id=B74413.173194189826335 (code B ref 74413); Mon, 18 Nov 2024 14:59:01 +0000 Original-Received: (at 74413) by debbugs.gnu.org; 18 Nov 2024 14:58:18 +0000 Original-Received: from localhost ([127.0.0.1]:34731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tD3Ck-0006qg-Al for submit@debbugs.gnu.org; Mon, 18 Nov 2024 09:58:18 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59416) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tD3Ci-0006qT-9p for 74413@debbugs.gnu.org; Mon, 18 Nov 2024 09:58:16 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tD3AV-0008AH-BJ; Mon, 18 Nov 2024 09:55:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=ZXZycM0BBoqoYl+QU4Xmo/fgpVfgD5GQNusGSCz1AhU=; b=lZdME8ni+cgK4L7XQRgQ ngrmG4vlVbThJdVd2udwN0L7kKvJhg9BLFpjsw4gWoV7TI8uOIRvpA99GeX2xL4VrUrcU17qPNvOR PHVuwndBFEC4vE40TtkUUkEEru9tXcuw1ZdXcHtk82taVNLcfDi8o/CM3Sm7byjN7Fi0VAzyKv3JT LVtI/hD1UWy7/VyJQmE0xfSKq/cN12BH+m4Gt1FlBQ69uUh7rnIs1znC/1IkElC1OSx/U19BGJcmv ywgnyEgfjvN0/cLHXrixt1QL2WmZfDJJsDjeS9i4nakwQVpfpgUd73z1RZ9b8H8ccyr4A23/kWjVq fQ/6CvtmvDDA+A==; In-Reply-To: <875xoklj13.fsf@> (message from =?UTF-8?Q?Bj=C3=B6rn?= Bidar on Mon, 18 Nov 2024 16:21:28 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:295598 Archived-At: > From: Björn Bidar > Cc: Po Lu , 74413@debbugs.gnu.org > Date: Mon, 18 Nov 2024 16:21:28 +0200 > > > Doesn't that go against the tendency to have _less_ detailed/private > > information in the build? We've lately removed some relatively useful > > infos from what we report in commands that use the build information. > > The information added is only the branch and the repository similarly as > used by the Android builds. There's no private information there unless > the exact change reference Emacs was built on is private. The branch name could be private. Stefan, WDYT about this feature suggestion? > > More generally, could you present the motivation and the rationale for > > making this information available in production builds? > > The information wouldn't be only available to production builds but also > testing/developer builds that are builtin in a CI environment to > e.g. provide test builds for developers to use or to instruct user to > use to try to reproduce a bug. > > Even for production builds it could be useful for convenience to track > down the exact reference/branch a build came from from, that's > side effect only thou. This is already available if Emacs is built in a Git repository, and the information is stored in the dumped Emacs. So what is gained by also recording the repository version on a disk file external to Emacs?