From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 20 11:12:01 2025 Received: (at submit) by debbugs.gnu.org; 20 Mar 2025 15:12:01 +0000 Received: from localhost ([127.0.0.1]:58475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tvHYv-0003d2-7o for submit@debbugs.gnu.org; Thu, 20 Mar 2025 11:12:01 -0400 Received: from lists.gnu.org ([2001:470:142::17]:57182) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tvHYm-0003cP-UE for submit@debbugs.gnu.org; Thu, 20 Mar 2025 11:11:57 -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 1tvHYZ-00015t-UR for bug-gnu-emacs@gnu.org; Thu, 20 Mar 2025 11:11:39 -0400 Received: from mail-vk1-xa35.google.com ([2607:f8b0:4864:20::a35]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tvHYX-0004it-Mu for bug-gnu-emacs@gnu.org; Thu, 20 Mar 2025 11:11:39 -0400 Received: by mail-vk1-xa35.google.com with SMTP id 71dfb90a1353d-52403e39a23so843156e0c.2 for ; Thu, 20 Mar 2025 08:11:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742483495; x=1743088295; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=qEF98dHHuhqFNJhn9vxdt0QDrKyY2jtvdbx1vJ1zUrA=; b=jJl8XrpVCWVgF8zYLAY8SeapY7/zm95InXT4KHXEkG2NPMQwQ+DX0Z/Puyn+gIYjpA jaWvrHHxQJMcEStuBysT4l/b42gwDzNEltRum/yLnfX8PwQZlfTnG7z+0HM92zuwoiQp UlkFMtqmQwmXKHS+6lbFOYFYN1qI6O7tB1buV5MpPoElVOUw+9RqrpOiUnFCLFnCdcG3 97iCy8ocDPkJzpzLe7j7HQvCRZvCsLnh7BkPgT22AAdsvNNXCk4ftaghkOYPhmsy4i4C DYDEtNg7n3xjkSTk4ORBxyjrCIq0eqSvRjSveh7dTNZfa4vMdlUfZ0FKTT5tp5z2E6hx MLZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742483495; x=1743088295; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=qEF98dHHuhqFNJhn9vxdt0QDrKyY2jtvdbx1vJ1zUrA=; b=R0EqskcRRL13ysRwDqOvBH82kZ3Zzi45lkhHHph7xJYznsocpWOZwnccTdGADYsqCl Rdv98Mw0OO3BUzHVTQVuqeM2U3RTBwVHmr2309Sh4hyT91u2w1E45vg/KdixAwMC23eC OkCkq2dFiXCP4fGjHJJDfmeQw/mvNFUbWbF+ar9O+c5EIcl2Y9QHKFLX5JcB6D50joSy O7IUrRLzQ12760S3AGZapFPbeDct8VNiXpHebOiIFnpHdYEo7oGeV+34KEHihFMWVuiI S/+eDEIKcUeacYl4cjlS5SYv46whX/EwfO1HD/K3GiUmMm6yw6kcIAfCO5D89tXm7F8v 6N5Q== X-Gm-Message-State: AOJu0YzYHOPIP894qXlHujeTneTzdkVj8Yy9YaYNvGxTd/Cib4OQyw3C tRWX7SuygeSSsvvf7fOsM4aJwb141le2yzYfzWKcQ+Na/VoXHYSGscFpZQmpQ6JklDkxzOmV1GX VuhEWk4UqXh7diQ/fx1DSzuQsEyfyG8Yw X-Gm-Gg: ASbGnctrzFFs7EYMX35RoyrrLiFokr9pwJE7mdciNGZO1pYx+38eAyDPtJzOucMt5ge vWyRYSZXVypdtgk88azxjxsKDwyfxhPGDJAzVXdEB3nC0B5ztYebVwsoktrZBVCpy8WVQJPVK4s Epe1yT9y+0t/0kHViTTH7twxWrPA== X-Google-Smtp-Source: AGHT+IGJhtcMY1mi8xlEJyj5nUngDsOgV9Ej+nfZgXunoebKEDefQXLDiIKtHW2qPOrX6zDMz6ZPlLTkSxO8XbUexaQ= X-Received: by 2002:a05:6122:180e:b0:523:e2bd:b937 with SMTP id 71dfb90a1353d-52589181751mr6328157e0c.3.1742483494547; Thu, 20 Mar 2025 08:11:34 -0700 (PDT) MIME-Version: 1.0 From: Ship Mints Date: Thu, 20 Mar 2025 11:11:23 -0400 X-Gm-Features: AQ5f1JpdUgoO_LUjMjrlp66jjXKh5A4nBlIA_b6lY-5CQ0wY2u4Dvmc9VfN2FSY Message-ID: Subject: package-reinstall should respect originating archives To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="000000000000b840a30630c78d55" Received-SPF: pass client-ip=2607:f8b0:4864:20::a35; envelope-from=shipmints@gmail.com; helo=mail-vk1-xa35.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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 (/) --000000000000b840a30630c78d55 Content-Type: text/plain; charset="UTF-8" I've installed a package that is hosted by multiple archives. In this example, it's "dirvish," a nice dired wrapper. It is hosted in both non-GNU ELPA and MELPA. The dirvish author asked for feedback on the MELPA version before bumping official version numbers which update releases on ELPA, hence I have the hand-selected MELPA dirvish installed. I have package-archive-priorities that put both ELPAs above MELPA. When I call package-reinstall on dirvish (to overwrite local changes, for example), the non-GNU ELPA version is installed rather than reinstalling the MELPA version which is what I expected to happen. I'm guessing most users have the same expectation. -Stephane --000000000000b840a30630c78d55 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I've=C2=A0installed a package that is hosted by multiple archives.= =C2=A0 In this example, it's "dirvish," a nice dired wrapper.= =C2=A0 It is hosted in both non-GNU ELPA and MELPA.=C2=A0 The dirvish autho= r asked for feedback on the MELPA version before bumping official version n= umbers which update releases on ELPA, hence I have the hand-selected MELPA = dirvish installed.=C2=A0 I have package-archive-priorities that put both EL= PAs above MELPA.

When I call package-reinstall on dirvish (to overwrite local changes, f= or example), the non-GNU ELPA version is installed rather than reinstalling= the MELPA version which is what I expected to happen.=C2=A0 I'm guessi= ng most users have the same expectation.

-Stephane
--000000000000b840a30630c78d55--