unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Efraim Flashner <efraim@flashner.co.il>
Cc: 27596@debbugs.gnu.org
Subject: [bug#27596] [PATCH] guix: lint: Add checker for new upstream versions.
Date: Thu, 06 Jul 2017 16:35:38 +0200	[thread overview]
Message-ID: <87h8ypocp1.fsf@gnu.org> (raw)
In-Reply-To: <20170706101723.3349-1-efraim@flashner.co.il> (Efraim Flashner's message of "Thu, 6 Jul 2017 13:17:23 +0300")

Efraim Flashner <efraim@flashner.co.il> skribis:

> * guix/scripts/lint.scm (check-for-updates): New procedure.
> (%checkers): Add it.

Good idea.

> +(define (check-for-updates package)
> +  "Check if there is an update available for PACKAGE."
> +  (guix-refresh (package-name package)))

I think we should use the (guix upstream) API directly because
‘guix-refresh’ can call ‘exit’ and it formats messages in a way that is
not consistent with the rest of ‘guix lint’.

To do that I think we’ll first have to move ‘%updaters’ to (guix
upstream), probably turning it into a procedure.

WDYT?

Thanks,
Ludo’.

  reply	other threads:[~2017-07-06 14:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-06 10:17 [bug#27596] [PATCH] guix: lint: Add checker for new upstream versions Efraim Flashner
2017-07-06 14:35 ` Ludovic Courtès [this message]
2017-08-01 11:20   ` Efraim Flashner
2017-08-22 13:17     ` Ludovic Courtès
2017-10-07 20:50       ` Ludovic Courtès
2017-10-08 19:49         ` Efraim Flashner
2017-10-09  7:28           ` Ludovic Courtès
2017-10-09 11:17             ` bug#27596: " Efraim Flashner

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=87h8ypocp1.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=27596@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    /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).