zuul/zuul
James E. Blair 0a6a0c422c Cloner: use cache if dest exists
The logic to decide whether or not to use the cache attempted to
detect whether the repo had previously been cloned.  It only did
that by checking whether the destination directory exists.  However,
it's perfectly valid for the dest dir to exist if it is empty.
Adjust the check to look for a .git dir within the dest dir to decide
if the repo has already been cloned.

Change-Id: I17926efcf0f38d6229f0e666e53e6730f455d8ef
2016-02-20 09:19:19 -08:00
..
cmd Add support for 'connection' concept 2015-12-06 14:48:32 +11:00
connection Fix regression in change tracking 2015-12-21 15:52:48 +11:00
launcher Use default if gearman-plugin None for node_labels 2015-10-20 12:40:03 -05:00
lib Cloner: use cache if dest exists 2016-02-20 09:19:19 -08:00
merger Add support for 'connection' concept 2015-12-06 14:48:32 +11:00
reporter Fix default merge failure reports 2016-02-09 08:44:52 -08:00
source Fix regression in change tracking 2015-12-21 15:52:48 +11:00
trigger Bump APScheduler to >=3.0 2015-12-22 12:23:54 -05:00
__init__.py Initial commit. 2012-05-29 14:49:32 -07:00
change_matcher.py Add support for a skip-if filter on jobs 2015-02-10 00:42:51 +00:00
exceptions.py Add support for 'connection' concept 2015-12-06 14:48:32 +11:00
layoutvalidator.py Add job mutex support 2016-02-04 16:51:58 -08:00
model.py Add job mutex support 2016-02-04 16:51:58 -08:00
rpcclient.py Add enqueue-ref command to client 2015-07-31 17:00:50 -07:00
rpclistener.py Add enqueue-ref command to client 2015-07-31 17:00:50 -07:00
scheduler.py Merge "Don't require 'commit' attribute in merge event" 2016-02-09 09:46:49 +00:00
version.py Migrate to pbr. 2013-06-25 19:04:30 +00:00
webapp.py web: Allow clients (browsers, proxies) to cache status.json 2015-04-04 00:44:34 +01:00