Lines Matching refs:repo
228 def __init__(self, repo, dconf, writable_root, pkg5_test_proto=""):
229 self.repo = repo
246 self.cfg.set_property("pkg", "pkg_root", self.repo.root)
342 repo = sr.Repository(root=path, read_only=True,
348 repositories[prefix] = repo
351 self.bgtask.put(repo.refresh_index)
353 depot = DepotBUI(repo, dconf, writable_root,
395 repo = repositories[repo_prefix]
405 pub)) for pub in repo.publishers]
438 repo = repositories[repo_prefix]
442 dh = sd.DepotHTTP(repo, depot_bui.cfg,
453 repo = repositories[repo_prefix]
457 dh = sd.DepotHTTP(repo, depot_bui.cfg,
471 if toks[0] in repo.publishers:
474 toks = self.__strip_pub(toks, repo)
529 repo = repositories[repo_prefix]
543 depot_https[repo_prefix] = sd.DepotHTTP(repo, depot_bui.cfg,
547 def __strip_pub(self, tokens, repo):
550 in 'repo', returning new tokens."""
559 if t in repo.publishers and not stripped:
570 tokens = self.__strip_pub(tokens, dh.repo)
578 tokens = self.__strip_pub(tokens, dh.repo)
588 toks = self.__strip_pub(tokens, dh.repo)
628 repo = repositories[repo_prefix]
629 if pub_prefix not in repo.publishers:
634 if not repo.writable_root:
641 repo.reload()
643 self.bgtask.put(repo.refresh_index,
652 repo.refresh_index,