From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 20 11:50:18 2025 Received: (at submit) by debbugs.gnu.org; 20 Mar 2025 15:50:18 +0000 Received: from localhost ([127.0.0.1]:58552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tvI9x-0005Ys-Hd for submit@debbugs.gnu.org; Thu, 20 Mar 2025 11:50:17 -0400 Received: from lists.gnu.org ([2001:470:142::17]:59906) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tvI9u-0005RO-LP for submit@debbugs.gnu.org; Thu, 20 Mar 2025 11:50:15 -0400 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 1tvI8a-0005KI-3m for bug-gnu-emacs@gnu.org; Thu, 20 Mar 2025 11:48:56 -0400 Received: from mail-ua1-x92c.google.com ([2607:f8b0:4864:20::92c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tvI8Y-00081n-6V for bug-gnu-emacs@gnu.org; Thu, 20 Mar 2025 11:48:51 -0400 Received: by mail-ua1-x92c.google.com with SMTP id a1e0cc1a2514c-86ba07fe7a4so717996241.2 for ; Thu, 20 Mar 2025 08:48:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742485728; x=1743090528; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=QsQERSD8cSdsMF63MFTad+cca12M09YrtDHSxeRSuII=; b=MC5ZcKOOX0sTG/a6YjI1fboeZ6onGrxIqiBNeObQZwy7syVK1UMpJinjPDjTM0NaNG HyhQXswldsUcx8BLdlXrUyuYkKXggdSttTNoKc9cMwDdyhBG+Zhb/AM3TnhvYVLm7wo2 8IOQoeQHHYdiPA+FfQmwHWR2/xeJuSV32obaLbQ3RfG83PThd3G4LM7wbmDEjlDpG6Es koNktVMAgccoTe/JDfVh0zSIqS8Ev7zgarzIXAzgOZfS5Sdv9dAqZWskr3bMiSlPZr+m WjMSCndRbDzy+8d4ZdqGzrCaeTDdGTBfQsJwVQcSXiWNO1x4Gbxh1/yvln9eWejgGibR A2yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742485728; x=1743090528; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=QsQERSD8cSdsMF63MFTad+cca12M09YrtDHSxeRSuII=; b=DWrxZjy/DZ0LT0iIYzzgHezqbRHPPLHfC5dwRD1Xabo0JZMOvoumybguxS2tt2UBl8 t2mrGLeylrLwEQP00T2PtmtBKL/xNFotX8rfkob4vvEfSOK3LGF2vMdFtmsEtfKqBdDv W4MUBzwXbYdo2TklR1eoVowH9mO3ablPrxmZ4p2/HdTHV9BLTzH5/iASXgmeA/PhSl5Z 9hvLaHDajAQUpN+/k/UbFsxiUbAeGyaaU1aeEIg8wlBD6rKcZY8b2+2X6C9jPHMu1TDy PJq0e0839TWpjuFp4rx+yn/NMVHqc8ueocU06MyiB8viRCj2d5PMRLIWYwWRBCkew/mK oh9Q== X-Gm-Message-State: AOJu0YynQPNi9zVXc5ChEWmHTbxuGKRGKYvQlvPJf4RjK5sjlNH5UdXs NIXJVszjgWOxYeAT2p9wz0c5TJdUIG1xd5g8+xYi0Dn64DkZjfkYqWokCmKcDGUglSLPq+fMtTN 4bj0e7QVJL9NtAzesLJZ7GqrHeNxDBs9V X-Gm-Gg: ASbGnctUlwyIn9vSaBUqPha9Gt7+Q+uoCyq7O8D1i6WWuwx184C4Ak6devFyu/ZVJTv /Y5ImdmovEDcg/a1vqivi8eDlis0hB0T8r4hb6RBEaRuxOrtdkApu3Hkvotk0vvYGe2sANCYtUy aVPm4Vme0I829r3KMLtVspC3QDjLbneK+c0xUy X-Google-Smtp-Source: AGHT+IFJjkwal1Jp0Ph6FwHJnWYFvUDdVxUdhAI441pKb0llWTCM4Ev4R7s3xem6etWkGtG+lWWKYJKBGyuwvrD6zPA= X-Received: by 2002:a05:6102:c04:b0:4c1:806a:3b44 with SMTP id ada2fe7eead31-4c4fcd1fed3mr4175006137.2.1742485728083; Thu, 20 Mar 2025 08:48:48 -0700 (PDT) MIME-Version: 1.0 From: Ship Mints Date: Thu, 20 Mar 2025 11:48:36 -0400 X-Gm-Features: AQ5f1JokUguyX4GCeXHp9z4WUGg_8xuXa_OdIDim3rCIgXwgLTc-gVweSPF_QjM Message-ID: Subject: package.el computes false-positive obsolete statuses To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="000000000000d946480630c81212" Received-SPF: pass client-ip=2607:f8b0:4864:20::92c; envelope-from=shipmints@gmail.com; helo=mail-ua1-x92c.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, HTML_OBFUSCATE_05_10=0.26, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --000000000000d946480630c81212 Content-Type: text/plain; charset="UTF-8" Example, using the situation in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77134 where I have "dirvish" installed from both non-GNU ELPA and MELPA, claims that MELPA is obsolete when it is actually the more recent version. Not having dived deep, I see two potential areas of false positives in the code. One is comparing incompatible version numbers from differing archive sources; e.g., non-GNU ELPA says "2.2.7" while MELPA says "20250319.1508". The other suggests unsigned packages have lower precedence than signed packages independent of their recency. Again, these could be wrong but I looked only for a minute. -Stephane --000000000000d946480630c81212 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Example, using the situation in=C2=A0https://debbugs.gnu.org/cgi/bugreport.cgi?bu= g=3D77134=C2=A0where=C2=A0I have "dirvish" installed from bot= h non-GNU ELPA and MELPA, claims that MELPA is obsolete when it is actually= the more recent version.=C2=A0 Not having dived deep, I see two potential = areas of false positives in the code.=C2=A0 One is comparing incompatible v= ersion numbers from differing archive=C2=A0sources; e.g., non-GNU ELPA says= "2.2.7" while MELPA says "20250319.1508".=C2=A0 The ot= her suggests unsigned packages have lower precedence than signed packages i= ndependent of their recency.=C2=A0 Again, these could be wrong but I looked= only for a minute.

-Stephane
--000000000000d946480630c81212-- From debbugs-submit-bounces@debbugs.gnu.org Sat May 10 07:37:13 2025 Received: (at 77137) by debbugs.gnu.org; 10 May 2025 11:37:13 +0000 Received: from localhost ([127.0.0.1]:44646 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uDiW1-0001wi-4E for submit@debbugs.gnu.org; Sat, 10 May 2025 07:37:13 -0400 Received: from mail-ua1-x930.google.com ([2607:f8b0:4864:20::930]:48489) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1uDiVx-0001wR-SA for 77137@debbugs.gnu.org; Sat, 10 May 2025 07:37:10 -0400 Received: by mail-ua1-x930.google.com with SMTP id a1e0cc1a2514c-86dde90e7a3so864733241.1 for <77137@debbugs.gnu.org>; Sat, 10 May 2025 04:37:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1746877024; x=1747481824; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=P3JOgFMw06tmqqtamnKqDvgZLOM22uAk8MUtTTivhYQ=; b=W8kmTot9j7ULEwzEkXH3XLJR98gG4SqGPbFOVlkC4S0pskv3V0q9XN7Ce646Oyh0dF jFzrtn+eO6FS3b9Z+Gjk08YIwfRuhVXo4f6BVW1WyYwMKrASEITDzrSRKZguaSJLFNNx 0e2WznGUljCTDwFzqCySzjshEpgLZmSwtqROdBJC9PIKxRjgcR+24MyDTVTbaB+CUJ5T c+JyTdtROIBds7EM+5ZIW9RgNZPYsaQWcYV79U1iMLCDn4E2lXv/vIWcpLekcDOau4r2 m0L5roXeb55OVSwRawef3PDmT4fLas9AHJxMFQbQD+aO5AzJ+hXx6s6DEjR4g/tgqyZR N9sA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746877024; x=1747481824; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=P3JOgFMw06tmqqtamnKqDvgZLOM22uAk8MUtTTivhYQ=; b=gMpnHqnoWnV3iaBCmM3w4RVsmrvqfO5bglk7zua8XYcLCmLDMZMHyRiS1WWK3aCkKQ ATh9B4nC0DpwVkizbwhJfOs/4YuG8N02TCo0Z4BM9vA+KRVXaX4jIv+/+IqrN38UkVBQ kUiDt++7YBhs9kSwBNL+pKtlhhnTH5zK9J/WaBqLlPydNjFmKmarYCxLcPap9PTsae2E WSYK/5dBy2DVOND3Far7x42Lo8goXC4hmtILDMq9sZ7uTfJ18pNL1zTba8OXLnJCRxIQ MubEiFjaYjP1sNgZOkw9B49DDfwhZJHLCHX7/rVoh6wDqSjT6HLvVkVVPfUscvDgAAgX uTig== X-Gm-Message-State: AOJu0Yx05fXzQNIXwQsfkF4oewUrrVL6DO8WU5ifRjihpgf+YYr9q6it R9ZOIRGwFaxZy8YTSKCBB8SkT7V2oD3ejiwm0j1xOojpq+l/q9ooMwqcIvdSuJf10DDwuMsgOAF lUsq10/akKDPJgTRnbxS812d2/iWasA== X-Gm-Gg: ASbGncsfgTomQUgL73cwWLtfTDPaNvmgKWUJSLa1SxMgR4JDHYxjmTrQVFmuyHVbDir A0aTWtCCMWShARfwDIq+RdKA22Xpl0VBrs+lDbpeTkO8AsGvAfAvBVrIBur//tcwYotC6KC/8CN rT+9UQhP5dyOf4AY8c8yEwUy6n1udw1Wan X-Google-Smtp-Source: AGHT+IGXGO0PSjQsLbyttlbvRXfv171mC1mpxOhuskswW+vwRSfQcRl6jsOC0VH4egZuxZDlksGX+GXM2vRalbFXXwY= X-Received: by 2002:a05:6102:5e97:b0:4c5:505a:c1f5 with SMTP id ada2fe7eead31-4deed3f514bmr6445948137.24.1746877023691; Sat, 10 May 2025 04:37:03 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ship Mints Date: Sat, 10 May 2025 07:36:52 -0400 X-Gm-Features: AX0GCFskZ22NbabMJi5X69S04WggTDrmPDL3lT7yaNNaQg_flP-GbprXJTm7nns Message-ID: Subject: Re: bug#77137: package.el computes false-positive obsolete statuses To: 77137@debbugs.gnu.org Content-Type: multipart/alternative; boundary="00000000000076a5ee0634c680bb" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77137 Cc: Eli Zaretskii , Philip Kaludercic X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --00000000000076a5ee0634c680bb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Mar 20, 2025 at 11:51=E2=80=AFAM Ship Mints w= rote: > Example, using the situation in > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D77134 where I have > "dirvish" installed from both non-GNU ELPA and MELPA, claims that MELPA i= s > obsolete when it is actually the more recent version. Not having dived > deep, I see two potential areas of false positives in the code. One is > comparing incompatible version numbers from differing archive sources; > e.g., non-GNU ELPA says "2.2.7" while MELPA says "20250319.1508". The > other suggests unsigned packages have lower precedence than signed packag= es > independent of their recency. Again, these could be wrong but I looked > only for a minute. > It would be good to refine package.el's computation and handling of "obsolete" packages. -Stephane --00000000000076a5ee0634c680bb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
= On Thu, Mar 20, 2025 at 11:51=E2=80=AFAM Ship Mints <shipmints@gmail.com> wrote:
Example, using the situation in=C2=A0https://debbugs.gnu.org/cgi/= bugreport.cgi?bug=3D77134=C2=A0where=C2=A0I have "dirvish" in= stalled from both non-GNU ELPA and MELPA, claims that MELPA is obsolete whe= n it is actually the more recent version.=C2=A0 Not having dived deep, I se= e two potential areas of false positives in the code.=C2=A0 One is comparin= g incompatible version numbers from differing archive=C2=A0sources; e.g., n= on-GNU ELPA says "2.2.7" while MELPA says "20250319.1508&quo= t;.=C2=A0 The other suggests unsigned packages have lower precedence than s= igned packages independent of their recency.=C2=A0 Again, these could be wr= ong but I looked only for a minute.

=
It would be go= od to refine package.el's computation and handling of "obsolete&qu= ot; packages.

-Stephane
--00000000000076a5ee0634c680bb--