All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Mariano Lopez <mariano.lopez@linux.intel.com>
Cc: bitbake-devel@lists.openembedded.org
Subject: Re: [PATCH] bitbake: fetch2/git: Add URL when latest_revision generates an exception.
Date: Tue, 28 Apr 2015 17:46:01 +0100	[thread overview]
Message-ID: <1430239561.13022.239.camel@linuxfoundation.org> (raw)
In-Reply-To: <553E609E.2090608@linux.intel.com>

On Mon, 2015-04-27 at 11:15 -0500, Mariano Lopez wrote:
> The URL is not sent when _latest_revision generates and exception.
> When performing the sanity checks it is not possible to know the URI 
> that failed.
> 
> This add the URL when latest_revision generates an exception.
> 
> Please disregard previous patch with the same topic.

Please put a message like the above which need not be part of the final
commit below the --- separator below.

> [YOCTO: #7592]
> 
> Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
> ---
>   bitbake/lib/bb/fetch2/git.py | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
> index 0fd9bee..0d91431 100644
> --- a/bitbake/lib/bb/fetch2/git.py
> +++ b/bitbake/lib/bb/fetch2/git.py
> @@ -352,7 +352,7 @@ class Git(FetchMethod):
>               for l in output.split('\n'):
>                   if s in l:
>                       return l.split()[0]
> -        raise bb.fetch2.FetchError("Unable to resolve '%s' in upstream 
> git repository in git ls-remote output" % ud.unresolvedrev[name])
> +        raise bb.fetch2.FetchError("Unable to resolve '%s' in upstream 
> git repository in git ls-remote output for %s" % 
> (ud.unresolvedrev[name], ud.host+ud.path))
> 
>       def latest_versionstring(self, ud, d):
>           """

Sadly I can't get this patch to apply since the mail client you've sent
this with has mangled the patch with linewrap and done something ugly to
the whitespace.

Cheers,

Richard



  reply	other threads:[~2015-04-28 16:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-27 16:15 [PATCH] bitbake: fetch2/git: Add URL when latest_revision generates an exception Mariano Lopez
2015-04-28 16:46 ` Richard Purdie [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-05-13 11:24 mariano.lopez
2015-04-23 18:17 Mariano Lopez

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

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

  git send-email \
    --in-reply-to=1430239561.13022.239.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=bitbake-devel@lists.openembedded.org \
    --cc=mariano.lopez@linux.intel.com \
    /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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.