[bitbake-devel] [PATCH] fetch2/git.py: improve error reporting when an invalid protocol is used

Richard Purdie richard.purdie at linuxfoundation.org
Wed Jun 22 15:25:04 UTC 2011


On Sun, 2011-06-19 at 16:15 -0700, Scott Garman wrote:
> When an invalid 'protocol' parameter is used in a git SRC_URI,
> the error reported was not helpful:
> 
> ERROR: Function 'Fetcher failure for URL: 'None'.
> <environment dump>
> fatal: Could not make temporary directory: No such file or directory
> 
> So instead check that ud.proto is set to something valid, and if not
> raise a meaningful ParameterError which explains that the protocol
> type is the source of the problem.
> 
> This fixes bug [YOCTO #1142]
> 
> Signed-off-by: Scott Garman <scott.a.garman at intel.com>

Merged to master, thanks.

Richard





More information about the bitbake-devel mailing list