/pkg/src/util/log-scripts/ |
H A D | config.py | 33 cfg = configparser.ConfigParser() 34 cfg.read(CFGFILE) 35 value = cfg.get("default", option)
|
/pkg/src/tests/api/ |
H A D | t_config.py | 46 import pkg.config as cfg namespace 72 self.assertRaises(cfg.InvalidPropertyValueError, 76 p = cfg.PropBool(propname) 77 self.assertRaises(cfg.InvalidPropertyValueError, 138 propcls = cfg.Property 145 self.assertRaises(cfg.InvalidPropertyNameError, 232 propcls = cfg.PropBool 273 propcls = cfg.PropDefined 293 self.assertRaises(cfg.InvalidPropertyValueError, 300 propcls = cfg [all...] |
/pkg/src/modules/client/ |
H A D | imageconfig.py | 40 import pkg.config as cfg namespace 104 class ImageConfig(cfg.FileConfig): 112 cfg.PropertySection("filter", properties=[]), 113 cfg.PropertySection("image", properties=[ 114 cfg.PropInt("version"), 116 cfg.PropertySection("property", properties=[ 117 cfg.PropList("publisher-search-order"), 118 cfg.PropPublisher("preferred-authority"), 119 cfg.PropBool("display-coprights", default=True), 120 cfg [all...] |
H A D | image.py | 64 import pkg.config as cfg namespace 174 self.cfg = None 302 txt = self.cfg.get_policy_str(imageconfig.SIGNATURE_POLICY) 303 names = self.cfg.get_property("property", 562 self.cfg = imageconfig.ImageConfig(self.__cfgpathname, 567 self.cfg = imageconfig.BlendedConfig(self.cfg, 571 self.cfg.get_policy("use-system-repo")) 615 for pub in self.cfg.publishers.values(): 616 # self.cfg [all...] |
H A D | pkgplan.py | 347 self.image.cfg.get_policy(
|
H A D | api.py | 557 for m, mvalues in six.iteritems(self._img.cfg.mediators): 707 self.__new_be = (self._img.cfg.get_policy_str( 718 allow_backup = self._img.cfg.get_policy_str( 878 facets = self._img.cfg.facets 984 variants = self._img.cfg.variants 5218 publishers = self._img.cfg.publishers 5590 p5s.write(fh, pubs, self._img.cfg) 5601 return self._img.cfg.get_property("property", "dehydrated")
|
H A D | imageplan.py | 323 old_facets = self.image.cfg.facets 376 self.pd._old_facets = self.image.cfg.facets 385 old_dehydrated = set(self.image.cfg.get_property("property", 1064 cfg_mediators = self.image.cfg.mediators 4143 self.image.cfg.mediators 5031 self.image.cfg.set_property("property",
|
/pkg/src/modules/client/linkedimage/ |
H A D | system.py | 74 if not self.__img.cfg: 80 for lin in self.__img.cfg.linked_children: 93 return self.__img.cfg.linked_children[lin].copy() 109 self.__img.cfg.linked_children[lin] = props 118 del self.__img.cfg.linked_children[lin] 123 self.__img.cfg.write()
|
H A D | zone.py | 184 value = self.__img.cfg.variants[variant]
|
/pkg/src/modules/server/ |
H A D | depot.py | 74 import pkg.config as cfg namespace 157 self.cfg = dconf 193 if not repo.cfg.get_property("publisher", "prefix"): 340 prefix = self.repo.cfg.get_property("publisher", 380 if type(self.cfg) == cfg.SMFConfig: 383 self.cfg.reset() 1229 pub = self.repo.cfg.get_property( 2170 cfg.PropertySection("pkg", [ 2171 cfg [all...] |
H A D | repository.py | 50 import pkg.config as cfg namespace 2649 self.version = int(self.cfg.get_property("repository", 2651 except (cfg.PropertyConfigError, ValueError): 2662 (self.cfg.version > 3 and 2691 self.cfg.set_property("repository", "version", 2721 int(cfg.FileConfig(os.path.join( 2730 def_pub = self.cfg.get_property("publisher", "prefix") 2886 self.cfg.write() 3178 pub = self.cfg.get_property("publisher", "prefix") 3194 alias = self.cfg 4134 cfg = property(lambda self: self.__cfg) variable in class:Repository [all...] |
H A D | feed.py | 91 ti.replaceWholeText(depot.cfg.get_property("pkg_bui", "feed_name")) 122 it.replaceWholeText(depot.cfg.get_property("pkg_bui", "feed_icon")) 129 lt.replaceWholeText(depot.cfg.get_property("pkg_bui", "feed_logo")) 251 hours = depot.cfg.get_property("pkg_bui", "feed_window")
|
H A D | api.py | 674 for sname, props in six.iteritems(self._depot.cfg.get_index()): 682 return self._depot.cfg.get_property(section, prop) 703 for sname, props in six.iteritems(self._depot.repo.cfg.get_index()): 711 return self._depot.repo.cfg.get_property(section, prop)
|
H A D | face.py | 106 pub = depot.repo.cfg.get_property("publisher", "prefix")
|
/pkg/src/modules/ |
H A D | p5s.py | 159 def write(fileobj, pubs, cfg): 168 'cfg' is an ImageConfig which contains the properties of the image on 266 p for p in cfg.get_property("property", "publisher-search-order") 270 sig_pol = cfg.get_property("property", "signature-policy") 274 req_names = cfg.get_property("property", "signature-required-names")
|
/pkg/src/tests/cli/ |
H A D | t_util_merge.py | 33 import pkg.config as cfg namespace 145 except cfg.ConfigError as e:
|
H A D | t_change_variant.py | 281 ic = self.get_img_api_obj().img.cfg
|
H A D | t_pkg_image_create.py | 37 import pkg.config as cfg namespace
|
/pkg/src/util/apache2/depot/ |
H A D | depot_index.py | 230 self.cfg = dconf 243 # ensure we have the right values in our cfg, needed when 245 self.cfg.set_property("pkg", "content_root", self.content_root) 246 self.cfg.set_property("pkg", "pkg_root", self.repo.root) 247 self.cfg.set_property("pkg", "writable_root", self.tmp_root) 442 dh = sd.DepotHTTP(repo, depot_bui.cfg, 457 dh = sd.DepotHTTP(repo, depot_bui.cfg, 543 depot_https[repo_prefix] = sd.DepotHTTP(repo, depot_bui.cfg,
|
/pkg/src/modules/client/transport/ |
H A D | transport.py | 362 if not self.__img.cfg: 364 return self.__img.cfg.get_policy(policy_name) 411 if not self.__img.cfg: 568 self.cfg = tcfg 583 self.__engine.set_user_agent(self.cfg.user_agent) 587 if self.cfg.get_policy(imageconfig.MIRROR_DISCOVERY): 610 self.cfg.reset_caches() 733 cadir = self.cfg.get_property("ca-path") 848 download_dir = self.cfg.incoming_root 1040 assert isinstance(self.cfg, ImageTransportCf [all...] |
/pkg/src/modules/publish/ |
H A D | transaction.py | 39 import pkg.config as cfg namespace 263 except cfg.ConfigError as e: 374 self.transport.cfg.max_transfer_checks:
|
/pkg/src/ |
H A D | depot-config.py | 49 import pkg.config as cfg namespace 183 default_pub = repository.cfg.get_property("publisher", "prefix") 184 except cfg.UnknownPropertyError:
|
H A D | depot.py | 106 import pkg.config as cfg namespace 155 [-t socket_timeout] [--cfg] [--content-root] 178 --cfg The pathname of the file to use when reading and writing 229 SMF FMRI must be provided using the --cfg option. 293 long_opts = ["add-content", "cfg=", "cfg-file=", 329 elif opt == "--cfg": 331 elif opt == "--cfg-file":
|
/pkg/src/modules/actions/ |
H A D | file.py | 669 use_content_hash = orig and pkgplan.image.cfg.get_policy_str(
|
H A D | generic.py | 485 if pkgplan.image.cfg.get_policy_str(
|