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: Tue, 19 Nov 2024 17:19:55 +0200 Message-ID: <86v7wjtfms.fsf@gnu.org> References: <86frnovhg8.fsf@gnu.org> <867c90vbfk.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30653"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, bjorn.bidar@thaodan.de, 74413@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 19 16:21:19 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 1tDQ2Y-0007lK-HP for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Nov 2024 16:21:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDQ2K-0001da-In; Tue, 19 Nov 2024 10:21: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 1tDQ2J-0001dN-1j for bug-gnu-emacs@gnu.org; Tue, 19 Nov 2024 10:21:03 -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 1tDQ2I-0006Pp-PZ for bug-gnu-emacs@gnu.org; Tue, 19 Nov 2024 10:21:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=tFrzFU/wMbijF1yLQecEaTXcwE7N6JoxFeDA+Xfd/sQ=; b=kcJMRQAln20dgAwu4xZ5y67yx0/zy3R3fcHkKWABu3oF7e96sIKKmjmlQjnYPBN2HsXY3DHxkue2s4PIQGHkWRC2v2s8SdMvW02RhvpBZWKr3APWHiSudRtuPlyqrq9u6r3soln7eklaDzkzcYw3pIZAPxBTssTwZV8VsmvMAT05BrC7BtRqdTwmUIQvTLtgSYEGd2AEFC5yYGI+3tH2yRCr8rG+aFB7GdUyCb4kuhh5eg1V5IUYM+lHEee3jRrbhkz+TJDx2K6zx2E2LZSV4w3o34ENYBGe4ROEQTHPJqF2G51t5lt6PHHAkuB1/BpbDI0MRnFRGxF5SaWFNKUgpg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tDQ2I-0003GR-Hp for bug-gnu-emacs@gnu.org; Tue, 19 Nov 2024 10:21: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: Tue, 19 Nov 2024 15:21:02 +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.173202963712503 (code B ref 74413); Tue, 19 Nov 2024 15:21:02 +0000 Original-Received: (at 74413) by debbugs.gnu.org; 19 Nov 2024 15:20:37 +0000 Original-Received: from localhost ([127.0.0.1]:43659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDQ1t-0003FY-5i for submit@debbugs.gnu.org; Tue, 19 Nov 2024 10:20:37 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46012) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDQ1r-0003FK-PC for 74413@debbugs.gnu.org; Tue, 19 Nov 2024 10:20:36 -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 1tDQ1j-0006M8-Ed; Tue, 19 Nov 2024 10:20:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=tFrzFU/wMbijF1yLQecEaTXcwE7N6JoxFeDA+Xfd/sQ=; b=OUa8DApVq7NB Jpg0EOUfDOMATBDkixfoI+574WDiUPLKLypfTUe8wYtUfGy7Ua9/Tl6OHQDh7ZoV04smwo4YBhDqZ lwkqjI1Rh7i0588EN0fOyctGFZWCg+4lI7gqsu0Ik95uNR4JuroEarZ57RCfAK1lESdt8RfPXTz53 j4vK6+Az51lX6c5/GRSBFXWdFyrFXQULMs4t/y0Vuxfsa8ATv6dUSP0fUovUDmEhW106n0mqStYPb qPKJTlm2+w1l5AzPOfYmXzGxQttADZ2ya3WtZ5iH1VOua+cyjV/BQ9/Cc927wYSNsdPOFuQ++QhvS yAg+PvRkb4RG4AzEp44sDg==; In-Reply-To: (message from Stefan Kangas on Mon, 18 Nov 2024 18:48:31 -0500) 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:295637 Archived-At: > From: Stefan Kangas > Date: Mon, 18 Nov 2024 18:48:31 -0500 > Cc: luangruo@yahoo.com, 74413@debbugs.gnu.org > > Eli Zaretskii writes: > > > The branch name could be private. > > > > Stefan, WDYT about this feature suggestion? > > The privacy risk here is that if a user is building their own private > branch, announcing the sha or branch name to the world can be used to > uniquely identify that user. It would be a serious privacy issue if we, > for example, included that information in User-Agent headers sent by EWW > or other kinds of network traffic. AFAIK, we don't do that. > > IIUC, we use this information only when submitting bug reports. I think > this is harmless, if we assume privacy threat models where it can also > be considered safe to report bugs. The few users that have more strict > privacy requirements, and are eager to report bugs, will just have to > think about this detail themselves; it's a rather specialized use case. AFAIU, the intent is to use this for more than just bug reporting. > I don't fully understand how you can have a situation where you can get > this information in the Makefile, but you can't also get it when dumping > using `emacs-repository-get-version` and `emacs-repository-get-branch` > (lisp/loadup.el:474). Could you please elaborate on this? Yes, I still don't understand the utility of this feature, since it needs Git for producing the information in the file.