generic-poky/bitbake/lib/bb
Scott Garman 48cd942be1 fetch2/git.py: improve error reporting when an invalid protocol is used
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]

(Bitbake rev: a2a29b72275ab03a263f4479a590b92111a0d6a8)

Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-22 16:27:30 +01:00
..
fetch bitbake: Sync fetch back with upstream 2011-05-06 18:18:59 +01:00
fetch2 fetch2/git.py: improve error reporting when an invalid protocol is used 2011-06-22 16:27:30 +01:00
parse bitbake/event/ast: Add RecipePreFinalise event 2011-06-09 22:43:46 +01:00
pysh make exception handling syntax consistent 2011-06-15 11:13:13 +01:00
server process.py: Fix issue where early errors weren't making it to the console 2011-06-16 22:14:01 +01:00
ui bitbake/event/ast: Add RecipePreFinalise event 2011-06-09 22:43:46 +01:00
COW.py Apply some 2to3 refactorings 2010-07-02 15:41:37 +01:00
__init__.py Update version to 1.13.1 2011-06-09 22:44:55 +01:00
build.py bitbake/build.py: Drop exec_shell environment as its now unneeded 2011-06-08 20:38:28 +01:00
cache.py bitbake/cooker: Fix -b option by ensuring the empty cache structure is present 2011-06-13 15:10:07 +01:00
cache_extra.py Introduce extra cache class for image creator 2011-06-07 22:39:12 +01:00
codeparser.py codeparser: When loading the cache, ignore ValueError 2011-06-15 11:13:13 +01:00
command.py bitbake: Cleanup bitbake server init process to be clearer to follow 2011-06-08 11:37:26 +01:00
compat.py bitbake: Add missing file 2011-05-07 08:49:28 +01:00
cooker.py make exception handling syntax consistent 2011-06-15 11:13:13 +01:00
daemonize.py Apply some 2to3 transforms that don't cause issues in 2.6 2010-07-02 15:41:33 +01:00
data.py make exception handling syntax consistent 2011-06-15 11:13:13 +01:00
data_smart.py bitbake/data_smart: Change overrides behaviour to remove expanded variables from the datastore 2011-06-09 22:43:44 +01:00
event.py bitbake/event/ast: Add RecipePreFinalise event 2011-06-09 22:43:46 +01:00
exceptions.py bb.exceptions: don't choke on frames without arguments 2011-06-08 20:38:25 +01:00
methodpool.py Consolidate the exec/eval bits, switch anonfunc to better_exec, etc 2010-07-02 15:41:31 +01:00
msg.py Shift exception formatting into the UI 2011-06-08 20:38:25 +01:00
namedtuple_with_abc.py bb.namedtuple_with_abc: add useful util from activestate 2011-06-08 20:38:23 +01:00
persist_data.py bitbake/persist_data: Sync file with upstream bitbake 2011-05-06 18:07:23 +01:00
process.py make exception handling syntax consistent 2011-06-15 11:13:13 +01:00
providers.py providers.py: Correct PREFERRED_VERSION handling 2011-06-01 14:08:25 +01:00
runqueue.py make exception handling syntax consistent 2011-06-15 11:13:13 +01:00
shell.py Introduce new param caches_array into Cache impl. 2011-06-07 22:39:52 +01:00
siggen.py siggen: don't choke with traceback when data is None 2011-06-07 22:29:25 +01:00
taskdata.py cooker: use re match, not search in re_match_strings 2011-01-04 14:46:47 +00:00
utils.py bitbake/utils.py: Add option to lockfiles to return immediately rather than wait 2011-05-27 17:55:51 +01:00