From unknown Thu Jun 19 16:24:37 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#52774] [PATCH] import: elpa: Also check NonGNU ELPA for updates. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 24 Dec 2021 11:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52774 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52774@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164034514821536 (code B ref -1); Fri, 24 Dec 2021 11:26:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Dec 2021 11:25:48 +0000 Received: from localhost ([127.0.0.1]:35797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0ihn-0005bH-Jz for submit@debbugs.gnu.org; Fri, 24 Dec 2021 06:25:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:58778) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0ihl-0005b4-Oi for submit@debbugs.gnu.org; Fri, 24 Dec 2021 06:25:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0ihk-00087V-D8 for guix-patches@gnu.org; Fri, 24 Dec 2021 06:25:44 -0500 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:42210 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0ihW-0000vR-73 for guix-patches@gnu.org; Fri, 24 Dec 2021 06:25:33 -0500 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yoctocell.xyz; s=mail; t=1640345122; bh=0tF+uN4J0K45cKGW/PCT/jh7gOGN8pDEIVFg10nOTa4=; h=From:To:Subject:Date; b=Y/woQK/s/gXDEAUSOKWBLvwwbSdgtYieJ5fvRQmKtgV96nFQvgJ/bAJOiGuDljb6B 24bGRbmiQZLicQMmobDqgvTr/jWcfRmFvj7C1O0HddfieKsodJOPAu2E2tIFcqrwd2 1jqt9lWLv7E82REhZ/J/X2p7LDuJBRrtBaBgt2zQ= Date: Fri, 24 Dec 2021 12:25:21 +0100 Message-ID: <87wnjub5y6.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 18 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, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=0.455, PDS_OTHER_BAD_TLD=1.999, PDS_RDNS_DYNAMIC_FP=0.005, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TO_NO_BRKTS_DYNIP=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * elpa.scm (latest-release): Determine the repository based on the URL of the source. (package-from-gnu.org?): Rename to ... (package-from-gnu.org-or-nongnu.org?): ...this. (%elpa-updater): Adjust acc [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.51.188.17 listed in wl.mailspike.net] 0.5 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 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.1 (/) * elpa.scm (latest-release): Determine the repository based on the URL of the source. (package-from-gnu.org?): Rename to ... (package-from-gnu.org-or-nongnu.org?): ...this. (%elpa-updater): Adjust accordingly. --- guix/import/elpa.scm | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/guix/import/elpa.scm b/guix/import/elpa.scm index edabb88b7a..038379e01b 100644 --- a/guix/import/elpa.scm +++ b/guix/import/elpa.scm @@ -424,7 +424,11 @@ (define (guix-package->elpa-name package) (define (latest-release package) "Return an for the latest release of PACKAGE." (define name (guix-package->elpa-name package)) - (define repo 'gnu) + (define repo + (let ((url (origin-uri (package-source package)))) + (if (string-prefix? "https://elpa.nongnu.org" url) + 'nongnu + 'gnu))) (match (elpa-package-info name repo) (#f @@ -443,11 +447,12 @@ (define repo 'gnu) (urls (list url)) (signature-urls (list (string-append url ".sig")))))))) -(define package-from-gnu.org? +(define package-from-gnu.org-or-nongnu.org? (url-predicate (lambda (url) (let ((uri (string->uri url))) (and uri - (string=? (uri-host uri) "elpa.gnu.org")))))) + (or (string=? (uri-host uri) "elpa.gnu.org") + (string=? (uri-host uri) "elpa.nongnu.org"))))))) (define %elpa-updater ;; The ELPA updater. We restrict it to packages hosted on elpa.gnu.org @@ -455,7 +460,7 @@ (define %elpa-updater (upstream-updater (name 'elpa) (description "Updater for ELPA packages") - (pred package-from-gnu.org?) + (pred package-from-gnu.org-or-nongnu.org?) (latest latest-release))) (define elpa-guix-name (cut guix-name "emacs-" <>)) base-commit: e8c1562599c7ebee8b7b228237fb0d75d4472a61 -- 2.33.1 From unknown Thu Jun 19 16:24:37 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#52774] [PATCH] import: elpa: Also check NonGNU ELPA for updates. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 24 Dec 2021 12:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52774 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Xinglu Chen , 52774@debbugs.gnu.org Received: via spool by 52774-submit@debbugs.gnu.org id=B52774.164034823726534 (code B ref 52774); Fri, 24 Dec 2021 12:18:02 +0000 Received: (at 52774) by debbugs.gnu.org; 24 Dec 2021 12:17:17 +0000 Received: from localhost ([127.0.0.1]:35830 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0jVd-0006tu-3g for submit@debbugs.gnu.org; Fri, 24 Dec 2021 07:17:17 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:45631) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0jVY-0006td-OL for 52774@debbugs.gnu.org; Fri, 24 Dec 2021 07:17:16 -0500 Received: by mail-wr1-f65.google.com with SMTP id v7so17131011wrv.12 for <52774@debbugs.gnu.org>; Fri, 24 Dec 2021 04:17:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=L73UhJEt2Ww29S0LRGUcv0Pw3eC0ETXB+NUxBx3J9YI=; b=doyEmBKebcv+v/PElygJwjZEhoA6tPcwKur9a1epHciuIqBi75/PHEW08e6FWhzBw8 ocSBgekrdIHcgRILanmrg5AnIX6fsqlvFPIGi3UR7glJrQhz3y9U3LytLVzahOp55YA1 3h/x4RwSVXUYBdsm6rZhIO6hVK1qDbBU/xkRWlSxhlxoyx9tQ0CCxW+nYmuRWvWPd82J riiXheJUjnEoP73opzKF3kQchwgznp8f2eBAmSilfc0oRl8ak9hKD77/XgJpGAxCVUIC kZ0osVMQkVFpwFdKWqQG5fh5gt6Sb+1P0T9q32c5nwj/rZCzYPb5Oi8B++52qfzjhL/d 2d+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=L73UhJEt2Ww29S0LRGUcv0Pw3eC0ETXB+NUxBx3J9YI=; b=aBUt7mXhp5iAjiBYh2A/NIy7w4GTErOUDoJEl/X2rM2rDVJOjqI4mUi2KjQ7z+6YTW +8SOPzes2y3R2v16FOdIK35E9OH38k3xxGzf1avI99/jSQh7+7vfgOh9oXORCMaHlp4U J2e7Vp7ggLwcHfjGQeohXzAExS5wHWAhKGngfCzG7AE0LY4yb1a5gLyRrTZYCg2q8b+h G928wH1sT/tgNxk0yIt22P5HxzOjQnuSBnhxhdioZHruGiVVqhR7X7LWPv+22drvFRbC wbx+ZZLyYcqoRoTN5jjB5cQp4qLdZszVtTk0bGDCAvTFFvuiorSp5bYAUxssPAKRHpvC Kbdg== X-Gm-Message-State: AOAM531MD9hCQNL8AqcDvJ3R49wbXijD7Ng06agZsogJZN60jEGnLpi9 Jp+Rey6TIOuHyCemVoFGb90= X-Google-Smtp-Source: ABdhPJwuQEhObQcxN7+Q4KtGiML6aw1Tju3h4mBAJhKqdeD3DkAcdv86gIO2xih250le9UXh0z46RQ== X-Received: by 2002:adf:c10e:: with SMTP id r14mr4702252wre.558.1640348226830; Fri, 24 Dec 2021 04:17:06 -0800 (PST) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id o38sm5365998wms.11.2021.12.24.04.17.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Dec 2021 04:17:06 -0800 (PST) Message-ID: <76a91a888e6d4df4d46aa4dcc0fc3719c91e4c39.camel@gmail.com> From: Liliana Marie Prikler Date: Fri, 24 Dec 2021 13:17:05 +0100 In-Reply-To: <87wnjub5y6.fsf@yoctocell.xyz> References: <87wnjub5y6.fsf@yoctocell.xyz> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Am Freitag, dem 24.12.2021 um 12:25 +0100 schrieb Xinglu Chen: > * elpa.scm (latest-release): Determine the repository based on the > URL of the > source. > (package-from-gnu.org?): Rename to ... > (p [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.221.65 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.221.65 listed in list.dnswl.org] 1.3 RCVD_IN_VALIDITY_RPBL RBL: Relay in Validity RPBL, https://senderscore.org/blocklistlookup/ [209.85.221.65 listed in bl.score.senderscore.com] 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.3 (/) Am Freitag, dem 24.12.2021 um 12:25 +0100 schrieb Xinglu Chen: > * elpa.scm (latest-release): Determine the repository based on the > URL of the > source. > (package-from-gnu.org?): Rename to ... > (package-from-gnu.org-or-nongnu.org?): ...this. > (%elpa-updater): Adjust accordingly. > --- >  guix/import/elpa.scm | 13 +++++++++---- >  1 file changed, 9 insertions(+), 4 deletions(-) > > diff --git a/guix/import/elpa.scm b/guix/import/elpa.scm > index edabb88b7a..038379e01b 100644 > --- a/guix/import/elpa.scm > +++ b/guix/import/elpa.scm > @@ -424,7 +424,11 @@ (define (guix-package->elpa-name package) >  (define (latest-release package) >    "Return an for the latest release of PACKAGE." >    (define name (guix-package->elpa-name package)) > -  (define repo 'gnu) > +  (define repo > +    (let ((url (origin-uri (package-source package)))) > +      (if (string-prefix? "https://elpa.nongnu.org" url) > +          'nongnu > +          'gnu))) >   >    (match (elpa-package-info name repo) >      (#f > @@ -443,11 +447,12 @@ (define repo 'gnu) >          (urls (list url)) >          (signature-urls (list (string-append url ".sig")))))))) >   > -(define package-from-gnu.org? > +(define package-from-gnu.org-or-nongnu.org? >    (url-predicate (lambda (url) >                     (let ((uri (string->uri url))) >                       (and uri > -                          (string=? (uri-host uri) > "elpa.gnu.org")))))) > +                          (or (string=? (uri-host uri) > "elpa.gnu.org") > +                              (string=? (uri-host uri) > "elpa.nongnu.org"))))))) >   >  (define %elpa-updater >    ;; The ELPA updater.  We restrict it to packages hosted on > elpa.gnu.org > @@ -455,7 +460,7 @@ (define %elpa-updater >    (upstream-updater >     (name 'elpa) >     (description "Updater for ELPA packages") > -   (pred package-from-gnu.org?) > +   (pred package-from-gnu.org-or-nongnu.org?) >     (latest latest-release))) >   >  (define elpa-guix-name (cut guix-name "emacs-" <>)) > > base-commit: e8c1562599c7ebee8b7b228237fb0d75d4472a61 Could we make it so that package-from-gnu.org? becomes elpa-package? s.t. (member (elpa-package? pkg) '(gnu nongnu #f)) and its evaluation can be reused? If not, I'd still use a cond or match in the definition of repo. Otherwise LGTM, cheers! From unknown Thu Jun 19 16:24:37 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#52774] [PATCH] import: elpa: Also check NonGNU ELPA for updates. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 25 Dec 2021 09:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52774 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler , 52774@debbugs.gnu.org Received: via spool by 52774-submit@debbugs.gnu.org id=B52774.164042551622181 (code B ref 52774); Sat, 25 Dec 2021 09:46:02 +0000 Received: (at 52774) by debbugs.gnu.org; 25 Dec 2021 09:45:16 +0000 Received: from localhost ([127.0.0.1]:38522 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n13c3-0005lh-Tl for submit@debbugs.gnu.org; Sat, 25 Dec 2021 04:45:16 -0500 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:47282 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n13c1-0005lJ-D9 for 52774@debbugs.gnu.org; Sat, 25 Dec 2021 04:45:14 -0500 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yoctocell.xyz; s=mail; t=1640425505; bh=sC0Q2tezc9a3g62uqCjaIBg7V/c6rwWa6S5dUmCVLKA=; h=From:To:Subject:In-Reply-To:References:Date; b=iSpYboP3cjKxsLjj4ulIpsk0aF1RCgJ9okFQerDR8Nk8X0d4bNSlBaDJTB4EKTqkN GnWVrNKKSaq1wr/mmgVISA8uSwz/R3XQw2Fxl4YPyJGBVNE3TmUyYTSNn3HQjZL1hb 6uSaFbDE2kTl/7EG44vN00nC9V7F8mFp7hJKGuYc= In-Reply-To: <76a91a888e6d4df4d46aa4dcc0fc3719c91e4c39.camel@gmail.com> References: <87wnjub5y6.fsf@yoctocell.xyz> <76a91a888e6d4df4d46aa4dcc0fc3719c91e4c39.camel@gmail.com> Date: Sat, 25 Dec 2021 10:44:43 +0100 Message-ID: <87r1a1auic.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Liliana schrieb am Freitag der 24. Dezember 2021 um 13:17 +01: > Am Freitag, dem 24.12.2021 um 12:25 +0100 schrieb Xinglu Chen: >> * elpa.scm (latest-release): Determine the repository based on the >> URL of the >> source. >> (package-from-gnu.org?): Rename to .. [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps 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: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Liliana schrieb am Freitag der 24. Dezember 2021 um 13:17 +01: > Am Freitag, dem 24.12.2021 um 12:25 +0100 schrieb Xinglu Chen: >> * elpa.scm (latest-release): Determine the repository based on the >> URL of the >> source. >> (package-from-gnu.org?): Rename to .. [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 TGlsaWFuYSBzY2hyaWViIGFtIEZyZWl0YWcgZGVyIDI0LiBEZXplbWJlciAyMDIxIHVtIDEzOjE3 ICswMToNCg0KPiBBbSBGcmVpdGFnLCBkZW0gMjQuMTIuMjAyMSB1bSAxMjoyNSArMDEwMCBzY2hy aWViIFhpbmdsdSBDaGVuOg0KPj4gKiBlbHBhLnNjbSAobGF0ZXN0LXJlbGVhc2UpOiBEZXRlcm1p bmUgdGhlIHJlcG9zaXRvcnkgYmFzZWQgb24gdGhlDQo+PiBVUkwgb2YgdGhlDQo+PiBzb3VyY2Uu DQo+PiAocGFja2FnZS1mcm9tLWdudS5vcmc/KTogUmVuYW1lIHRvIC4uLg0KPj4gKHBhY2thZ2Ut ZnJvbS1nbnUub3JnLW9yLW5vbmdudS5vcmc/KTogLi4udGhpcy4NCj4+ICglZWxwYS11cGRhdGVy KTogQWRqdXN0IGFjY29yZGluZ2x5Lg0KPj4gLS0tDQo+PiDCoGd1aXgvaW1wb3J0L2VscGEuc2Nt IHwgMTMgKysrKysrKysrLS0tLQ0KPj4gwqAxIGZpbGUgY2hhbmdlZCwgOSBpbnNlcnRpb25zKCsp LCA0IGRlbGV0aW9ucygtKQ0KPj4gDQo+PiBkaWZmIC0tZ2l0IGEvZ3VpeC9pbXBvcnQvZWxwYS5z Y20gYi9ndWl4L2ltcG9ydC9lbHBhLnNjbQ0KPj4gaW5kZXggZWRhYmI4OGI3YS4uMDM4Mzc5ZTAx YiAxMDA2NDQNCj4+IC0tLSBhL2d1aXgvaW1wb3J0L2VscGEuc2NtDQo+PiArKysgYi9ndWl4L2lt cG9ydC9lbHBhLnNjbQ0KPj4gQEAgLTQyNCw3ICs0MjQsMTEgQEAgKGRlZmluZSAoZ3VpeC1wYWNr YWdlLT5lbHBhLW5hbWUgcGFja2FnZSkNCj4+IMKgKGRlZmluZSAobGF0ZXN0LXJlbGVhc2UgcGFj a2FnZSkNCj4+IMKgwqAgIlJldHVybiBhbiA8dXBzdHJlYW0tcmVsZWFzZT4gZm9yIHRoZSBsYXRl c3QgcmVsZWFzZSBvZiBQQUNLQUdFLiINCj4+IMKgwqAgKGRlZmluZSBuYW1lIChndWl4LXBhY2th Z2UtPmVscGEtbmFtZSBwYWNrYWdlKSkNCj4+IC3CoCAoZGVmaW5lIHJlcG8gJ2dudSkNCj4+ICvC oCAoZGVmaW5lIHJlcG8NCj4+ICvCoMKgwqAgKGxldCAoKHVybCAob3JpZ2luLXVyaSAocGFja2Fn ZS1zb3VyY2UgcGFja2FnZSkpKSkNCj4+ICvCoMKgwqDCoMKgIChpZiAoc3RyaW5nLXByZWZpeD8g Imh0dHBzOi8vZWxwYS5ub25nbnUub3JnIiB1cmwpDQo+PiArwqDCoMKgwqDCoMKgwqDCoMKgICdu b25nbnUNCj4+ICvCoMKgwqDCoMKgwqDCoMKgwqAgJ2dudSkpKQ0KPj4gwqANCj4+IMKgwqAgKG1h dGNoIChlbHBhLXBhY2thZ2UtaW5mbyBuYW1lIHJlcG8pDQo+PiDCoMKgwqDCoCAoI2YNCj4+IEBA IC00NDMsMTEgKzQ0NywxMiBAQCAoZGVmaW5lIHJlcG8gJ2dudSkNCj4+IMKgwqDCoMKgwqDCoMKg wqAgKHVybHMgKGxpc3QgdXJsKSkNCj4+IMKgwqDCoMKgwqDCoMKgwqAgKHNpZ25hdHVyZS11cmxz IChsaXN0IChzdHJpbmctYXBwZW5kIHVybCAiLnNpZyIpKSkpKSkpKQ0KPj4gwqANCj4+IC0oZGVm aW5lIHBhY2thZ2UtZnJvbS1nbnUub3JnPw0KPj4gKyhkZWZpbmUgcGFja2FnZS1mcm9tLWdudS5v cmctb3Itbm9uZ251Lm9yZz8NCj4+IMKgwqAgKHVybC1wcmVkaWNhdGUgKGxhbWJkYSAodXJsKQ0K Pj4gwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgKGxldCAoKHVyaSAoc3Ry aW5nLT51cmkgdXJsKSkpDQo+PiDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC oMKgwqAgKGFuZCB1cmkNCj4+IC3CoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC oMKgwqDCoMKgwqDCoCAoc3RyaW5nPT8gKHVyaS1ob3N0IHVyaSkNCj4+ICJlbHBhLmdudS5vcmci KSkpKSkpDQo+PiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC oMKgwqAgKG9yIChzdHJpbmc9PyAodXJpLWhvc3QgdXJpKQ0KPj4gImVscGEuZ251Lm9yZyIpDQo+ PiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqDCoCAoc3RyaW5nPT8gKHVyaS1ob3N0IHVyaSkNCj4+ICJlbHBhLm5vbmdudS5vcmciKSkpKSkp KQ0KPj4gwqANCj4+IMKgKGRlZmluZSAlZWxwYS11cGRhdGVyDQo+PiDCoMKgIDs7IFRoZSBFTFBB IHVwZGF0ZXIuwqAgV2UgcmVzdHJpY3QgaXQgdG8gcGFja2FnZXMgaG9zdGVkIG9uDQo+PiBlbHBh LmdudS5vcmcNCj4+IEBAIC00NTUsNyArNDYwLDcgQEAgKGRlZmluZSAlZWxwYS11cGRhdGVyDQo+ PiDCoMKgICh1cHN0cmVhbS11cGRhdGVyDQo+PiDCoMKgwqAgKG5hbWUgJ2VscGEpDQo+PiDCoMKg wqAgKGRlc2NyaXB0aW9uICJVcGRhdGVyIGZvciBFTFBBIHBhY2thZ2VzIikNCj4+IC3CoMKgIChw cmVkIHBhY2thZ2UtZnJvbS1nbnUub3JnPykNCj4+ICvCoMKgIChwcmVkIHBhY2thZ2UtZnJvbS1n bnUub3JnLW9yLW5vbmdudS5vcmc/KQ0KPj4gwqDCoMKgIChsYXRlc3QgbGF0ZXN0LXJlbGVhc2Up KSkNCj4+IMKgDQo+PiDCoChkZWZpbmUgZWxwYS1ndWl4LW5hbWUgKGN1dCBndWl4LW5hbWUgImVt YWNzLSIgPD4pKQ0KPj4gDQo+PiBiYXNlLWNvbW1pdDogZThjMTU2MjU5OWM3ZWJlZThiN2IyMjgy MzdmYjBkNzVkNDQ3MmE2MQ0KPiBDb3VsZCB3ZSBtYWtlIGl0IHNvIHRoYXQgcGFja2FnZS1mcm9t LWdudS5vcmc/IGJlY29tZXMgZWxwYS1wYWNrYWdlPw0KPiBzLnQuIChtZW1iZXIgKGVscGEtcGFj a2FnZT8gcGtnKSAnKGdudSBub25nbnUgI2YpKSBhbmQgaXRzIGV2YWx1YXRpb24NCj4gY2FuIGJl IHJldXNlZD8NCg0KV291bGRu4oCZdCBpdCBiZSBlbm91Z2ggd2l0aCBqdXN0ICcoZ251IG5vbmdu dSk/DQoNCldlIGNvdWxkIG1ha2UgdGhlIOKAmGVscGEtcGFja2FnZT/igJkgcHJvY2VkdXJlIG1l bW9pemVkIHRvIGF2b2lkIGV2YWx1YXRpbmcNCnRoZSBzYW1lIHRoaW5nIHR3aWNlLg0KDQo+IE90 aGVyd2lzZSBMR1RNLCBjaGVlcnMhDQoNCkNvb2wsIHRoYW5rcyBmb3IgdGFraW5nIGEgbG9vayEN Cg== --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmHG6AsVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5HY4P/2MEr/yKpDrUPfVNx6doauOn7Z71 tRGHNDovzVPSYr+LLwgLzk3YE0Eh96MChNSSN3r81MRkmnc+2PA8fRf2aBGkY1Va Nt6v8SdCvvQZ1hkkWtrnjit94hw6LmZDrNe5mPu8zCcf4RD3hknlTlkDdoidskWI J5AqdhE1UdIGhlUOtHt+3cNeCFv9j25ZScLgw6FvprOYwVOG37oFIJAwn/5In1VA OGFrveuwhhobd6zGCJJ0LS6zkyFdDIShA+cnyrenrd+KhWv9PVouiFYUA+C3rpLs i1XUi0s38m5tnHKMCD5XpvzMxLvpCRF8PglR8MH5nL5D4ugrurYpqpGDh4HxFpB1 AJGyhCfl9is2QpRFQIvYlqGX6I8mAbKxoQckonH9+z9XopvPTv8BWbzUPJf42XL4 m5xGPABSTm2ae6eIDqIHubs/WzQ4jTII+dCO0R7iuIyCuHffKYmT18rDRif2muM9 oi7A1J7XnrU/iXHnFbnlxBDpKEXl62QycPXfywvHHI6Pevoq3v2ar7MJooUug7Nw 5jYNag/q41t9xbwXZP2Szue0bqUChdo6N5cOy9nPOu8KqHPCxKD1rMmUX+LXB0JP gGeW2qYq+mAFlv5/LSL4/VAz2XDjXRNKDKzWUXzVYq69kqOxMmtabuJFYIRyufUe 9hJY8ZQkSxppXeTg =7xh6 -----END PGP SIGNATURE----- --=-=-=-- From unknown Thu Jun 19 16:24:37 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#52774] [PATCH] import: elpa: Also check NonGNU ELPA for updates. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 25 Dec 2021 10:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52774 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Xinglu Chen , 52774@debbugs.gnu.org Received: via spool by 52774-submit@debbugs.gnu.org id=B52774.164042732325615 (code B ref 52774); Sat, 25 Dec 2021 10:16:01 +0000 Received: (at 52774) by debbugs.gnu.org; 25 Dec 2021 10:15:23 +0000 Received: from localhost ([127.0.0.1]:38526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n145C-0006f4-En for submit@debbugs.gnu.org; Sat, 25 Dec 2021 05:15:22 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:44826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1458-0006ek-Aq for 52774@debbugs.gnu.org; Sat, 25 Dec 2021 05:15:21 -0500 Received: by mail-wr1-f65.google.com with SMTP id t18so21736451wrg.11 for <52774@debbugs.gnu.org>; Sat, 25 Dec 2021 02:15:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=I01ddeUQE6Hlm+fYoACksvXAIQHKpLBWok44GP/R6oE=; b=Px41bQv2dPbUi2fwenyjKraC21cjEAOH2Q7hV62UqvTz67yYzpNTbitNAtIk5YSxGf 2R0CEDeYS1hZb5zJU2mYH/Sg4f8I6Figt4cmyxAQBju/FU4TKVYj0HzGeDcq7t4kHLQy x6lvpE+IfgduhrJRiAGHxBDoJvoDhdwOx2HqkDPhJ/QBODh2EtZMJWhkmm4arsJ8cCee lYu5+syybyIaVv/n1g/IFSHKt80YPcjnnAiKWjFz2QcUEcyQZbkFLyFg9hY/yrUODl4r DgJqxQFomIz5QQ1C3splHHRSzBN1Fnctf/X/j6CdRGnNLxgeCabqWgkAYT07CAXf7bN0 aR7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=I01ddeUQE6Hlm+fYoACksvXAIQHKpLBWok44GP/R6oE=; b=SPe3pV/R/nnXQzyaRNGgPd0NGjXtuDi+q7OUSSaqUF30UuUjaCCP3Jw8DfpSnnpKg8 kXIUx8RXfshEsN91bqTtlIY/Ii8f3osVyxS4TdTg8VzpdIIYrOpfj0Iaz0yarIDLrDGc MFg5WkoUlGDtIIV9ACjJJi6BJLozb40ZKeNOZGf9iSKFmzb8vBLYen0JuF+wesf/djQH 5e65FxwsgepAKWyfCLMDa6K0S6fT0aRGtMoZRB8OMhOp4NdOzN4RoF4kWa6/PjTKn3Pv IOYpnFh7v/1oisGZUYCWp/rBbVITr5+xcm3U1Sjz2qYsvyNYyKFD4vzO2CTW+dy/U55v ZqcQ== X-Gm-Message-State: AOAM530yW+9eD5jX7SlqBSytciHnNTfU49qwf5LwOLi5ku2rMXX4DNzH 7R3YyCfyNC2Gc31D7tEsFftzEjTPCkwsJg== X-Google-Smtp-Source: ABdhPJxKItFGN+MENBkLJjB7UHgXEIkeruovk71ZtHhmFykSWsEihDaBtoPpp/Wrw2sxXKHnkZ9/GA== X-Received: by 2002:adf:97c2:: with SMTP id t2mr6988278wrb.577.1640427312490; Sat, 25 Dec 2021 02:15:12 -0800 (PST) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id r1sm11772946wrz.30.2021.12.25.02.15.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Dec 2021 02:15:12 -0800 (PST) Message-ID: <0da0a9c2b0f6165712f0a81aab157833a79aecfc.camel@gmail.com> From: Liliana Marie Prikler Date: Sat, 25 Dec 2021 11:15:10 +0100 In-Reply-To: <87r1a1auic.fsf@yoctocell.xyz> References: <87wnjub5y6.fsf@yoctocell.xyz> <76a91a888e6d4df4d46aa4dcc0fc3719c91e4c39.camel@gmail.com> <87r1a1auic.fsf@yoctocell.xyz> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Am Samstag, dem 25.12.2021 um 10:44 +0100 schrieb Xinglu Chen: > Liliana schrieb am Freitag der 24. Dezember 2021 um 13:17 +01: > > > Am Freitag, dem 24.12.2021 um 12:25 +0100 schrieb Xinglu Chen: > > [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.3 RCVD_IN_VALIDITY_RPBL RBL: Relay in Validity RPBL, https://senderscore.org/blocklistlookup/ [209.85.221.65 listed in bl.score.senderscore.com] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.221.65 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.221.65 listed in list.dnswl.org] 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.3 (/) Am Samstag, dem 25.12.2021 um 10:44 +0100 schrieb Xinglu Chen: > Liliana schrieb am Freitag der 24. Dezember 2021 um 13:17 +01: > > > Am Freitag, dem 24.12.2021 um 12:25 +0100 schrieb Xinglu Chen: > > > * elpa.scm (latest-release): Determine the repository based on > > > the URL of the source. > > > (package-from-gnu.org?): Rename to ... > > > (package-from-gnu.org-or-nongnu.org?): ...this. > > > (%elpa-updater): Adjust accordingly. > > > --- > > >  guix/import/elpa.scm | 13 +++++++++---- > > >  1 file changed, 9 insertions(+), 4 deletions(-) > > > > > > diff --git a/guix/import/elpa.scm b/guix/import/elpa.scm > > > index edabb88b7a..038379e01b 100644 > > > --- a/guix/import/elpa.scm > > > +++ b/guix/import/elpa.scm > > > @@ -424,7 +424,11 @@ (define (guix-package->elpa-name package) > > >  (define (latest-release package) > > >    "Return an for the latest release of > > > PACKAGE." > > >    (define name (guix-package->elpa-name package)) > > > -  (define repo 'gnu) > > > +  (define repo > > > +    (let ((url (origin-uri (package-source package)))) > > > +      (if (string-prefix? "https://elpa.nongnu.org" url) > > > +          'nongnu > > > +          'gnu))) > > >   > > >    (match (elpa-package-info name repo) > > >      (#f > > > @@ -443,11 +447,12 @@ (define repo 'gnu) > > >          (urls (list url)) > > >          (signature-urls (list (string-append url ".sig")))))))) > > >   > > > -(define package-from-gnu.org? > > > +(define package-from-gnu.org-or-nongnu.org? > > >    (url-predicate (lambda (url) > > >                     (let ((uri (string->uri url))) > > >                       (and uri > > > -                          (string=? (uri-host uri) > > > "elpa.gnu.org")))))) > > > +                          (or (string=? (uri-host uri) > > > "elpa.gnu.org") > > > +                              (string=? (uri-host uri) > > > "elpa.nongnu.org"))))))) > > >   > > >  (define %elpa-updater > > >    ;; The ELPA updater.  We restrict it to packages hosted on > > > elpa.gnu.org > > > @@ -455,7 +460,7 @@ (define %elpa-updater > > >    (upstream-updater > > >     (name 'elpa) > > >     (description "Updater for ELPA packages") > > > -   (pred package-from-gnu.org?) > > > +   (pred package-from-gnu.org-or-nongnu.org?) > > >     (latest latest-release))) > > >   > > >  (define elpa-guix-name (cut guix-name "emacs-" <>)) > > > > > > base-commit: e8c1562599c7ebee8b7b228237fb0d75d4472a61 > > Could we make it so that package-from-gnu.org? becomes elpa- > > package? s.t. (member (elpa-package? pkg) '(gnu nongnu #f)) and its > > evaluation can be reused? > > Wouldn’t it be enough with just '(gnu nongnu)? > > We could make the ‘elpa-package?’ procedure memoized to avoid > evaluating the same thing twice. The reason for #f is so that packages that are neither from GNU nor NonGNU ELPA are still excluded from the updater. Cheers From unknown Thu Jun 19 16:24:37 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#52774] [PATCH] import: elpa: Also check NonGNU ELPA for updates. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 25 Dec 2021 14:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52774 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler , 52774@debbugs.gnu.org Received: via spool by 52774-submit@debbugs.gnu.org id=B52774.16404427108958 (code B ref 52774); Sat, 25 Dec 2021 14:32:02 +0000 Received: (at 52774) by debbugs.gnu.org; 25 Dec 2021 14:31:50 +0000 Received: from localhost ([127.0.0.1]:38705 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n185N-0002KP-Pe for submit@debbugs.gnu.org; Sat, 25 Dec 2021 09:31:50 -0500 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:52674 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n185K-0002Ju-Rz for 52774@debbugs.gnu.org; Sat, 25 Dec 2021 09:31:47 -0500 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yoctocell.xyz; s=mail; t=1640442698; bh=N5aVfv5aujHvZM4ahLtXOr2NvghjZW0zfubhe54ZdFI=; h=From:To:Subject:In-Reply-To:References:Date; b=FadECNQDZfUo/9E45HAQaOdURxA5nvL8P2wL69wv8gwK+j89BTzHnjUaksL1d9bdg o6q8ipdQEPhlR7+xfhDuduIknuMWJ7Z4s9hOZoQP/FJhAIiZVTBKBE7+/Pwfr2043I wJkxNzsYUGoW3yfDARihTw+gVnbEIcE4+KOwO3cc= In-Reply-To: <0da0a9c2b0f6165712f0a81aab157833a79aecfc.camel@gmail.com> References: <87wnjub5y6.fsf@yoctocell.xyz> <76a91a888e6d4df4d46aa4dcc0fc3719c91e4c39.camel@gmail.com> <87r1a1auic.fsf@yoctocell.xyz> <0da0a9c2b0f6165712f0a81aab157833a79aecfc.camel@gmail.com> Date: Sat, 25 Dec 2021 15:31:37 +0100 Message-ID: <87mtkobvsm.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Liliana schrieb am Samstag der 25. Dezember 2021 um 11:15 +01: > Am Samstag, dem 25.12.2021 um 10:44 +0100 schrieb Xinglu Chen: >> Liliana schrieb am Freitag der 24. Dezember 2021 um 13:17 +01: >> >> > Am Freitag, dem 24.12.2021 um 12:25 +0100 schrieb Xinglu Chen [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps 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: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Liliana schrieb am Samstag der 25. Dezember 2021 um 11:15 +01: > Am Samstag, dem 25.12.2021 um 10:44 +0100 schrieb Xinglu Chen: >> Liliana schrieb am Freitag der 24. Dezember 2021 um 13:17 +01: >> >> > Am Freitag, dem 24.12.2021 um 12:25 +0100 schrieb Xinglu Chen [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Liliana schrieb am Samstag der 25. Dezember 2021 um 11:15 +01: > Am Samstag, dem 25.12.2021 um 10:44 +0100 schrieb Xinglu Chen: >> Liliana schrieb am Freitag der 24. Dezember 2021 um 13:17 +01: >>=20 >> > Am Freitag, dem 24.12.2021 um 12:25 +0100 schrieb Xinglu Chen: >> > > * elpa.scm (latest-release): Determine the repository based on >> > > the URL of the source. >> > > (package-from-gnu.org?): Rename to ... >> > > (package-from-gnu.org-or-nongnu.org?): ...this. >> > > (%elpa-updater): Adjust accordingly. >> > > --- >> > > =C2=A0guix/import/elpa.scm | 13 +++++++++---- >> > > =C2=A01 file changed, 9 insertions(+), 4 deletions(-) >> > >=20 >> > > diff --git a/guix/import/elpa.scm b/guix/import/elpa.scm >> > > index edabb88b7a..038379e01b 100644 >> > > --- a/guix/import/elpa.scm >> > > +++ b/guix/import/elpa.scm >> > > @@ -424,7 +424,11 @@ (define (guix-package->elpa-name package) >> > > =C2=A0(define (latest-release package) >> > > =C2=A0=C2=A0 "Return an for the latest release of >> > > PACKAGE." >> > > =C2=A0=C2=A0 (define name (guix-package->elpa-name package)) >> > > -=C2=A0 (define repo 'gnu) >> > > +=C2=A0 (define repo >> > > +=C2=A0=C2=A0=C2=A0 (let ((url (origin-uri (package-source package))= )) >> > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (if (string-prefix? "https://elpa.no= ngnu.org" url) >> > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 'nongnu >> > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 'gnu))) >> > > =C2=A0 >> > > =C2=A0=C2=A0 (match (elpa-package-info name repo) >> > > =C2=A0=C2=A0=C2=A0=C2=A0 (#f >> > > @@ -443,11 +447,12 @@ (define repo 'gnu) >> > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (urls (list url)) >> > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (signature-urls (li= st (string-append url ".sig")))))))) >> > > =C2=A0 >> > > -(define package-from-gnu.org? >> > > +(define package-from-gnu.org-or-nongnu.org? >> > > =C2=A0=C2=A0 (url-predicate (lambda (url) >> > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (let ((uri (string->uri ur= l))) >> > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (and uri >> > > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 (string=3D? (uri-host uri) >> > > "elpa.gnu.org")))))) >> > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 (or (string=3D? (uri-host uri) >> > > "elpa.gnu.org") >> > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (string=3D? (uri-host uri) >> > > "elpa.nongnu.org"))))))) >> > > =C2=A0 >> > > =C2=A0(define %elpa-updater >> > > =C2=A0=C2=A0 ;; The ELPA updater.=C2=A0 We restrict it to packages h= osted on >> > > elpa.gnu.org >> > > @@ -455,7 +460,7 @@ (define %elpa-updater >> > > =C2=A0=C2=A0 (upstream-updater >> > > =C2=A0=C2=A0=C2=A0 (name 'elpa) >> > > =C2=A0=C2=A0=C2=A0 (description "Updater for ELPA packages") >> > > -=C2=A0=C2=A0 (pred package-from-gnu.org?) >> > > +=C2=A0=C2=A0 (pred package-from-gnu.org-or-nongnu.org?) >> > > =C2=A0=C2=A0=C2=A0 (latest latest-release))) >> > > =C2=A0 >> > > =C2=A0(define elpa-guix-name (cut guix-name "emacs-" <>)) >> > >=20 >> > > base-commit: e8c1562599c7ebee8b7b228237fb0d75d4472a61 >> > Could we make it so that package-from-gnu.org? becomes elpa- >> > package? s.t. (member (elpa-package? pkg) '(gnu nongnu #f)) and its >> > evaluation can be reused? >>=20 >> Wouldn=E2=80=99t it be enough with just '(gnu nongnu)? >>=20 >> We could make the =E2=80=98elpa-package?=E2=80=99 procedure memoized to = avoid >> evaluating the same thing twice. > The reason for #f is so that packages that are neither from GNU nor > NonGNU ELPA are still excluded from the updater. I am not sure I follow. If =E2=80=98elpa-package?=E2=80=99 returned #f, th= e following would return #f. (member (elpa-package? pkg) '(gnu nongnu)) Meaning that PKG is not hosted on GNU or NonGNU ELPA, and thus, should not be checked for updates. When including #f in the list, the value returned by the =E2=80=98member=E2= =80=99 expression would be '(#f), which means that PKG would be checked for updates, even though it shouldn=E2=80=99t. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmHHK0kVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5etsP/R0/n6k5iK1MYwi3r+j0ZIkWP4Iz ovqCz6a5Omi4mHiRxI2kGLGxb5Z6OPNMNsdOlJwP8awzoTD1EwoXMaW1wPNXXw3r pHDDtg1g9YkOhAuMajKlQPf3PExyTzitUlNBaBF9AOmnxSO8WCnScKQb3Rf7IZrh VtMSO31k0EzyDB4LxKWyZoeilRTbsUexXGGM+5hTIKeiWfkcRPLJvNQA2siiWbP8 fuiuyzn69HF4U7ALOL5pvG0sKAsVU0d/7lc0PvFXeURoBcz9Z4WNjLgSrbiOti0f A0CO1RnPMqMow4hRckhRz3iG20/pl53AvCccwwFbxec3xgPN2sav3eadoSOU/R3v 5VONGLQ63uhE9wf1igaP3gVq3/jFstB+bewNrO3AZBww1EG1Vy0N3XSKd2yyjstn sFhLMT4yxQeZ6RbNPPHfYb+BqP1xSL6UFaDiKFftauRserMVoRL5ER7YsrmPgZZr cO87+IdOyJJVF0MHjbjneuLs+ULgN1O2N3gSVrQC7R3vUem0apegF1fG73SpUC+P bd0KyvZb3PM2oL2ZjqLQpy3n11s+lNqHz5bPcVz8LQK4nFS3vIoT7EptrYFkQR7t lD/Ip5HIMr1WCAOzzNsO2rQmYBqrugbPFzUYbj0vAWXsg/fDC1LxN8pPpgZoqXr7 bSVDVDTip/7UgGr1 =wUEy -----END PGP SIGNATURE----- --=-=-=-- From unknown Thu Jun 19 16:24:37 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#52774] [PATCH] import: elpa: Also check NonGNU ELPA for updates. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 25 Dec 2021 15:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52774 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Xinglu Chen , 52774@debbugs.gnu.org Received: via spool by 52774-submit@debbugs.gnu.org id=B52774.164044580915686 (code B ref 52774); Sat, 25 Dec 2021 15:24:02 +0000 Received: (at 52774) by debbugs.gnu.org; 25 Dec 2021 15:23:29 +0000 Received: from localhost ([127.0.0.1]:39695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n18tM-00044w-Qq for submit@debbugs.gnu.org; Sat, 25 Dec 2021 10:23:29 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:41895) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n18tJ-00044b-Qa for 52774@debbugs.gnu.org; Sat, 25 Dec 2021 10:23:28 -0500 Received: by mail-wr1-f65.google.com with SMTP id a9so22774048wrr.8 for <52774@debbugs.gnu.org>; Sat, 25 Dec 2021 07:23:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=hHK7tlGM3k0E7OIQtfU9b4emS+v8Ml9UXZAtLJRgnoQ=; b=YKaOBci7IgP+3JlEAx9lCBYYjaySZXRd2gz2TyH8J7cNWFW9ASR4Lc5idLVMYqPpZ8 AcXnnhnUYVWyq3hK3NJ3PJn67KEfCbHPeCgKZyn5OrEslZe88hI95zWFiRhkvvOtNsP8 IGEt1ZcTBa7YlXXvH4P4IkxSSyAr+XHRlYGJ7VXZXww2OzPjpmZb3EBaFwSzprxAhPc0 ufhB3zp80uYNhs8N5DyuZEfiDPNQ8G2dvfqzsKOcMDty4zsK7d5MbvWwcne5UDVd45jw 9UXHe6L1VqkECIeOdPPB5fjaEt1zEK2r8wWeMQhiVf9xEF8ttociJ/VH+xmZ/2ulJVIZ onnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=hHK7tlGM3k0E7OIQtfU9b4emS+v8Ml9UXZAtLJRgnoQ=; b=dMP7jCBeuQ4Z1XRqkfcZA0dXSgDAARY+/6tO+kikg9Qq0PIrxVw0NXKH5RJ/mQ1qJt 2DaZFzvPgAhe/BWbyQV4zPtlJ8PdKWqknbWT9qYyu5bqe9NKXuP6TTiNZA44qVmHMy0z Jw0hMxiNPZfr+sHu+/tS1/5Kwi73UbjaPd6F3v0/yivf+Afqd+I5Z9yNzu1XFS8/MW/u wFLKKBw3vS9LKfliXXKy2BfdUuSbEiS/4G+X4zrdQcDjK7293t8cNdWIxO0O8m26b+x7 umkwshnsI7JKhuGhC+tRrWVGD6e8yprYk+k+fDbr0QP0SSZ2Gb2sHGRzb4hzGRPrFeBA rTZQ== X-Gm-Message-State: AOAM5309lLhqgIsdc3GFchJwzZfdeU7HwPuX8akfsA/zfu5Nw/nwh5Ft LDG6x6ng3342ndeNtZjTEWKz9Rias84Gjg== X-Google-Smtp-Source: ABdhPJxU31X36jMIVFpIbtW0L82UMPF0hznribB74d5j0pufaXHLOD6GbLBV1fXVFS6cFOeNi88YnA== X-Received: by 2002:adf:9146:: with SMTP id j64mr7473855wrj.487.1640445799947; Sat, 25 Dec 2021 07:23:19 -0800 (PST) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id u9sm13659151wmm.7.2021.12.25.07.23.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Dec 2021 07:23:19 -0800 (PST) Message-ID: <5ba4b071c95b0db888ad3290d1aa569e979acec5.camel@gmail.com> From: Liliana Marie Prikler Date: Sat, 25 Dec 2021 16:23:17 +0100 In-Reply-To: <87mtkobvsm.fsf@yoctocell.xyz> References: <87wnjub5y6.fsf@yoctocell.xyz> <76a91a888e6d4df4d46aa4dcc0fc3719c91e4c39.camel@gmail.com> <87r1a1auic.fsf@yoctocell.xyz> <0da0a9c2b0f6165712f0a81aab157833a79aecfc.camel@gmail.com> <87mtkobvsm.fsf@yoctocell.xyz> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Am Samstag, dem 25.12.2021 um 15:31 +0100 schrieb Xinglu Chen: > Liliana schrieb am Samstag der 25. Dezember 2021 um 11:15 +01: > > > Am Samstag, dem 25.12.2021 um 10:44 +0100 schrieb Xinglu Chen: > > [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 1.3 RCVD_IN_VALIDITY_RPBL RBL: Relay in Validity RPBL, https://senderscore.org/blocklistlookup/ [209.85.221.65 listed in bl.score.senderscore.com] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.221.65 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.221.65 listed in wl.mailspike.net] 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.3 (/) Am Samstag, dem 25.12.2021 um 15:31 +0100 schrieb Xinglu Chen: > Liliana schrieb am Samstag der 25. Dezember 2021 um 11:15 +01: > > > Am Samstag, dem 25.12.2021 um 10:44 +0100 schrieb Xinglu Chen: > > > Liliana schrieb am Freitag der 24. Dezember 2021 um 13:17 +01: > > > > > > > Am Freitag, dem 24.12.2021 um 12:25 +0100 schrieb Xinglu Chen: > > > > > * elpa.scm (latest-release): Determine the repository based > > > > > on > > > > > the URL of the source. > > > > > (package-from-gnu.org?): Rename to ... > > > > > (package-from-gnu.org-or-nongnu.org?): ...this. > > > > > (%elpa-updater): Adjust accordingly. > > > > > --- > > > > >  guix/import/elpa.scm | 13 +++++++++---- > > > > >  1 file changed, 9 insertions(+), 4 deletions(-) > > > > > > > > > > diff --git a/guix/import/elpa.scm b/guix/import/elpa.scm > > > > > index edabb88b7a..038379e01b 100644 > > > > > --- a/guix/import/elpa.scm > > > > > +++ b/guix/import/elpa.scm > > > > > @@ -424,7 +424,11 @@ (define (guix-package->elpa-name > > > > > package) > > > > >  (define (latest-release package) > > > > >    "Return an for the latest release of > > > > > PACKAGE." > > > > >    (define name (guix-package->elpa-name package)) > > > > > -  (define repo 'gnu) > > > > > +  (define repo > > > > > +    (let ((url (origin-uri (package-source package)))) > > > > > +      (if (string-prefix? "https://elpa.nongnu.org" url) > > > > > +          'nongnu > > > > > +          'gnu))) > > > > >   > > > > >    (match (elpa-package-info name repo) > > > > >      (#f > > > > > @@ -443,11 +447,12 @@ (define repo 'gnu) > > > > >          (urls (list url)) > > > > >          (signature-urls (list (string-append url > > > > > ".sig")))))))) > > > > >   > > > > > -(define package-from-gnu.org? > > > > > +(define package-from-gnu.org-or-nongnu.org? > > > > >    (url-predicate (lambda (url) > > > > >                     (let ((uri (string->uri url))) > > > > >                       (and uri > > > > > -                          (string=? (uri-host uri) > > > > > "elpa.gnu.org")))))) > > > > > +                          (or (string=? (uri-host uri) > > > > > "elpa.gnu.org") > > > > > +                              (string=? (uri-host uri) > > > > > "elpa.nongnu.org"))))))) > > > > >   > > > > >  (define %elpa-updater > > > > >    ;; The ELPA updater.  We restrict it to packages hosted on > > > > > elpa.gnu.org > > > > > @@ -455,7 +460,7 @@ (define %elpa-updater > > > > >    (upstream-updater > > > > >     (name 'elpa) > > > > >     (description "Updater for ELPA packages") > > > > > -   (pred package-from-gnu.org?) > > > > > +   (pred package-from-gnu.org-or-nongnu.org?) > > > > >     (latest latest-release))) > > > > >   > > > > >  (define elpa-guix-name (cut guix-name "emacs-" <>)) > > > > > > > > > > base-commit: e8c1562599c7ebee8b7b228237fb0d75d4472a61 > > > > Could we make it so that package-from-gnu.org? becomes elpa- > > > > package? s.t. (member (elpa-package? pkg) '(gnu nongnu #f)) and > > > > its > > > > evaluation can be reused? > > > > > > Wouldn’t it be enough with just '(gnu nongnu)? > > > > > > We could make the ‘elpa-package?’ procedure memoized to avoid > > > evaluating the same thing twice. > > The reason for #f is so that packages that are neither from GNU nor > > NonGNU ELPA are still excluded from the updater. > > I am not sure I follow.  If ‘elpa-package?’ returned #f, the > following would return #f. > >   (member (elpa-package? pkg) '(gnu nongnu)) > > Meaning that PKG is not hosted on GNU or NonGNU ELPA, and thus, > should not be checked for updates. > > When including #f in the list, the value returned by the ‘member’ > expression would be '(#f), which means that PKG would be checked for > updates, even though it shouldn’t. I think you're misunderstanding what I'm saying, but that might be because I worded it badly. My suggestion was to make elpa-package? a "predicate with meaning", which returns #f if PKG is not an ELPA package, and a truthy value otherwise, said truthy value being the symbol 'gnu or 'nongnu at the moment (which could be expanded to e.g. include 'melpa or 'some-other-law-abiding-elpa in case the ELPA updater is found to work for those as well). Saying that it satisfies the above member function was a shorthand for that. From unknown Thu Jun 19 16:24:37 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#52774] [PATCH] import: elpa: Also check NonGNU ELPA for updates. References: <87wnjub5y6.fsf@yoctocell.xyz> Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 Dec 2021 12:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52774 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler , 52774@debbugs.gnu.org Received: via spool by 52774-submit@debbugs.gnu.org id=B52774.16405226867703 (code B ref 52774); Sun, 26 Dec 2021 12:45:01 +0000 Received: (at 52774) by debbugs.gnu.org; 26 Dec 2021 12:44:46 +0000 Received: from localhost ([127.0.0.1]:40337 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1StK-00020B-0P for submit@debbugs.gnu.org; Sun, 26 Dec 2021 07:44:46 -0500 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:49258 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1StH-0001zr-V4 for 52774@debbugs.gnu.org; Sun, 26 Dec 2021 07:44:45 -0500 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yoctocell.xyz; s=mail; t=1640522676; bh=d2wRikRUkZUqXEVYb5J9yNktpBaUCL/ftD0XYTRwA8c=; h=From:To:Subject:In-Reply-To:Date; b=uUrym/bNHjdAq7jJE0eGEEUuTN/0O5ddovT6SGrGevczX+9DPTjMhEqxUABNXAt1N Hyh6D8R3XYqH8au7y8pxcBOqUx//28NwSw2ak/OfMxEh9avTGOEzq896A824mJ8Upl x03aOkbd14eabC5AbktRwQrFltfvdwlJHxEFdxho= In-Reply-To: <5ba4b071c95b0db888ad3290d1aa569e979acec5.camel@gmail.com> Date: Sun, 26 Dec 2021 13:44:34 +0100 Message-ID: <87ee5zbknh.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Liliana schrieb am Samstag der 25. Dezember 2021 um 16:23 +01: > Am Samstag, dem 25.12.2021 um 15:31 +0100 schrieb Xinglu Chen: >> Liliana schrieb am Samstag der 25. Dezember 2021 um 11:15 +01: >> >> > Am Samstag, dem 25.12.2021 um 10:44 +0100 schrieb Xinglu Chen [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps 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: 2.9 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Liliana schrieb am Samstag der 25. Dezember 2021 um 16:23 +01: > Am Samstag, dem 25.12.2021 um 15:31 +0100 schrieb Xinglu Chen: >> Liliana schrieb am Samstag der 25. Dezember 2021 um 11:15 +01: >> >> > Am Samstag, dem 25.12.2021 um 10:44 +0100 schrieb Xinglu Chen [...] Content analysis details: (2.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 PDS_RDNS_DYNAMIC_FP RDNS_DYNAMIC with FP steps --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Liliana schrieb am Samstag der 25. Dezember 2021 um 16:23 +01: > Am Samstag, dem 25.12.2021 um 15:31 +0100 schrieb Xinglu Chen: >> Liliana schrieb am Samstag der 25. Dezember 2021 um 11:15 +01: >>=20 >> > Am Samstag, dem 25.12.2021 um 10:44 +0100 schrieb Xinglu Chen: >> > > Liliana schrieb am Freitag der 24. Dezember 2021 um 13:17 +01: >> > >=20 >> > > > Am Freitag, dem 24.12.2021 um 12:25 +0100 schrieb Xinglu Chen: >> > > > > * elpa.scm (latest-release): Determine the repository based >> > > > > on >> > > > > the URL of the source. >> > > > > (package-from-gnu.org?): Rename to ... >> > > > > (package-from-gnu.org-or-nongnu.org?): ...this. >> > > > > (%elpa-updater): Adjust accordingly. >> > > > > --- >> > > > > =C2=A0guix/import/elpa.scm | 13 +++++++++---- >> > > > > =C2=A01 file changed, 9 insertions(+), 4 deletions(-) >> > > > >=20 >> > > > > diff --git a/guix/import/elpa.scm b/guix/import/elpa.scm >> > > > > index edabb88b7a..038379e01b 100644 >> > > > > --- a/guix/import/elpa.scm >> > > > > +++ b/guix/import/elpa.scm >> > > > > @@ -424,7 +424,11 @@ (define (guix-package->elpa-name >> > > > > package) >> > > > > =C2=A0(define (latest-release package) >> > > > > =C2=A0=C2=A0 "Return an for the latest releas= e of >> > > > > PACKAGE." >> > > > > =C2=A0=C2=A0 (define name (guix-package->elpa-name package)) >> > > > > -=C2=A0 (define repo 'gnu) >> > > > > +=C2=A0 (define repo >> > > > > +=C2=A0=C2=A0=C2=A0 (let ((url (origin-uri (package-source packa= ge)))) >> > > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (if (string-prefix? "https://elp= a.nongnu.org" url) >> > > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 'nongnu >> > > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 'gnu))) >> > > > > =C2=A0 >> > > > > =C2=A0=C2=A0 (match (elpa-package-info name repo) >> > > > > =C2=A0=C2=A0=C2=A0=C2=A0 (#f >> > > > > @@ -443,11 +447,12 @@ (define repo 'gnu) >> > > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (urls (list url= )) >> > > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (signature-urls= (list (string-append url >> > > > > ".sig")))))))) >> > > > > =C2=A0 >> > > > > -(define package-from-gnu.org? >> > > > > +(define package-from-gnu.org-or-nongnu.org? >> > > > > =C2=A0=C2=A0 (url-predicate (lambda (url) >> > > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (let ((uri (string->uri= url))) >> > > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (and uri >> > > > > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 (string=3D? (uri-host uri) >> > > > > "elpa.gnu.org")))))) >> > > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 (or (string=3D? (uri-host uri) >> > > > > "elpa.gnu.org") >> > > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (string=3D? (uri-host uri) >> > > > > "elpa.nongnu.org"))))))) >> > > > > =C2=A0 >> > > > > =C2=A0(define %elpa-updater >> > > > > =C2=A0=C2=A0 ;; The ELPA updater.=C2=A0 We restrict it to packag= es hosted on >> > > > > elpa.gnu.org >> > > > > @@ -455,7 +460,7 @@ (define %elpa-updater >> > > > > =C2=A0=C2=A0 (upstream-updater >> > > > > =C2=A0=C2=A0=C2=A0 (name 'elpa) >> > > > > =C2=A0=C2=A0=C2=A0 (description "Updater for ELPA packages") >> > > > > -=C2=A0=C2=A0 (pred package-from-gnu.org?) >> > > > > +=C2=A0=C2=A0 (pred package-from-gnu.org-or-nongnu.org?) >> > > > > =C2=A0=C2=A0=C2=A0 (latest latest-release))) >> > > > > =C2=A0 >> > > > > =C2=A0(define elpa-guix-name (cut guix-name "emacs-" <>)) >> > > > >=20 >> > > > > base-commit: e8c1562599c7ebee8b7b228237fb0d75d4472a61 >> > > > Could we make it so that package-from-gnu.org? becomes elpa- >> > > > package? s.t. (member (elpa-package? pkg) '(gnu nongnu #f)) and >> > > > its >> > > > evaluation can be reused? >> > >=20 >> > > Wouldn=E2=80=99t it be enough with just '(gnu nongnu)? >> > >=20 >> > > We could make the =E2=80=98elpa-package?=E2=80=99 procedure memoized= to avoid >> > > evaluating the same thing twice. >> > The reason for #f is so that packages that are neither from GNU nor >> > NonGNU ELPA are still excluded from the updater. >>=20 >> I am not sure I follow.=C2=A0 If =E2=80=98elpa-package?=E2=80=99 returne= d #f, the >> following would return #f. >>=20 >> =C2=A0 (member (elpa-package? pkg) '(gnu nongnu)) >>=20 >> Meaning that PKG is not hosted on GNU or NonGNU ELPA, and thus, >> should not be checked for updates. >>=20 >> When including #f in the list, the value returned by the =E2=80=98member= =E2=80=99 >> expression would be '(#f), which means that PKG would be checked for >> updates, even though it shouldn=E2=80=99t. > I think you're misunderstanding what I'm saying, but that might be > because I worded it badly. My suggestion was to make elpa-package? a > "predicate with meaning", which returns #f if PKG is not an ELPA > package, and a truthy value otherwise, said truthy value being the > symbol 'gnu or 'nongnu at the moment That was what I had in mind as well, but I don=E2=80=99t see why we would n= eed '(gnu nongnu #f) instead of just '(gnu nongnu). If PKG is not in ELPA, we _don=E2=80=99t_ want to check for updates, and therefore, #f shouldn=E2= =80=99t be a member of the list. I took a stab at the problem (patch attached below), and the result seems to be what would be expected. =2D-8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix refresh -t elpa emacs-caml emacs-project emacs-helm gnu/packages/emacs-xyz.scm:10870:2: warning: no updater for emacs-helm = ;github gnu/packages/emacs-xyz.scm:636:13: 0.8.1 is already the latest version of e= macs-project ;gnu gnu/packages/emacs-xyz.scm:2751:13: 4.9 is already the latest version of em= acs-caml ;nongnu =2D-8<---------------cut here---------------end--------------->8--- --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-import-elpa-Also-check-NonGNU-ELPA-for-updates.patch Content-Transfer-Encoding: quoted-printable From=204332502000bd06a2be900c236666d10f07777807 Mon Sep 17 00:00:00 2001 Message-Id: <4332502000bd06a2be900c236666d10f07777807.1640522590.git.public= @yoctocell.xyz> From: Xinglu Chen Date: Thu, 23 Dec 2021 22:08:33 +0100 Subject: [PATCH] import: elpa: Also check NonGNU ELPA for updates. * elpa.scm (latest-release): Determine the repository based on the URL of t= he source. (package-from-gnu.org?): Rename to ... (elpa-repository): ...this; memoize. (elpa-package?): New procedure. (%elpa-updater): Adjust accordingly. =2D-- guix/import/elpa.scm | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/guix/import/elpa.scm b/guix/import/elpa.scm index edabb88b7a..a03df5167e 100644 =2D-- a/guix/import/elpa.scm +++ b/guix/import/elpa.scm @@ -44,6 +44,7 @@ (define-module (guix import elpa) #:use-module (guix base32) #:use-module (guix upstream) #:use-module (guix packages) + #:use-module (guix memoization) #:use-module ((guix utils) #:select (call-with-temporary-output-file)) #:export (elpa->guix-package guix-package->elpa-name @@ -424,7 +425,7 @@ (define (guix-package->elpa-name package) (define (latest-release package) "Return an for the latest release of PACKAGE." (define name (guix-package->elpa-name package)) =2D (define repo 'gnu) + (define repo (elpa-repository package)) =20 (match (elpa-package-info name repo) (#f @@ -443,11 +444,20 @@ (define repo 'gnu) (urls (list url)) (signature-urls (list (string-append url ".sig")))))))) =20 =2D(define package-from-gnu.org? =2D (url-predicate (lambda (url) =2D (let ((uri (string->uri url))) =2D (and uri =2D (string=3D? (uri-host uri) "elpa.gnu.org")))))) +(define elpa-repository + (memoize + (url-predicate (lambda (url) + (let ((uri (string->uri url))) + (and uri + (cond + ((string=3D? (uri-host uri) "elpa.gnu.org") + 'gnu) + ((string=3D? (uri-host uri) "elpa.nongnu.org") + 'nongnu) + (else #f)))))))) + +(define (elpa-package? package) + (member (elpa-repository package) '(gnu nongnu))) =20 (define %elpa-updater ;; The ELPA updater. We restrict it to packages hosted on elpa.gnu.org @@ -455,7 +465,7 @@ (define %elpa-updater (upstream-updater (name 'elpa) (description "Updater for ELPA packages") =2D (pred package-from-gnu.org?) + (pred elpa-package?) (latest latest-release))) =20 (define elpa-guix-name (cut guix-name "emacs-" <>)) base-commit: 2495582e08cf411163f0799d290fda5101141949 =2D-=20 2.33.1 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmHIY7IVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5ulYP/0Han5PVSxrQGGWchRJBocvUbjt9 fjeulL2/+Z5GgVnBkMHsGs2yN992i+6PamcUP52owK/UNG1BkAtpBN9f/IwDHL1t p5g+usU2O2bXf56zenpeGN4+qJFtUeoEWMbL1rwqHX9BwVJOQcGiongoY/KF7ti+ RePf80b97RC8i617KH5jm/ADGHrmERnXMfCQaQ///LOmEIPSJuxrATCKh4i/OUJm Pj1+eT6TCoWPcTEYF0p9ZJ7yNIMrc1+YL7QU/uFUN+f780L6ir2K8bOGD9Unyv8E 72cG/NpgrlipGx4JQ/Z6BtYFkPTwAptzFTrlT6CAWNs5Qt7h+amWG/ARjURwHX4u RXEpj0PD7MAhHsrjlU1W1+0odHPLFbh2ckdwxlXl3YYvMEV9cPlDJy0+jBQlLji2 oIsgM18g4jZu/aEfOXrsgh7Y/w4WvSDB0x2lTLIpAbsxX8LhGKErXKQM0W3GtOFn oJoAsDo+3dJMbynJRzxFArTAgeLe3u8NXltbhRyCjOf8fYb0apjcsKUvY0M7ultc 4+Sapu0crhSgieM5MAWzkWUKbvDnrRYFbhU3F79qilSorjfjtEjrc4DaPyi3HZ97 Pe7qk3aIFV2dQs7zmv2P/kE+j+adbIEOjA5joQFdOvwuPPUKpW3XG6vSJPL2yvzb nZ5Ma/RnBHlMMwTL =ppUj -----END PGP SIGNATURE----- --==-=-=-- From unknown Thu Jun 19 16:24:37 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#52774] [PATCH] import: elpa: Also check NonGNU ELPA for updates. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 26 Dec 2021 13:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52774 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Xinglu Chen , 52774@debbugs.gnu.org Received: via spool by 52774-submit@debbugs.gnu.org id=B52774.164052410910363 (code B ref 52774); Sun, 26 Dec 2021 13:09:02 +0000 Received: (at 52774) by debbugs.gnu.org; 26 Dec 2021 13:08:29 +0000 Received: from localhost ([127.0.0.1]:40352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1TGH-0002h4-93 for submit@debbugs.gnu.org; Sun, 26 Dec 2021 08:08:29 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:38862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1TGE-0002gq-DF for 52774@debbugs.gnu.org; Sun, 26 Dec 2021 08:08:27 -0500 Received: by mail-wm1-f67.google.com with SMTP id p1-20020a1c7401000000b00345c2d068bdso7065235wmc.3 for <52774@debbugs.gnu.org>; Sun, 26 Dec 2021 05:08:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=69dGpUXDszwctAV0/wONL3qu45/i9i6TgRQ3G6QW9O8=; b=pOeDv59LHdpWIJfQoOdJNAc6NwS4TLCMtwVOTDjQCghdq/wml6Zm6ASIvx34cL3xdu es4YFpVNJK6dEfd3EwteQhGXZMapbDurRMLpUuaNIgIQpJCpK1rYD/D7oiPBlNEHzgTf nBIE1c3E0Fe4UU3AkELkOEV7QNzWl3HIpsbgZonmCV7iAD4+VDXZOsjFcWqHkzMG5wBk K1ee0k+ht5QuDNj0BqDWM6vsHBPFbPPv4JZuPXtb+F4r30bMPTAx1DAw2lfeI2wI8x86 uM9bYPxzaslP8L22IXxXjrpcblBTOyhpB98No30NgCCIhpLOJTVSLNbwKDoPM17zT+c9 rtKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=69dGpUXDszwctAV0/wONL3qu45/i9i6TgRQ3G6QW9O8=; b=zweJS5ghIrBRwOl6nE1NI6hqimhrXsPKRauGHZ4bHzcJEpMKacubiTaIm+EoHPRPgy XxCBTSIuJj3Nua2cBSUtFdzORWlcL+wDVIiOEiU186Zi2mmGCoWJVqJCgcYnoiSzRFj5 J8x227bj77PLGnXXFku3vwmJtDq2jdiXNOD1GxTqRHGHJHRHYsz2MClVhMUNo/GoVjor hMTMsiZV8pX9cmwkjDX5E4IM3Tk5CkNd9Xw39K56aNbLDiELMeKs7SgCvfr1lCWh0R5L lri+FDHOWRLX7wgBNBWLpQMo3Puh0MS6TEF72miPRYWbtVROFkdKNFz8Tck64Exy5ebY T2MA== X-Gm-Message-State: AOAM532QWA0oazoUpgvLIK3G9rrh4Cw8okqgrGVaz496fn+k4pwWLgmj bjZn9UH2ZQD6sGWU6yi85WY= X-Google-Smtp-Source: ABdhPJyv2b3bAcbZjgTemGFP+Jvtm6dv+CNpeBesEIuPqEJbKB4gmfrBcGN50bmofPrd0cY84p7o8g== X-Received: by 2002:a05:600c:204d:: with SMTP id p13mr10565161wmg.102.1640524100445; Sun, 26 Dec 2021 05:08:20 -0800 (PST) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id r1sm14905264wrz.30.2021.12.26.05.08.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Dec 2021 05:08:19 -0800 (PST) Message-ID: From: Liliana Marie Prikler Date: Sun, 26 Dec 2021 14:08:18 +0100 In-Reply-To: <87ee5zbknh.fsf@yoctocell.xyz> References: <87ee5zbknh.fsf@yoctocell.xyz> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Xinglu, Am Sonntag, dem 26.12.2021 um 13:44 +0100 schrieb Xinglu Chen: > > > I am not sure I =?UTF-8?Q?follow.=C2=A0?= If =?UTF-8?Q?=E2=80=98elpa-package=3F=E2=80=99?= returned #f, the > > > following would return #f. > > > > > > =?UTF-8?Q?=C2=A0?= (member (elpa-pac [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.128.67 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.128.67 listed in list.dnswl.org] 1.3 RCVD_IN_VALIDITY_RPBL RBL: Relay in Validity RPBL, https://senderscore.org/blocklistlookup/ [209.85.128.67 listed in bl.score.senderscore.com] 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.3 (/) Hi Xinglu, Am Sonntag, dem 26.12.2021 um 13:44 +0100 schrieb Xinglu Chen: > > > I am not sure I follow.  If ‘elpa-package?’ returned #f, the > > > following would return #f. > > > > > >   (member (elpa-package? pkg) '(gnu nongnu)) > > > > > > Meaning that PKG is not hosted on GNU or NonGNU ELPA, and thus, > > > should not be checked for updates. > > > > > > When including #f in the list, the value returned by the ‘member’ > > > expression would be '(#f), which means that PKG would be checked > > > for updates, even though it shouldn’t. > > I think you're misunderstanding what I'm saying, but that might be > > because I worded it badly.  My suggestion was to make elpa-package? > > a "predicate with meaning", which returns #f if PKG is not an ELPA > > package, and a truthy value otherwise, said truthy value being the > > symbol 'gnu or 'nongnu at the moment > > That was what I had in mind as well, but I don’t see why we would > need '(gnu nongnu #f) instead of just '(gnu nongnu).  If PKG is not > in ELPA, we _don’t_ want to check for updates, and therefore, #f > shouldn’t be a member of the list. Because (eq? (elpa-package? NOT_AN_ELPA_PACKAGE) #f) needs to be defined behaviour. > I took a stab at the problem (patch attached below), and the result > seems to be what would be expected. > > --8<---------------cut here---------------start------------->8--- > $ ./pre-inst-env guix refresh -t elpa emacs-caml emacs-project emacs- > helm > gnu/packages/emacs-xyz.scm:10870:2: warning: no updater for emacs- > helm                   ;github > gnu/packages/emacs-xyz.scm:636:13: 0.8.1 is already the latest > version of emacs-project  ;gnu > gnu/packages/emacs-xyz.scm:2751:13: 4.9 is already the latest version > of emacs-caml      ;nongnu > --8<---------------cut here---------------end--------------->8--- In my personal opinion, elpa-repository as you defined it in that patch would already be a valid value for the pred field of %elpa-updater. There is no need to define a procedure that does the member call and in fact it makes it harder to update the updater, as now two locations have to be updated. If there is a requirement to only return #t or #f we could make it (compose ->bool elpa-repository) Cheers From unknown Thu Jun 19 16:24:37 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Xinglu Chen Subject: bug#52774: closed (Re: bug#52774: [PATCH] import: elpa: Also check NonGNU ELPA for updates.) Message-ID: References: <875yqxj081.fsf_-_@gnu.org> <87wnjub5y6.fsf@yoctocell.xyz> X-Gnu-PR-Message: they-closed 52774 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 52774@debbugs.gnu.org Date: Wed, 05 Jan 2022 22:19:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1641421142-3440-1" This is a multi-part message in MIME format... ------------=_1641421142-3440-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #52774: [PATCH] import: elpa: Also check NonGNU ELPA for updates. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 52774@debbugs.gnu.org. --=20 52774: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D52774 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1641421142-3440-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 52774-done) by debbugs.gnu.org; 5 Jan 2022 22:18:32 +0000 Received: from localhost ([127.0.0.1]:39141 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5Ebp-0000sT-8Q for submit@debbugs.gnu.org; Wed, 05 Jan 2022 17:18:32 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:45582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5Ebm-0000sF-Cv for 52774-done@debbugs.gnu.org; Wed, 05 Jan 2022 17:18:15 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id BA458112; Wed, 5 Jan 2022 23:18:07 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CWF5iirRh_Ex; Wed, 5 Jan 2022 23:18:07 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id A17AE289; Wed, 5 Jan 2022 23:18:06 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Xinglu Chen Subject: Re: bug#52774: [PATCH] import: elpa: Also check NonGNU ELPA for updates. References: <87wnjub5y6.fsf@yoctocell.xyz> <87ee5zbknh.fsf@yoctocell.xyz> Date: Wed, 05 Jan 2022 23:18:06 +0100 In-Reply-To: <87ee5zbknh.fsf@yoctocell.xyz> (Xinglu Chen's message of "Sun, 26 Dec 2021 13:44:34 +0100") Message-ID: <875yqxj081.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: BA458112 X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FREEMAIL_CC(0.00)[gmail.com,debbugs.gnu.org] X-Spam-Score: 3.0 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, Xinglu Chen skribis: > From 4332502000bd06a2be900c236666d10f07777807 Mon Sep 17 00:00:00 2001 > Message-Id: <4332502000bd06a2be900c236666d10f07777807.1640522590.git.public@yoctocell.xyz> > From: Xinglu Chen , 52774-done@debbugs.gnu.org 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: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, Xinglu Chen skribis: > From 4332502000bd06a2be900c236666d10f07777807 Mon Sep 17 00:00:00 2001 > Message-Id: <4332502000bd06a2be900c236666d10f07777807.1640522590.git.public@yoctocell.xyz> > From: Xinglu Chen skribis: > From 4332502000bd06a2be900c236666d10f07777807 Mon Sep 17 00:00:00 2001 > Message-Id: <4332502000bd06a2be900c236666d10f07777807.1640522590.git.publ= ic@yoctocell.xyz> > From: Xinglu Chen > Date: Thu, 23 Dec 2021 22:08:33 +0100 > Subject: [PATCH] import: elpa: Also check NonGNU ELPA for updates. > > * elpa.scm (latest-release): Determine the repository based on the URL of= the > source. > (package-from-gnu.org?): Rename to ... > (elpa-repository): ...this; memoize. > (elpa-package?): New procedure. > (%elpa-updater): Adjust accordingly. Applied, thanks to the two of you! I had to rename =E2=80=98elpa-package?=E2=80=99 because: guix/import/elpa.scm:459:0: warning: shadows previous definition of `elpa= -package?' at (The other =E2=80=98elpa-package?=E2=80=99 predicate wasn=E2=80=99t used, b= ut still.) Ludo=E2=80=99. ------------=_1641421142-3440-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 24 Dec 2021 11:25:48 +0000 Received: from localhost ([127.0.0.1]:35797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0ihn-0005bH-Jz for submit@debbugs.gnu.org; Fri, 24 Dec 2021 06:25:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:58778) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0ihl-0005b4-Oi for submit@debbugs.gnu.org; Fri, 24 Dec 2021 06:25:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0ihk-00087V-D8 for guix-patches@gnu.org; Fri, 24 Dec 2021 06:25:44 -0500 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:42210 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0ihW-0000vR-73 for guix-patches@gnu.org; Fri, 24 Dec 2021 06:25:33 -0500 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yoctocell.xyz; s=mail; t=1640345122; bh=0tF+uN4J0K45cKGW/PCT/jh7gOGN8pDEIVFg10nOTa4=; h=From:To:Subject:Date; b=Y/woQK/s/gXDEAUSOKWBLvwwbSdgtYieJ5fvRQmKtgV96nFQvgJ/bAJOiGuDljb6B 24bGRbmiQZLicQMmobDqgvTr/jWcfRmFvj7C1O0HddfieKsodJOPAu2E2tIFcqrwd2 1jqt9lWLv7E82REhZ/J/X2p7LDuJBRrtBaBgt2zQ= To: guix-patches@gnu.org Subject: [PATCH] import: elpa: Also check NonGNU ELPA for updates. Date: Fri, 24 Dec 2021 12:25:21 +0100 Message-ID: <87wnjub5y6.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 18 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, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=0.455, PDS_OTHER_BAD_TLD=1.999, PDS_RDNS_DYNAMIC_FP=0.005, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TO_NO_BRKTS_DYNIP=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * elpa.scm (latest-release): Determine the repository based on the URL of the source. (package-from-gnu.org?): Rename to ... (package-from-gnu.org-or-nongnu.org?): ...this. (%elpa-updater): Adjust acc [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.51.188.17 listed in wl.mailspike.net] 0.5 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 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.1 (/) * elpa.scm (latest-release): Determine the repository based on the URL of the source. (package-from-gnu.org?): Rename to ... (package-from-gnu.org-or-nongnu.org?): ...this. (%elpa-updater): Adjust accordingly. --- guix/import/elpa.scm | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/guix/import/elpa.scm b/guix/import/elpa.scm index edabb88b7a..038379e01b 100644 --- a/guix/import/elpa.scm +++ b/guix/import/elpa.scm @@ -424,7 +424,11 @@ (define (guix-package->elpa-name package) (define (latest-release package) "Return an for the latest release of PACKAGE." (define name (guix-package->elpa-name package)) - (define repo 'gnu) + (define repo + (let ((url (origin-uri (package-source package)))) + (if (string-prefix? "https://elpa.nongnu.org" url) + 'nongnu + 'gnu))) (match (elpa-package-info name repo) (#f @@ -443,11 +447,12 @@ (define repo 'gnu) (urls (list url)) (signature-urls (list (string-append url ".sig")))))))) -(define package-from-gnu.org? +(define package-from-gnu.org-or-nongnu.org? (url-predicate (lambda (url) (let ((uri (string->uri url))) (and uri - (string=? (uri-host uri) "elpa.gnu.org")))))) + (or (string=? (uri-host uri) "elpa.gnu.org") + (string=? (uri-host uri) "elpa.nongnu.org"))))))) (define %elpa-updater ;; The ELPA updater. We restrict it to packages hosted on elpa.gnu.org @@ -455,7 +460,7 @@ (define %elpa-updater (upstream-updater (name 'elpa) (description "Updater for ELPA packages") - (pred package-from-gnu.org?) + (pred package-from-gnu.org-or-nongnu.org?) (latest latest-release))) (define elpa-guix-name (cut guix-name "emacs-" <>)) base-commit: e8c1562599c7ebee8b7b228237fb0d75d4472a61 -- 2.33.1 ------------=_1641421142-3440-1-- From unknown Thu Jun 19 16:24:37 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#52774] [PATCH] import: elpa: Also check NonGNU ELPA for updates. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 05 Jan 2022 23:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52774 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Xinglu Chen Cc: 52774-done@debbugs.gnu.org Received: via spool by 52774-done@debbugs.gnu.org id=D52774.16414238308171 (code D ref 52774); Wed, 05 Jan 2022 23:04:02 +0000 Received: (at 52774-done) by debbugs.gnu.org; 5 Jan 2022 23:03:50 +0000 Received: from localhost ([127.0.0.1]:39260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5FJu-00027j-Df for submit@debbugs.gnu.org; Wed, 05 Jan 2022 18:03:50 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:54141) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5FJs-00027V-Az for 52774-done@debbugs.gnu.org; Wed, 05 Jan 2022 18:03:48 -0500 Received: by mail-wm1-f66.google.com with SMTP id l4so655189wmq.3 for <52774-done@debbugs.gnu.org>; Wed, 05 Jan 2022 15:03:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=BP+GYc3Eibn7Lxb6Nlob6hB/atflChEsM8koUX6yzRc=; b=T4LlD9m3BI00yiYQTclJtyVaFz4PxKXiJSEmoeQIYk3BlLtuOZygxlW8FfLTybwUxO IOf69unlQIiASI+gPZwbwzic+KpHA7f7SfSoAAsG1aPyCM/HhMS4PIkSzwu0FQcJ39nA 7NN/LlkMxrsp97TLa1USV4+ANbsGwuCI8LTUL9yxYqZR6tkL/iEZ/Scahy5ExT4EKkdX AbOhExsQGuOfL8tmcJjAX+4c/YoU/4Fz1OTUJXKFfOOO3cetqxpKcfVx0X/HkPC2aozO Ofx6Nl42NUDsyYCnRyS0xQZ/Wylawxu0cA4i/lhumXV3RVPRjJoNaQy4Oqc2ja5Z9jTP m6ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=BP+GYc3Eibn7Lxb6Nlob6hB/atflChEsM8koUX6yzRc=; b=rIMGRnOKg3sMNs18vzKAe1neXxjpWEqFNl/trzkoIRl7CEMf2bcu/yMs6qytb2eYrv LulQbyL2+6lfIw/HHPSgsMtt+Z7M5Bn4M4BoOelw8ymriM0IxvfrmWB+IwJ9qDt6dvIR hcEBEj/zXf6FVWTsXtRVZse134RpfdUp3AA8Xn/9mqyD4f9VXVDJ34pg6wGkEKCWp+q1 /mFRcmwFpU2JonlM3tRfkJ2VJLjghxFKkvWT2ylbr2P7Npl8zHhgF9pAj4CGeSAT4S9t olcTiKkT+bjSafnmmoAx5s3/qbvLdffaLQCPsW0JYQHujZBOHJfxDsxcVpez+y2qtld0 Icag== X-Gm-Message-State: AOAM5333aD+hI6jpJsxeik538FruS2D4H9h2rhTB+a7+kQ8fxUuOGGFL +66bOQ6UCPzKAU4om36TB+f9M7yMgy9bPg== X-Google-Smtp-Source: ABdhPJy0k9BGlzpR06OHyKy8F5a1YpSrXFxKZr7DVHSrF3h5nRQDroct4vWrKV1OHdF2Aw42Dm9A9w== X-Received: by 2002:a05:600c:4e88:: with SMTP id f8mr4720923wmq.45.1641423822727; Wed, 05 Jan 2022 15:03:42 -0800 (PST) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id h204sm186189wmh.33.2022.01.05.15.03.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jan 2022 15:03:42 -0800 (PST) Message-ID: <99b659ab6a634b5d7fc37d980fef40db4f232f9a.camel@gmail.com> From: Liliana Marie Prikler Date: Thu, 06 Jan 2022 00:03:41 +0100 In-Reply-To: <875yqxj081.fsf_-_@gnu.org> References: <87wnjub5y6.fsf@yoctocell.xyz> <87ee5zbknh.fsf@yoctocell.xyz> <875yqxj081.fsf_-_@gnu.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Am Mittwoch, dem 05.01.2022 um 23:18 +0100 schrieb Ludovic =?UTF-8?Q?Court=C3=A8s:?= > Hi, > > Xinglu Chen skribis: > > > From 4332502000bd06a2be900c236666d10f07777807 Mon Sep 17 00:00:00 > > 2001 > > Message-Id: > [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.128.66 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: yoctocell.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.128.66 listed in wl.mailspike.net] 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 (+) Am Mittwoch, dem 05.01.2022 um 23:18 +0100 schrieb Ludovic Courtès: > Hi, > > Xinglu Chen skribis: > > > From 4332502000bd06a2be900c236666d10f07777807 Mon Sep 17 00:00:00 > > 2001 > > Message-Id: > > <4332502000bd06a2be900c236666d10f07777807.1640522590.git.public@yoctocell.xyz > > > > > From: Xinglu Chen > > Date: Thu, 23 Dec 2021 22:08:33 +0100 > > Subject: [PATCH] import: elpa: Also check NonGNU ELPA for updates. > > > > * elpa.scm (latest-release): Determine the repository based on the > > URL of the > > source. > > (package-from-gnu.org?): Rename to ... > > (elpa-repository): ...this; memoize. > > (elpa-package?): New procedure. > > (%elpa-updater): Adjust accordingly. > > Applied, thanks to the two of you! Ahh, sorry for not applying it earlier. I was too caught up in the message accompanying it that I didn't notice the patch actually behaving the way I intended. My bad, I'll try to be less confusing next time From unknown Thu Jun 19 16:24:37 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#52774] [PATCH] import: elpa: Also check NonGNU ELPA for updates. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 05 Jan 2022 23:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52774 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Xinglu Chen Cc: 52774-done@debbugs.gnu.org Received: via spool by 52774-done@debbugs.gnu.org id=D52774.16414243499043 (code D ref 52774); Wed, 05 Jan 2022 23:13:01 +0000 Received: (at 52774-done) by debbugs.gnu.org; 5 Jan 2022 23:12:29 +0000 Received: from localhost ([127.0.0.1]:39283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5FSH-0002Lm-04 for submit@debbugs.gnu.org; Wed, 05 Jan 2022 18:12:29 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:40687) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5FSE-0002LZ-6Q for 52774-done@debbugs.gnu.org; Wed, 05 Jan 2022 18:12:26 -0500 Received: by mail-wr1-f66.google.com with SMTP id l10so1232414wrh.7 for <52774-done@debbugs.gnu.org>; Wed, 05 Jan 2022 15:12:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=D4xWrGmN50tQTkvBES+AHfq35jmNcpUd0Kg+MsnHszk=; b=McrXlTaKDteTF5HXJ/JrO5ysWyt37e6qza4kdlZdWB3mW9N0WThwH92NyaUAXUzkbb 8re6qXF8nUEZG6P3fXPduMFc4RndoazHIKBz+Pt8uePM/filk9A4lxU4esgJkdgylnQQ UL99H77p9sFI50zacEGQmMOOUTOix/E/toPJpEQKMaNq4ULmH1bfw8TRlF3lzxG0m08g zwe/eyLrhZvvtdPLQ3HDX2oGP0oBfCc3F0BqbrPyvpCnJB6VoD4ssNNTZS4/fVszmOlF HifvvmMkimTvuq/mBHpxcRPIA+azIT+Xpa0LLl7aM7vuv0tcYDdn7dmNwjW7Oyatl68U o5rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=D4xWrGmN50tQTkvBES+AHfq35jmNcpUd0Kg+MsnHszk=; b=eVoRQwmO7mbX8svpqs6FJosauD7qWn5/eufguZiyoZfR/dvrFiGYzziKSywlvwuSFg u35M7LgPSTt6DGgEmyhw5wOhGXAxzDt+XevRT/d1So+Bq058Mad+AbobnyA4mr2NAxbZ D687dZyg5L0DFgxqgekrX2JH/Rpx/E+zb0EbqcJOHwzfAL+1wLo5wQiVVtx/7tcOAZBx bKNvCXf/XWsor1ogdMW1FkOP7oU6W2t0wgLX2O+LycsWWQQuO0e4PFBjC7hQxZM2m6fs Ix03WbnP8ePc8YPzxbOw+5hguTZULNfNVudHOWKg0QFyV2ZZZc4CDqGdRuvXNIhJKdLt Kepg== X-Gm-Message-State: AOAM5324jfIXXaPpCr0z/+oCZx+OmCSFKk9tsd2grZk+LKNj40/vQ6eP 1DVc93wFHkLPXQ7s5+gnw8E= X-Google-Smtp-Source: ABdhPJyiUFggqerwwIpYZxDWS6tS3PMc4ydX0Xgt9RrKDJuXrU7gXvtVgKPjG1Y9mu2+hqVU6a01TA== X-Received: by 2002:a5d:4a8e:: with SMTP id o14mr46984705wrq.441.1641424340255; Wed, 05 Jan 2022 15:12:20 -0800 (PST) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id n14sm328128wrf.107.2022.01.05.15.12.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jan 2022 15:12:19 -0800 (PST) Message-ID: <7fd5298de2b6a96aa10ccb8a773b64944f689bb9.camel@gmail.com> From: Liliana Marie Prikler Date: Thu, 06 Jan 2022 00:12:19 +0100 In-Reply-To: <99b659ab6a634b5d7fc37d980fef40db4f232f9a.camel@gmail.com> References: <87wnjub5y6.fsf@yoctocell.xyz> <87ee5zbknh.fsf@yoctocell.xyz> <875yqxj081.fsf_-_@gnu.org> <99b659ab6a634b5d7fc37d980fef40db4f232f9a.camel@gmail.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) 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 (-) Am Donnerstag, dem 06.01.2022 um 00:03 +0100 schrieb Liliana Marie Prikler: > Ahh, sorry for not applying it earlier.  I was too caught up in the > message accompanying it that I didn't notice the patch actually > behaving the way I intended. Okay, I take that back, my point about needing to modify two places still applies, but shouldn't have held this patch back. Either way, sorry.