GNU bug report logs - #37965
parse-error in latest news entry

Previous Next

Package: guix;

Reported by: Eric Bavier <ericbavier <at> centurylink.net>

Date: Mon, 28 Oct 2019 16:58:02 UTC

Severity: normal

Fixed in version 6b00a5f4a79819db08cb4d8e9f24a01445b7962b

Done: Eric Bavier <ericbavier <at> centurylink.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eric Bavier <ericbavier <at> centurylink.net>
To: 37965 <37965 <at> debbugs.gnu.org>
Subject: bug#37965: parse-error in latest news entry
Date: Mon, 28 Oct 2019 16:59:08 -0400 (EDT)
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 <at> 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 <at> 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 <at> gnu.org
>> 
>> If you wish to submit further information on this problem, please
>> send it to 37965 <at> debbugs.gnu.org.
>> 
>> Please do not send mail to help-debbugs <at> 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 <at> gnu.org with problems
> 
> --
> `~Eric

-- 
`~Eric




This bug report was last modified 5 years and 293 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.