unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Cyril Roelandt <tipecaml@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: bug-guix@gnu.org
Subject: Re: A pleasant low-hanging fruit
Date: Sun, 10 Mar 2013 18:06:33 +0100	[thread overview]
Message-ID: <513CBD99.8010808@gmail.com> (raw)
In-Reply-To: <876215iq7q.fsf@gnu.org>

On 03/05/2013 08:47 PM, Ludovic Courtès wrote:
> Hi!
>
> I just had a brain wave and couldn’t resist: commit ef010c0 changes
> ‘guix package --install’ such that, when installing a GNU package, it
> automatically reports the availability of a new upstream version.
>
> So, for instance, if you run it today:
>
> --8<---------------cut here---------------start------------->8---
> $ ./pre-inst-env guix package -i idutils -n
> [nothing special here]
>
> $ ./pre-inst-env guix package -i gettext -n
> gnu/packages/gettext.scm:27:3: note: using gettext-0.18.1.1 but gettext-0.18.2.1 is available upstream
> --8<---------------cut here---------------end--------------->8---
>

This works well with GNU packages, but breaks other packages:

$ ./pre-inst-env ./scripts/guix package -i w3m
Backtrace:
In ice-9/boot-9.scm:
  149: 13 [catch #t #<catch-closure 98682c0> ...]
  157: 12 [#<procedure 98318c0 ()>]
In unknown file:
    ?: 11 [catch-closure]
In ice-9/boot-9.scm:
   63: 10 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
  407: 9 [eval # #]
In ice-9/boot-9.scm:
2111: 8 [save-module-excursion #<procedure 981e080 at 
ice-9/boot-9.scm:3646:3 ()>]
3653: 7 [#<procedure 981e080 at ice-9/boot-9.scm:3646:3 ()>]
In unknown file:
    ?: 6 [load-compiled/vm 
"/home/cyril/.cache/guile/ccache/2.0-LE-4-2.0/home/cyril/guix/scripts/guix.go"]
In ice-9/boot-9.scm:
  149: 5 [catch srfi-34 #<procedure 9c39f10 at guix/ui.scm:104:2 ()> ...]
  157: 4 [#<procedure 9c101e0 ()>]
In guix/scripts/package.scm:
  722: 3 [#<procedure 9c24660 at guix/scripts/package.scm:715:8 ()>]
  560: 2 [process-actions (# #)]
In srfi/srfi-1.scm:
  664: 1 [filter-map #<procedure 9c34270 at 
guix/scripts/package.scm:588:37 (expr)> ...]
In guix/scripts/package.scm:
  592: 0 [#<procedure 9c34270 at guix/scripts/package.scm:588:37 (expr)> #]

guix/scripts/package.scm:592:39: In procedure #<procedure 9c34270 at 
guix/scripts/package.scm:588:37 (expr)>:
guix/scripts/package.scm:592:39: In procedure string-split: Wrong type 
argument in position 1 (expecting string): #f


Cyril.

  parent reply	other threads:[~2013-03-10 17:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-05 19:47 A pleasant low-hanging fruit Ludovic Courtès
2013-03-07 19:25 ` Alex Sassmannshausen
2013-03-10 17:06 ` Cyril Roelandt [this message]
2013-03-12 20:18   ` Andreas Enge
2013-03-14 13:44   ` Ludovic Courtès
2013-03-15  2:06     ` Cyril Roelandt
2013-03-16  0:01       ` Ludovic Courtès
2013-03-16  0:01   ` Ludovic Courtès
2013-03-19 23:55     ` Cyril Roelandt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=513CBD99.8010808@gmail.com \
    --to=tipecaml@gmail.com \
    --cc=bug-guix@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).