Lines Matching refs:url
66 def __init__(self, url, checksum, baseDir, extractDir = "src", postExtract=None):
68 self.url = url
69 self.filename = os.path.basename(self.url)
114 def connectToUrl (self, url):
125 result = urlopen(url, context=ssl_context)
127 result = urlopen(url)
132 print("Fetching %s" % self.url)
134 req = self.connectToUrl(self.url)
188 def __init__(self, url, filename, checksum, baseDir, extractDir = "src"):
190 self.url = url
207 def connectToUrl (self, url):
218 result = urlopen(url, context=ssl_context)
220 result = urlopen(url)
225 print("Fetching %s" % self.url)
227 req = self.connectToUrl(self.url)
249 def checkout(self, url, fullDstPath, force):
251 execute(["git", "clone", "--no-checkout", url, fullDstPath])
261 execute(["git", "fetch"] + force_arg + ["--tags", url, "+refs/heads/*:refs/remotes/origin/*"])
273 url = self.httpsUrl
276 # If url is none then start with ssh
277 if cmdProtocol == 'ssh' or url == None:
278 url = self.sshUrl
282 self.checkout(url, fullDstPath, force)