Lines Matching defs:cfg
74 import pkg.config as cfg
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.PropList("address"),
2172 cfg.PropDefined("cfg_file", allowed=["", "<pathname>"]),
2173 cfg.Property("content_root"),
2174 cfg.PropList("debug", allowed=["", "headers",
2177 cfg.PropList("disable_ops"),
2178 cfg.PropDefined("image_root", allowed=["",
2180 cfg.PropDefined("inst_root", allowed=["", "<pathname>"]),
2181 cfg.PropBool("ll_mirror"),
2182 cfg.PropDefined("log_access", allowed=["", "stderr",
2184 cfg.PropDefined("log_errors", allowed=["", "stderr",
2186 cfg.PropBool("mirror"),
2187 cfg.PropDefined("pkg_root", allowed=["/", "<abspathname>"],
2189 cfg.PropInt("port"),
2190 cfg.PropPubURI("proxy_base"),
2191 cfg.PropBool("readonly"),
2192 cfg.PropInt("socket_timeout"),
2193 cfg.PropInt("sort_file_max_size",
2196 cfg.PropDefined("ssl_cert_file",
2198 cfg.PropDefined("ssl_dialog", allowed=["<exec:pathname>",
2200 cfg.PropDefined("ssl_key_file",
2202 cfg.PropInt("threads"),
2203 cfg.PropDefined("writable_root",
2206 cfg.PropertySection("pkg_bui", [
2207 cfg.PropDefined("feed_description"),
2208 cfg.PropDefined("feed_icon",
2210 cfg.PropDefined("feed_logo",
2212 cfg.PropDefined("feed_name",
2214 cfg.PropInt("feed_window", default=24)
2216 cfg.PropertySection("pkg_secure", [
2217 cfg.PropDefined("ssl_key_passphrase"),
2219 cfg.PropertySection("nasty", [
2220 cfg.PropInt("nasty_level"),
2221 cfg.PropInt("nasty_sleep", default=35)
2228 return cfg.Config(definitions=cls.__defs,
2231 return cfg.SMFConfig(target, definitions=cls.__defs,
2233 return cfg.FileConfig(target, definitions=cls.__defs,