From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kAMDHu9hgmHLggEAgWs5BA (envelope-from ) for ; Wed, 03 Nov 2021 11:18:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 0CDIGe9hgmGPFAAAB5/wlQ (envelope-from ) for ; Wed, 03 Nov 2021 10:18:23 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2497B34A0F for ; Wed, 3 Nov 2021 11:18:23 +0100 (CET) Received: from localhost ([::1]:48902 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1miDLZ-0001Eq-Vb for larch@yhetil.org; Wed, 03 Nov 2021 06:18:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39222) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miDLG-0001Eh-Q7 for guix-patches@gnu.org; Wed, 03 Nov 2021 06:18:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55781) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1miDLG-0005Sg-Cd for guix-patches@gnu.org; Wed, 03 Nov 2021 06:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1miDLG-0000zR-8J for guix-patches@gnu.org; Wed, 03 Nov 2021 06:18:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51581] [PATCH 0/2] Wrap lines in the description of generated packages Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 03 Nov 2021 10:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51581 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51581@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16359346603767 (code B ref -1); Wed, 03 Nov 2021 10:18:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Nov 2021 10:17:40 +0000 Received: from localhost ([127.0.0.1]:39094 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1miDKu-0000yg-Iu for submit@debbugs.gnu.org; Wed, 03 Nov 2021 06:17:40 -0400 Received: from lists.gnu.org ([209.51.188.17]:50560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1miDKt-0000ya-M6 for submit@debbugs.gnu.org; Wed, 03 Nov 2021 06:17:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39156) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miDKt-0001EB-HX for guix-patches@gnu.org; Wed, 03 Nov 2021 06:17:39 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:36950 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 1miDKq-0005Pq-LH for guix-patches@gnu.org; Wed, 03 Nov 2021 06:17:39 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1635934651; bh=nLoMpx25CgG9FYSWLbwcHFlBuo05o0iLXI6r7G3hrgY=; h=From:To:subject:Date; b=dNundwaN4uU+DywM3tO1Q8searVjuhUNy5HyMAd8g7+na6iR37khYRq2ZqaZ0aN24 4SN8ojaNPLpgc8tXhkTQPL25h59IgWS2PSad0IH/0Vc/Mtg1GNlYoLFUDyAQWvQqdO LJAQTanmFdqmzTyInat6t0UiyXuqirfLlToMtYYg= Message-Id: Date: Wed, 03 Nov 2021 11:17:30 +0100 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 8 X-Spam_score: 0.8 X-Spam_bar: / X-Spam_report: (0.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.001, FROM_SUSPICIOUS_NTLD_FP=1.688, PDS_OTHER_BAD_TLD=0.001, PDS_RDNS_DYNAMIC_FP=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TO_NO_BRKTS_DYNIP=0.25 autolearn=no 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635934703; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=rR6+P+DCW59IAfN/fl2UoxPS6EvcsDsDi2vjsSvL4XY=; b=IYBc1Qp11sXffXuQYO+IKZRppFHIuaIF0tn1/h1FaAV5RyuVh94I84vpQvP/MYSBdpXJsW nMg1ILG8kzq0OSdQbr6y33DV5WqlLPMd653K8kDOXQFIPQna2nZA4byvnYddW3u17LOAJR fGBPdDiwumA6OXQt3TNWc5a+LWk7WLdmmD9y12Imnpig3hwGkPBIaunBLf4DLJylzhv6ft hOkWCuhQiL2mbYMBqp0S+WxmtPWlPNoTiJka086NjrjdV4wfpKYDEe3MHpIUmxz08bsiLQ t+U5RV8DkY0XxScFp2f7Dg2M2RC9686Sa85+RaDYNSVILZ5ZyLrMHwMBWAhjeQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635934703; a=rsa-sha256; cv=none; b=Wz3tzILUP7SZhQCX2fQgHzkpFbZcbMB626DNrIaGJHZm1NJJvnxtq1j3LzoGKoqXC/FxKt MrzvxbtlrQ4mMXlCLumOsuC010LpT2io5f1ERlLVD54WBxl576JgMXlG5SM3YhCVmayFaN h6H1uU4b+WXbdNUJc/e4TDhUs+zyvUWf6/89XPzm0qnFzzniEEcNOfKeSe2/+IZHcmDziZ BGCqk2WHB9M1qT6SfQTJHGEgqScM1YnBkhQib8SbO4QLn6vI/7UMyjTOZ4muwrsFvX4ALX vpqE3pbEr7iVrbPfCkEFPcC3BVHK+uBZZcH/IxZ21NUKwNvr+MzEcjloUkSrvQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=dNundwaN; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=dNundwaN; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 2497B34A0F X-Spam-Score: -2.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: y/OAfWdImzlS --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable This series adds a =E2=80=98wrap-lines=E2=80=99 procedure which wraps the l= ine in a string, similar to =E2=80=98fill-paragraph=E2=80=99 in Emacs. This is used= to chop the description of imported packages into multiple lines, instead of just having one really long line. Before: =2D-8<---------------cut here---------------start------------->8--- (description "Hakyll is a static website compiler library. It provides you with the = tools to create a simple or advanced static website using a Haskell DSL and= formats such as markdown or RST. You can find more information, including = a tutorial, on the website: . * . If you seek = assistance, there's: . * A google group: . * An IRC channel, @#hakyll@ on irc.libera.chat (we *do not* have a = channel on Freenode anymore) . Additionally, there's the Haddock documentat= ion in the different modules, meant as a reference.") =2D-8<---------------cut here---------------end--------------->8--- After: =2D-8<---------------cut here---------------start------------->8--- (description "Hakyll is a static website compiler library. It provides you with the = tools to create a simple or advanced static website using a Haskell DSL and formats = such as markdown or RST. You can find more information, including a tutorial, on= the website: . * . If you seek assistance, there's= : . * A google group: . * An IRC channel, @#hakyll@ on irc.libera.chat (we *do not* have a channel on Freenode anymor= e) . Additionally, there's the Haddock documentation in the different modules, m= eant as a reference.") =2D-8<---------------cut here---------------end--------------->8--- Xinglu Chen (2): import: utils: Add =E2=80=98wrap-lines=E2=80=99 procedure. import: Beautify descriptions when appropriate. guix/import/elpa.scm | 2 +- guix/import/gnu.scm | 3 ++- guix/import/hackage.scm | 4 ++-- guix/import/minetest.scm | 2 +- guix/import/opam.scm | 3 ++- guix/import/pypi.scm | 2 +- guix/import/utils.scm | 36 +++++++++++++++++++++++++++++++----- tests/import-utils.scm | 5 +++++ 8 files changed, 45 insertions(+), 12 deletions(-) base-commit: 0e19713c1fbfd3a01347e0d490434a53a596ed3c =2D-=20 2.33.0 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmGCYboVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x58+sQAKMRwBdrlI0zKVo4d85a5r7xpHai jnYgh1Hc1A0jrB+pHFK+boNrsKJHd/jYmFAVCqFrDunUlysu8+mlyM9gzIp6Si6G cqIVxyKJI1QDtzojPDii0fLiIBwnYp7Io6JjRydraZVXJGoX2YDKAmef7NXRGFcD 2CK8w8giI5LQLmlkoOKEGfWOafddTke7ijG8s/27//zUjQu3c7+Cw9c/7p5V8FMr GqNU2HXTJCe+fsye/xSlbuxEQOZOhpCxN8ZGYq2pD+XhFqRZSaJAlSDkIjzTxgL7 QBg2NnNbP19Yvp7jFFOqho0PUlqEmmRwM92e4RVo4PD4dZb3adorubx15oBw3uaR sVt1nM0bHdnDKma/MsTtDmEUXwsYvz8yi2Bn4KND5rL9PAvhZ45zFK2vSFiZhjqz I2BuqOFXbkKO5FhOxEgQRlNyKGJyreCxm4+X1b8bQgrgNVbcrE5aVNmumiWI8e4f SnRagU5bU6m3IB9ElU/Ob2+RPtjDoeeeR9ejTaRCHZVploCZan1neX0aJL1zO8/R HcNgXAZgVVlrHxFgqsl5sHjTX9iWF2bmTNATZwppg7b0oedMld8XNVViPepEucOe lUecg95qRz9QnAtHdWVQaAE30sTs0QV/c79dhy3PgZUempcUvcU95GBsVHlgnM1q p2KjYVYgpbwaf0jn =vDpv -----END PGP SIGNATURE----- --=-=-=--