# now, do a clone, from either the parent OR the local cache<br> location = self.repository<br> if os.path.isdir(cache_dir):<br> location = cache_dir<br><br> cmdlist = ['git', 'clone', self.repository]<br>
(ret, out, err) = _run_command(cmdlist)<br><br> self.results_dict['clone'] = \<br> dict(status=ret, output=out, errout=err,<br> command=str(cmdlist))<br> if ret != 0:<br>
return<br><br> print cmdlist, out<br><br><br>My assumption for this was that it does a clone to the temp directory or wherever it was doing the install from locally. It checks to see if the cache_dir exists and if it does, it does the clone from there so that you don't use up the repo's bandwidth. 'location' is never used though, so it just pulls from the online repo anyways.....Just looking for some clarification....<br>
<br>As a note i have two variables for cache_dir now, for use in creation if it doesn't exist....One that holds the info for if ~/.pony-build exists and one to store path to the individual repo eg. ~/.pony-build/figleaf ........<br>
<br>The code above is unedited......<br><br>Don't forget to CC list, whoever responds.<br><br>Max<br>