All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bitbake: fetch2/git: Add URL when latest_revision generates an exception.
@ 2015-04-27 16:15 Mariano Lopez
  2015-04-28 16:46 ` Richard Purdie
  0 siblings, 1 reply; 4+ messages in thread
From: Mariano Lopez @ 2015-04-27 16:15 UTC (permalink / raw)
  To: bitbake-devel

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.

[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):
          """
-- 
1.8.4.5


^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [PATCH] bitbake: fetch2/git: Add URL when latest_revision generates an exception.
@ 2015-05-13 11:24 mariano.lopez
  0 siblings, 0 replies; 4+ messages in thread
From: mariano.lopez @ 2015-05-13 11:24 UTC (permalink / raw)
  To: bitbake-devel

From: Mariano Lopez <mariano.lopez@linux.intel.com>

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.

[YOCTO: #7592]

Signed-off-by: Mariano Lopez <mariano.lopez@linux.intel.com>
---
 bitbake/lib/bb/fetch2/git.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index 0fd9bee..a67033f 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -352,7 +352,8 @@ 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):
         """
-- 
1.8.4.5



^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [PATCH] bitbake: fetch2/git: Add URL when latest_revision generates an exception.
@ 2015-04-23 18:17 Mariano Lopez
  0 siblings, 0 replies; 4+ messages in thread
From: Mariano Lopez @ 2015-04-23 18:17 UTC (permalink / raw)
  To: bitbake-devel

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.

[YOCTO: #7592]

Signed-off-by: mlopezva <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):
          """
-- 
1.8.4.5



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-05-13 19:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
  -- strict thread matches above, loose matches on Subject: below --
2015-05-13 11:24 mariano.lopez
2015-04-23 18:17 Mariano Lopez

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.