unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: 51888@debbugs.gnu.org
Cc: julien@lepiller.eu, zimoun <zimon.toutoune@gmail.com>
Subject: [bug#51888] [PATCH 1/1] import: opam: Warn instead of leave when fetching fails.
Date: Tue, 16 Nov 2021 11:12:34 +0100	[thread overview]
Message-ID: <20211116101234.58528-1-zimon.toutoune@gmail.com> (raw)
In-Reply-To: <20211116101043.58471-1-zimon.toutoune@gmail.com>

* guix/import/opam.scm (opam-featch): Warn instead of leave when fetching
fails.
---
 guix/import/opam.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/import/opam.scm b/guix/import/opam.scm
index fe13d29f03..0804526e3a 100644
--- a/guix/import/opam.scm
+++ b/guix/import/opam.scm
@@ -318,7 +318,7 @@ (define* (opam-fetch name #:optional (repositories-specs '("opam")))
                 (_ others)))
             #f
             (filter-map get-opam-repository repositories-specs))
-      (leave (G_ "package '~a' not found~%") name)))
+      (warning (G_ "opam: package '~a' not found~%") name)))
 
 (define* (opam->guix-package name #:key (repo '()) version)
   "Import OPAM package NAME from REPOSITORIES (a list of names, URLs or local
-- 
2.32.0





  reply	other threads:[~2021-11-16 10:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-16 10:10 [bug#51888] [PATCH 0/1] import: opam: Warn instead of leave when fetching fails zimoun
2021-11-16 10:12 ` zimoun [this message]
2021-11-16 13:02 ` Julien Lepiller
2021-11-16 15:33   ` zimoun
2021-11-19 11:59 ` Julien Lepiller
2021-11-19 12:00 ` bug#51888: " Julien Lepiller

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=20211116101234.58528-1-zimon.toutoune@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=51888@debbugs.gnu.org \
    --cc=julien@lepiller.eu \
    /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).