Lines Matching defs:catalog
41 import pkg.catalog as catalog
364 """Fetch the catalog from src_uri.
366 target_catalog is a hint about whether this is a destination catalog,
375 # Create a temporary directory for catalog.
386 # Assume that a catalog doesn't exist for the target publisher,
390 return catalog.Catalog(read_only=True)
395 return src_pub.catalog
994 # Copy catalog files.
1002 prefix='catalog-')
1007 abort(err=_("Unable to copy catalog files: {0}").format(
1082 # Retrieve src and dest catalog for comparison.
1092 targ_cat = catalog.Catalog(read_only=True)
1120 # don't have the old catalog anymore and if we delete packages
1121 # after the sync based on the current catalog we might delete
1270 # Cleanup. If verification was ok, remove backup copy of old catalog.
1271 # If not, move old catalog back into place and remove messed up catalog.
1281 error(_("Unable to remove catalog files: {0}").format(e))
1288 "\nThe original package catalog has been restored.\n")
1302 "\n'pkgrepo refresh --no-catalog -s {0}'.\n").format(
1484 # If we already have a catalog in the
1672 # Always defer catalog update.
1701 # the catalog.