/pkg/src/tests/api/ |
H A D | t_catalog.py | 445 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 D | t_api_refresh.py | 93 statedir = pub.catalog.meta_root
|
H A D | t_publisher.py | 380 "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 D | t_p5p.py | 713 cat = pkg.catalog.Catalog(meta_root=ext_tmp_dir)
|
/pkg/src/modules/ |
H A D | catalog.py | 220 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 D | p5p.py | 854 cat.meta_root = croot
|
/pkg/src/modules/client/ |
H A D | publisher.py | 1205 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 D | image.py | 957 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 D | api.py | 3363 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 D | t_pkg_refresh.py | 571 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 D | t_pkg_list.py | 380 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 D | t_pkg_modified.py | 190 os.remove(os.path.join(pub.meta_root, "last_refreshed"))
|
H A D | t_pkgrepo.py | 1212 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 D | t_pkgrecv.py | 884 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 D | t_pkg_publisher.py | 131 self.assertTrue(os.path.exists(pub.meta_root)) 133 self.assertTrue(not os.path.exists(pub.meta_root))
|
H A D | t_pkg_search.py | 695 cat = catalog.Catalog(meta_root=istate_dir)
|
/pkg/src/modules/server/ |
H A D | feed.py | 294 ulog = catalog.CatalogUpdate(name, meta_root=cat.meta_root)
|
H A D | repository.py | 926 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 D | sign.py | 105 if not src_pub.meta_root: 108 src_pub.meta_root = cat_dir
|
H A D | pkgrepo.py | 1049 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 D | pull.py | 374 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 D | pkgsurf.py | 195 if not src_pub.meta_root: 198 src_pub.meta_root = cat_dir
|
H A D | pkgmerge.py | 337 pub.meta_root = cat_dir
|
/pkg/src/modules/client/transport/ |
H A D | repo.py | 2045 cat = pkg.catalog.Catalog(meta_root=tmpdir)
|