Lines Matching refs:pub
210 def get_updates_needed(repo, ts, pub):
215 c = repo.get_catalog(pub)
245 def update(request, depot, last, cf, pub):
261 cat = depot.repo.get_catalog(pub)
293 for name in reversed(get_updates_needed(depot.repo, feed_ts, pub)):
306 def __get_cache_pathname(depot, pub):
307 if not pub:
309 return os.path.join(depot.tmp_root, "publisher", pub, CACHE_FILENAME)
311 def __clear_cache(depot, pub):
312 if not pub:
315 pathname = __get_cache_pathname(depot, pub)
324 def __cache_needs_update(depot, pub):
330 cfpath = __get_cache_pathname(depot, pub)
340 __clear_cache(depot, pub)
364 cat = depot.repo.get_catalog(pub)
370 __clear_cache(depot, pub)
372 __clear_cache(depot, pub)
375 def handle(depot, request, response, pub):
381 cfpath = __get_cache_pathname(depot, pub)
384 need_update, last = __cache_needs_update(depot, pub)
396 update(request, depot, last, cf, pub)