Searched refs:meta_root (Results 1 - 24 of 24) sorted by relevance

/pkg/src/tests/api/
H A Dt_catalog.py445 c = catalog.Catalog(meta_root=cpath, log_updates=True)
451 fn = os.path.join(c.meta_root, fname)
456 os.chmod(os.path.join(c.meta_root, fname), bad_mode)
457 c = catalog.Catalog(meta_root=cpath, log_updates=True)
459 fn = os.path.join(c.meta_root, fname)
469 fn = os.path.join(c.meta_root, fname)
474 os.chmod(os.path.join(c.meta_root, fname), bad_mode)
477 catalog.Catalog, meta_root=c.meta_root, read_only=True)
483 c = catalog.Catalog(meta_root
[all...]
H A Dt_api_refresh.py93 statedir = pub.catalog.meta_root
H A Dt_publisher.py380 "meta_root": os.path.join(self.test_root, "bobcat"),
436 self.assertTrue(os.path.exists(pobj.meta_root))
439 self.assertFalse(os.path.exists(pobj.meta_root))
H A Dt_p5p.py713 cat = pkg.catalog.Catalog(meta_root=ext_tmp_dir)
/pkg/src/modules/
H A Dcatalog.py220 def __init__(self, name, meta_root=None, sign=True, file_root=None):
223 self.meta_root = meta_root
226 self.file_root = meta_root
234 if not self.meta_root or not self.exists:
236 # unless meta_root is defined and the data exists.
303 exists at <self.meta_root>/<self.name>."""
313 location = os.path.join(self.meta_root, self.name)
351 this part or None if meta_root or name is not set."""
353 if not self.meta_root o
394 meta_root = property(__get_meta_root, __set_meta_root) variable in class:CatalogPartBase
3860 meta_root = property(__get_meta_root, __set_meta_root) variable in class:Catalog
[all...]
H A Dp5p.py854 cat.meta_root = croot
/pkg/src/modules/client/
H A Dpublisher.py1205 disabled=False, meta_root=None, repository=None,
1211 retrieving one from the publisher's meta_root. This option
1212 may only be used when meta_root is not provided.
1215 assert not (catalog and meta_root)
1232 self.meta_root = meta_root
1305 meta_root=self.meta_root,
1353 if not self.meta_root:
1356 lcfile = os.path.join(self.meta_root, "last_refreshe
2958 meta_root = property(lambda self: self.__meta_root, __set_meta_root, variable
[all...]
H A Dimage.py957 p.meta_root = self._get_publisher_meta_root(p.prefix)
965 p.meta_root = self._get_publisher_meta_root(p.prefix)
1050 p.meta_root = self._get_publisher_meta_root(p.prefix)
1193 froot = os.path.join(pub.meta_root, "file")
1278 pub.meta_root = self._get_publisher_meta_root(
1697 pub.meta_root = self._get_publisher_meta_root(
2219 misc.copytree(cat.meta_root, cpath)
2222 cat.meta_root = cpath
2327 cat = pkg.catalog.Catalog(batch_mode=True, meta_root=croot,
2548 meta_root
[all...]
H A Dapi.py3363 meta_root = os.path.join(tmpdir, str(id(pub)))
3364 misc.makedirs(meta_root)
3365 pub.meta_root = meta_root
5266 pub.meta_root = \
/pkg/src/tests/cli/
H A Dt_pkg_refresh.py571 cat_root = v1_cat.meta_root
572 shutil.copytree(v1_cat.meta_root, old_cat)
574 v1_cat = catalog.Catalog(meta_root=cat_root, read_only=True)
577 part = catalog.CatalogPart(p, meta_root=cat_root)
580 part = catalog.CatalogPart(p, meta_root=cat_root)
629 f = open(os.path.join(v1_cat.meta_root, "catalog.attrs"), "w")
636 shutil.rmtree(v1_cat.meta_root)
637 shutil.copytree(old_cat, v1_cat.meta_root)
H A Dt_pkg_list.py380 os.remove(os.path.join(pub.meta_root, "last_refreshed"))
411 file_path = os.path.join(pub.meta_root, "last_refreshed")
412 tmp_file = os.path.join(pub.meta_root, "test_symlink")
H A Dt_pkg_modified.py190 os.remove(os.path.join(pub.meta_root, "last_refreshed"))
H A Dt_pkgrepo.py1212 ulog = pkg.catalog.CatalogUpdate(uname, meta_root=cat.meta_root)
1230 ulog = pkg.catalog.CatalogUpdate(uname, meta_root=cat.meta_root)
1527 meta_root=c.meta_root, sign=False)
H A Dt_pkgrecv.py884 cat = catalog.Catalog(meta_root=catdir, read_only=True)
913 cat = catalog.Catalog(meta_root=catdir, read_only=True)
981 cat = catalog.Catalog(meta_root=catdir, read_only=True)
H A Dt_pkg_publisher.py131 self.assertTrue(os.path.exists(pub.meta_root))
133 self.assertTrue(not os.path.exists(pub.meta_root))
H A Dt_pkg_search.py695 cat = catalog.Catalog(meta_root=istate_dir)
/pkg/src/modules/server/
H A Dfeed.py294 ulog = catalog.CatalogUpdate(name, meta_root=cat.meta_root)
H A Drepository.py926 meta_root=writ_cat_root, read_only=True)
1041 # its meta_root.
1042 self.catalog.meta_root = root
1267 self.__catalog = catalog.Catalog(meta_root=self.catalog_root,
2350 # meta_root, and build a dictionary of trust-anchors.
2352 pub.meta_root = tmp_metaroot
/pkg/src/
H A Dsign.py105 if not src_pub.meta_root:
108 src_pub.meta_root = cat_dir
H A Dpkgrepo.py1049 meta_root = tempfile.mkdtemp(dir=temp_root)
1050 tmpdirs.append(meta_root)
1051 pub.meta_root = meta_root
1850 if not pub.meta_root:
1853 pub.meta_root = cat_dir
H A Dpull.py374 if not src_pub.meta_root:
379 src_pub.meta_root = cat_dir
1083 src_pub.meta_root = src_basedir
1087 src_cat_root = src_cat.meta_root
/pkg/src/util/publish/
H A Dpkgsurf.py195 if not src_pub.meta_root:
198 src_pub.meta_root = cat_dir
H A Dpkgmerge.py337 pub.meta_root = cat_dir
/pkg/src/modules/client/transport/
H A Drepo.py2045 cat = pkg.catalog.Catalog(meta_root=tmpdir)

Completed in 129 milliseconds