Lines Matching refs:xport
317 xport, xport_cfg = transport.setup_transport()
328 src_pub = transport.setup_publisher(str(repo_uri), pub, xport,
332 return xport, src_pub, tmp_dir
547 xport, xpub, tmp_dir = setup_transport(conf.get("repo_uri"),
552 return _get_pub(conf, subcommand, xport, xpub, omit_headers,
554 return _get_repo(conf, subcommand, xport, xpub, omit_headers,
558 def _get_repo(conf, subcommand, xport, xpub, omit_headers, out_format, pargs):
563 stat_idx = xport.get_status(xpub)
629 def _get_matching_pubs(subcommand, pubs, xport, xpub, out_format="default",
633 pub_data = xport.get_publisherdata(xpub)
664 def _get_pub(conf, subcommand, xport, xpub, omit_headers, out_format, pubs,
668 rval, found, pub_data = _get_matching_pubs(subcommand, pubs, xport,
820 xport, xpub, tmp_dir = setup_transport(conf.get("repo_uri"),
824 stat_idx = xport.get_status(xpub)
923 xport, xpub, tmp_dir = setup_transport(conf.get("repo_uri"),
926 rval, found, pub_data = _get_matching_pubs(subcommand, pubs, xport,
931 refresh_pub(pub_data, xport)
1036 def refresh_pub(pub_data, xport):
1052 pub.transport = xport
1094 xport, xpub, tmp_dir = setup_transport(conf.get("repo_uri"),
1097 rval, found, pub_data = _get_matching_pubs(subcommand, pubs, xport,
1108 refresh_pub(pub_data, xport)
1121 manifests.append(xport.get_manifest(f))
1215 def do_rebuild(xport, xpub):
1217 xport.publish_rebuild(xpub)
1219 xport.publish_rebuild_packages(xpub)
1221 xport.publish_rebuild_indexes(xpub)
1223 xport, xpub, tmp_dir = setup_transport(conf.get("repo_uri"),
1225 rval, found, pub_data = _get_matching_pubs(subcommand, pubs, xport,
1233 do_rebuild(xport, xpub)
1328 def do_refresh(xport, xpub):
1330 xport.publish_refresh(xpub)
1332 xport.publish_refresh_packages(xpub)
1334 xport.publish_refresh_indexes(xpub)
1336 xport, xpub, tmp_dir = setup_transport(conf.get("repo_uri"),
1338 rval, found, pub_data = _get_matching_pubs(subcommand, pubs, xport,
1346 do_refresh(xport, xpub)
1695 xport, xpub, tmp_dir = setup_transport(repo_uri, subcommand=subcommand)
1696 rval, found, pub_data = _get_matching_pubs(subcommand, pubs, xport,
1719 xport, xpub, tmp_dir = setup_transport(repo_uri, prefix=pfx,
1722 xpub.transport = xport
1773 xport, xpub, tmp_dir = setup_transport(repo_uri, subcommand=subcommand)
1774 rval, found, pub_data = _get_matching_pubs(subcommand, pubs, xport,
1798 xport, xpub, tmp_dir = setup_transport(repo_uri, prefix=pfx,
1801 xpub.transport = xport
1849 def __get_pub_fmris(pub, xport, tmp_dir):
1854 pub.transport = xport
1893 def __repo_diff(conf, pubs, xport, rpubs, rxport, tmp_dir, verbose, quiet,
1946 fmris, pkgs = __get_pub_fmris(pub, xport, tmp_dir)
1982 fmris, pkgs = __get_pub_fmris(pub, xport, tmp_dir)
2234 xport, xpub, tmp_dir = setup_transport(repo_uri, subcommand=subcommand,
2240 rval, found, pub_data = _get_matching_pubs(subcommand, pubs, xport,
2250 return __repo_diff(conf, pub_data, xport, cpub_data, cxport, tmp_dir,