Message ID | 97c1eb6e58e07feaef29a1b10eeabb09f870bee1.1687117071.git.jlicht@fsfe.org |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9345727BBE2; Sun, 18 Jun 2023 20:39:21 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E8E3427BBE9 for <patchwork@mira.cbaines.net>; Sun, 18 Jun 2023 20:39:17 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1qAyEr-0002BK-Dl; Sun, 18 Jun 2023 15:39:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1qAyEp-0002B6-2W for guix-patches@gnu.org; Sun, 18 Jun 2023 15:39:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1qAyEo-0001oG-Q8 for guix-patches@gnu.org; Sun, 18 Jun 2023 15:39:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1qAyEn-0005Om-Uh; Sun, 18 Jun 2023 15:39:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64155] [PATCH] gnu: emacs-piem: Update to 0.5.0. Resent-From: jlicht@fsfe.org Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: andrew@trop.in, liliana.prikler@gmail.com, guix-patches@gnu.org Resent-Date: Sun, 18 Jun 2023 19:39:01 +0000 Resent-Message-ID: <handler.64155.B.168711709920696@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64155 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64155@debbugs.gnu.org Cc: Jelle Licht <jlicht@fsfe.org>, Andrew Tropin <andrew@trop.in>, Liliana Marie Prikler <liliana.prikler@gmail.com> X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Andrew Tropin <andrew@trop.in>, Liliana Marie Prikler <liliana.prikler@gmail.com> Received: via spool by submit@debbugs.gnu.org id=B.168711709920696 (code B ref -1); Sun, 18 Jun 2023 19:39:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Jun 2023 19:38:19 +0000 Received: from localhost ([127.0.0.1]:54983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1qAyE7-0005Nk-AG for submit@debbugs.gnu.org; Sun, 18 Jun 2023 15:38:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:48356) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jlicht@fsfe.org>) id 1qAyE4-0005Nc-SD for submit@debbugs.gnu.org; Sun, 18 Jun 2023 15:38:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <jlicht@fsfe.org>) id 1qAyE4-00027H-J4 for guix-patches@gnu.org; Sun, 18 Jun 2023 15:38:16 -0400 Received: from mail1.fsfe.org ([2001:aa8:ffed:f5f3::151]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <jlicht@fsfe.org>) id 1qAyE2-0001Wn-DU for guix-patches@gnu.org; Sun, 18 Jun 2023 15:38:16 -0400 From: jlicht@fsfe.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fsfe.org; s=2021100501; t=1687117087; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=OOn+2M3LwkYUSiQtkqIlraVCjmxzjdsHVVnoMR6TWfA=; b=qGNvaxMqDEYdd3pRlFLuKmPyKSaJfpTShARgARrHk9MAw1iM/uhAxqZPPs+wXrPng2X+zs 7NW9+k5XGGSmw3Rtxq9+l7fwu0eKsQc8Xu2AIWrDp4n9Bf/EFNPR0wVYGyww1CdaBFlpNs PWH3Ed45v5IbM27nRwvO5NxBKoniB8A= Date: Sun, 18 Jun 2023 21:38:06 +0200 Message-Id: <97c1eb6e58e07feaef29a1b10eeabb09f870bee1.1687117071.git.jlicht@fsfe.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2001:aa8:ffed:f5f3::151; envelope-from=jlicht@fsfe.org; helo=mail1.fsfe.org X-Spam_score_int: -70 X-Spam_score: -7.1 X-Spam_bar: ------- X-Spam_report: (-7.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
[bug#64155] gnu: emacs-piem: Update to 0.5.0.
|
|
Commit Message
Jelle Licht
June 18, 2023, 7:38 p.m. UTC
From: Jelle Licht <jlicht@fsfe.org>
* gnu/packages/emacs-xyz.scm (emacs-piem): Update to 0.5.0.
[propagated-inputs]: Add emacs-debbugs.
---
gnu/packages/emacs-xyz.scm | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
base-commit: 726f2a944730a1edbdbebfe57fb9e7e0ba47d83e
Comments
On 2023-06-18 21:38, jlicht@fsfe.org wrote: > From: Jelle Licht <jlicht@fsfe.org> > > * gnu/packages/emacs-xyz.scm (emacs-piem): Update to 0.5.0. > [propagated-inputs]: Add emacs-debbugs. > --- > > gnu/packages/emacs-xyz.scm | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm > index f46af73aec..08ec87b94c 100644 > --- a/gnu/packages/emacs-xyz.scm > +++ b/gnu/packages/emacs-xyz.scm > @@ -8337,7 +8337,7 @@ (define-public emacs-debbugs > (define-public emacs-piem > (package > (name "emacs-piem") > - (version "0.4.0") > + (version "0.5.0") > (source > (origin > (method git-fetch) > @@ -8346,7 +8346,7 @@ (define-public emacs-piem > (commit (string-append "v" version)))) > (file-name (string-append name "-" version "-checkout")) > (sha256 > - (base32 "0wr6n6wvznngjdp4c0pmdr4xz05dark0kxi5svzhzxsg3rdaql3z")))) > + (base32 "0smdb1iph2q1xvxix5c93llckcxh7kmhg6pxgyrm88j736m4l16q")))) > (build-system emacs-build-system) > (arguments > (list #:phases > @@ -8359,7 +8359,8 @@ (define-public emacs-piem > (inputs > (list b4)) > (propagated-inputs > - (list emacs-elfeed > + (list emacs-debbugs > + emacs-elfeed > emacs-notmuch)) > (home-page "https://docs.kyleam.com/piem") > (synopsis "Glue for working with public-inbox archives") > > base-commit: 726f2a944730a1edbdbebfe57fb9e7e0ba47d83e Hi Jelle! Thank you very much for the patch. IMHO, optional dependencies should not be propagated. On user side installing additional packages is easier than transforming existing package and removing unneeded propagated deps. Personally, I would remove all the propagated inputs from piem and let the user install what he needs for his particular use case. Liliana, Jelle WDYT?
Hi Andrew + peanut gallery, Andrew Tropin <andrew@trop.in> writes: > On 2023-06-18 21:38, jlicht@fsfe.org wrote: > >> From: Jelle Licht <jlicht@fsfe.org> >> >> * gnu/packages/emacs-xyz.scm (emacs-piem): Update to 0.5.0. >> [propagated-inputs]: Add emacs-debbugs. >> --- >> >> gnu/packages/emacs-xyz.scm | 7 ++++--- >> 1 file changed, 4 insertions(+), 3 deletions(-) >> >> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm >> index f46af73aec..08ec87b94c 100644 >> --- a/gnu/packages/emacs-xyz.scm >> +++ b/gnu/packages/emacs-xyz.scm >> @@ -8337,7 +8337,7 @@ (define-public emacs-debbugs >> (define-public emacs-piem >> (package >> (name "emacs-piem") >> - (version "0.4.0") >> + (version "0.5.0") >> (source >> (origin >> (method git-fetch) >> @@ -8346,7 +8346,7 @@ (define-public emacs-piem >> (commit (string-append "v" version)))) >> (file-name (string-append name "-" version "-checkout")) >> (sha256 >> - (base32 "0wr6n6wvznngjdp4c0pmdr4xz05dark0kxi5svzhzxsg3rdaql3z")))) >> + (base32 "0smdb1iph2q1xvxix5c93llckcxh7kmhg6pxgyrm88j736m4l16q")))) >> (build-system emacs-build-system) >> (arguments >> (list #:phases >> @@ -8359,7 +8359,8 @@ (define-public emacs-piem >> (inputs >> (list b4)) >> (propagated-inputs >> - (list emacs-elfeed >> + (list emacs-debbugs >> + emacs-elfeed >> emacs-notmuch)) >> (home-page "https://docs.kyleam.com/piem") >> (synopsis "Glue for working with public-inbox archives") >> >> base-commit: 726f2a944730a1edbdbebfe57fb9e7e0ba47d83e > > Hi Jelle! > > Thank you very much for the patch. > > IMHO, optional dependencies should not be propagated. On user side > installing additional packages is easier than transforming existing > package and removing unneeded propagated deps. Personally, I would > remove all the propagated inputs from piem and let the user install what > he needs for his particular use case. I'm of two minds, both for this particular patch, and the policy in general. I understand the point you are making, and see the elegance of offering a clean set of composable parts for users (and downstream) to compose. OTOH, it makes getting full-featured (and compiled) packages a chore, where users or downstream has to pick up the slack. Put another way; someone somewhere has to make a package variant if you want to cover all use cases. It is my understanding the guideline is (/was?) to have packages be full-featured, and offer a '-minimal' version in cases where it makes sense (e.g. bootstrapping, less-than-sane dependency graphs). If this guideline has since changed, or (in this case) the Emacs teams decides otherwise, that is something I'm obviously fine with. Some practical tips on how to make byte compilation happen would still be appreciated in that case :-). All the best, - Jelle
On 2023-06-19 17:39, Jelle Licht wrote: > Hi Andrew + peanut gallery, > > Andrew Tropin <andrew@trop.in> writes: > >> On 2023-06-18 21:38, jlicht@fsfe.org wrote: >> >>> From: Jelle Licht <jlicht@fsfe.org> >>> >>> * gnu/packages/emacs-xyz.scm (emacs-piem): Update to 0.5.0. >>> [propagated-inputs]: Add emacs-debbugs. >>> --- >>> >>> gnu/packages/emacs-xyz.scm | 7 ++++--- >>> 1 file changed, 4 insertions(+), 3 deletions(-) >>> >>> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm >>> index f46af73aec..08ec87b94c 100644 >>> --- a/gnu/packages/emacs-xyz.scm >>> +++ b/gnu/packages/emacs-xyz.scm >>> @@ -8337,7 +8337,7 @@ (define-public emacs-debbugs >>> (define-public emacs-piem >>> (package >>> (name "emacs-piem") >>> - (version "0.4.0") >>> + (version "0.5.0") >>> (source >>> (origin >>> (method git-fetch) >>> @@ -8346,7 +8346,7 @@ (define-public emacs-piem >>> (commit (string-append "v" version)))) >>> (file-name (string-append name "-" version "-checkout")) >>> (sha256 >>> - (base32 "0wr6n6wvznngjdp4c0pmdr4xz05dark0kxi5svzhzxsg3rdaql3z")))) >>> + (base32 "0smdb1iph2q1xvxix5c93llckcxh7kmhg6pxgyrm88j736m4l16q")))) >>> (build-system emacs-build-system) >>> (arguments >>> (list #:phases >>> @@ -8359,7 +8359,8 @@ (define-public emacs-piem >>> (inputs >>> (list b4)) >>> (propagated-inputs >>> - (list emacs-elfeed >>> + (list emacs-debbugs >>> + emacs-elfeed >>> emacs-notmuch)) >>> (home-page "https://docs.kyleam.com/piem") >>> (synopsis "Glue for working with public-inbox archives") >>> >>> base-commit: 726f2a944730a1edbdbebfe57fb9e7e0ba47d83e >> >> Hi Jelle! >> >> Thank you very much for the patch. >> >> IMHO, optional dependencies should not be propagated. On user side >> installing additional packages is easier than transforming existing >> package and removing unneeded propagated deps. Personally, I would >> remove all the propagated inputs from piem and let the user install what >> he needs for his particular use case. > > I'm of two minds, both for this particular patch, and the policy in > general. I understand the point you are making, and see the elegance of > offering a clean set of composable parts for users (and downstream) to > compose. > > OTOH, it makes getting full-featured (and compiled) packages a chore, > where users or downstream has to pick up the slack. Put another > way; someone somewhere has to make a package variant if you want to > cover all use cases. > > It is my understanding the guideline is (/was?) to have packages be > full-featured, and offer a '-minimal' version in cases where it makes > sense (e.g. bootstrapping, less-than-sane dependency graphs). If this > guideline has since changed, or (in this case) the Emacs teams decides > otherwise, that is something I'm obviously fine with. Some practical > tips on how to make byte compilation happen would still be appreciated > in that case :-). I think we can do byte/native compilation without propagating deps, so it's almost ready to consume, but doesn't pollute the profile.
Am Montag, dem 19.06.2023 um 17:44 +0400 schrieb Andrew Tropin: > Hi Jelle! > > Thank you very much for the patch. > > IMHO, optional dependencies should not be propagated. On user side > installing additional packages is easier than transforming existing > package and removing unneeded propagated deps. Personally, I would > remove all the propagated inputs from piem and let the user install > what he needs for his particular use case. > > Liliana, Jelle WDYT? s/he needs/they need/ Other than that, I don't really have an opinion, but at the very least we don't *have* to propagate debbugs, given that users who want to use that probably already have it. As for why I don't really have an opinion: I don't know how central the existing propagations are towards the working of emacs-piem. That being said, we could always make those inputs regular (which might be helpful for byte/native-compilation). Cheers
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index f46af73aec..08ec87b94c 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -8337,7 +8337,7 @@ (define-public emacs-debbugs (define-public emacs-piem (package (name "emacs-piem") - (version "0.4.0") + (version "0.5.0") (source (origin (method git-fetch) @@ -8346,7 +8346,7 @@ (define-public emacs-piem (commit (string-append "v" version)))) (file-name (string-append name "-" version "-checkout")) (sha256 - (base32 "0wr6n6wvznngjdp4c0pmdr4xz05dark0kxi5svzhzxsg3rdaql3z")))) + (base32 "0smdb1iph2q1xvxix5c93llckcxh7kmhg6pxgyrm88j736m4l16q")))) (build-system emacs-build-system) (arguments (list #:phases @@ -8359,7 +8359,8 @@ (define-public emacs-piem (inputs (list b4)) (propagated-inputs - (list emacs-elfeed + (list emacs-debbugs + emacs-elfeed emacs-notmuch)) (home-page "https://docs.kyleam.com/piem") (synopsis "Glue for working with public-inbox archives")