From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Bavier Subject: bug#37965: parse-error in latest news entry Date: Mon, 28 Oct 2019 16:59:08 -0400 (EDT) Message-ID: <1792031641.405898.1572296348813.JavaMail.zimbra@centurylink.net> References: <564677810.293420.1572281868245.JavaMail.zimbra@centurylink.net> <1018582292.389516.1572294463512.JavaMail.zimbra@centurylink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:36399) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPC7P-0002Zw-Ur for bug-guix@gnu.org; Mon, 28 Oct 2019 17:00:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPC7O-0007Ei-Je for bug-guix@gnu.org; Mon, 28 Oct 2019 17:00:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37623) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iPC7O-0007Dx-Bo for bug-guix@gnu.org; Mon, 28 Oct 2019 17:00:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iPC7O-00051k-7s for bug-guix@gnu.org; Mon, 28 Oct 2019 17:00:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <1018582292.389516.1572294463512.JavaMail.zimbra@centurylink.net> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 37965 <37965@debbugs.gnu.org> Something like this is probably better: ```scheme (use-modules (guix ui) (srfi srfi-1)) (define (strings lst) (fold (lambda (i result) (cond ((string? i) (cons i result)) ((list? i) (append (strings i) result)) (else result))) (list) lst)) (map texi->plain-text (strings (call-with-input-file "etc/news.scm" read)) ``` ----- On Oct 28, 2019, at 8:27 PM, Eric Bavier ericbavier@centurylink.net wrote: > FWIW, hacky way to check news items in shell: > > ``` > commit=HEAD > previous=$(git rev-parase ${commit}^) > guix pull --url="file://$PWD" --commit="$previous" --profile=$PWD/_pull_check > guix pull --uri="file://$PWD" --commit="$commit" --profile=$PWD/_pull_check > guix pull --profile=$PWD/_pull_check --news > rm -rf $PWD/_pull_check > ``` > > `~Eric > > ----- On Oct 28, 2019, at 4:58 PM, GNU bug Tracking System help-debbugs@gnu.org > wrote: > >> Thank you for filing a new bug report with debbugs.gnu.org. >> >> This is an automatically generated reply to let you know your message >> has been received. >> >> Your message is being forwarded to the package maintainers and other >> interested parties for their attention; they will reply in due course. >> >> Your message has been sent to the package maintainer(s): >> bug-guix@gnu.org >> >> If you wish to submit further information on this problem, please >> send it to 37965@debbugs.gnu.org. >> >> Please do not send mail to help-debbugs@gnu.org unless you wish >> to report a problem with the Bug-tracking system. >> >> -- >> 37965: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37965 >> GNU Bug Tracking System >> Contact help-debbugs@gnu.org with problems > > -- > `~Eric -- `~Eric