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.devel Subject: Re: Reconsider defaults for use-package-vc-prefer-newest Date: Fri, 20 Sep 2024 20:37:30 +0300 Message-ID: <86wmj65iqt.fsf@gnu.org> References: <87wmj7dftf.fsf@posteo.net> <87setvxyt6.fsf@gmail.com> <87jzf7o13b.fsf@posteo.net> <87frpvo06a.fsf@posteo.net> <86y13m7swd.fsf@gnu.org> <87bk0inyr1.fsf@posteo.net> <86zfo25nxf.fsf@gnu.org> <8734lunu0i.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6156"; mail-complaints-to="usenet@ciao.gmane.io" Cc: suhailsingh247@gmail.com, meedstrom@runbox.eu, emacs-devel@gnu.org, tonyzorman@mailbox.org To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 20 19:38:24 2024 Return-path: Envelope-to: ged-emacs-devel@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 1srhaI-0001Qr-N0 for ged-emacs-devel@m.gmane-mx.org; Fri, 20 Sep 2024 19:38:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srhZn-0002Vi-PR; Fri, 20 Sep 2024 13:37:51 -0400 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 1srhZm-0002VU-2I for emacs-devel@gnu.org; Fri, 20 Sep 2024 13:37:50 -0400 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 1srhZk-0007qC-0v; Fri, 20 Sep 2024 13:37:48 -0400 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=LYMNKQHmtsjW5u0EMZkET9rC7HfMAGBvLx0K9dvGpmQ=; b=V6p39R3xBAxW 5Us6QAR8uoOJhwJEHi91yHFPojyoMVx8SlH9S0841rgu864ZOrHwvmhfStVit8VZDn5BVSuZpRjdo BI9+gnUbam+3+fRZXs4mk7VSIbEenA4wHSgYfdyPkeKKCw1lWAGVQxYNM6K5rH2o7QpnE9yZuiFsJ N0xkX8SVVq+FyKDK+bRPuLdvDCUaplidxf/BvD0T2FDBuRIdn9oJ2ybPAUqirMvqczGrTnUfVNUSP WIUUhHlK3A+IUBvXSjL5LmqgZHPW1NnEqRCjIntJiYyc7FiUTjfvwUKsFDTpPyTZxqMz/vE2PnVWb PwZABFw9hQjPIUL4fLl/sQ==; In-Reply-To: <8734lunu0i.fsf@posteo.net> (message from Philip Kaludercic on Fri, 20 Sep 2024 16:56:45 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:323854 Archived-At: > From: Philip Kaludercic > Cc: suhailsingh247@gmail.com, meedstrom@runbox.eu, emacs-devel@gnu.org, > tonyzorman@mailbox.org > Date: Fri, 20 Sep 2024 16:56:45 +0000 > > Eli Zaretskii writes: > > >> Sure, each package has a description object (search for "(cl-defstruct > >> (package-desc" in package.el), with some fixed attributes like name, > >> version, dependencies and others that are stored in an alist. The > >> commit used to create a package is one such attribute stored in the > >> "extras" slot of a package-desc. My chance modifies the package > >> description given by the ELPA server and updates the :commit field to > >> store the commit that was checked out when the package was built > >> locally. I hope that is clear enough? > > > > Yes, thanks. What was the :commit field storing before the change? > > The commit string of the last release, i.e. the revision used to build > the package on the server side. Then I'm not really sure the change is TRT. Why would we prefer the local commit?