Lines Matching full:repository
37 def __init__(self, repository, filename, revision, checksum): argument
38 self.repository = repository
44 return hash((self.repository, self.filename, self.revision, self.checksum))
47 …return (self.repository, self.filename, self.revision, self.checksum) == (other.repository, other.…
62 return self.repository
73 def makeSourceUrl (repository, revision, filename): argument
74 return "%s/%s/%s" % (repository, revision, filename)
76 def checkoutGit (repository, revision, fullDstPath): argument
78 execute(["git", "clone", "--no-checkout", repository, fullDstPath])
82 execute(["git", "fetch", repository, "+refs/heads/*:refs/remotes/origin/*"])
87 def checkoutFile (repository, revision, filename, cacheDir): argument
89 req = urllib2.urlopen(makeSourceUrl(repository, revision, filename))
94 checkoutGit(repository, revision, fullDstPath)
103 def fetchFile (dstPath, repository, revision, filename, checksum, cacheDir): argument
112 print "Fetching %s/%s@%s" % (repository, filename, revision)
113 data = checkoutFile(repository, revision, filename, cacheDir)