Searched refs:readonly (Results 1 - 15 of 15) sorted by relevance
/pkg/src/modules/file_layout/ |
H A D | file_manager.py | 117 def __init__(self, root, readonly, layouts=None): 122 The "readonly" parameter determines whether files can be 128 self.readonly = readonly 138 self.readonly = True 177 # If the depot isn't readonly and the file isn't in the location 180 if dest_full_path != cur_full_path and not self.readonly: 244 if self.readonly: 334 if self.readonly:
|
/pkg/src/svc/ |
H A D | svc-pkg-server | 52 # if configured readonly & standalone, refresh the depot service, 54 readonly=$(svcprop -p pkg/readonly $SMF_FMRI) 56 if [[ "$readonly" == "true" ]] && [[ "$standalone" == "false" ]] && \ 112 # if configured readonly & standalone, exit immediately as transient 116 readonly=$(svcprop -p pkg/readonly $SMF_FMRI) 119 if [[ "$readonly" == "true" ]] && [[ "$standalone" == "false" ]] && \
|
/pkg/src/util/publish/ |
H A D | update_file_layout.py | 79 fm = file_manager.FileManager(root=dir_loc, readonly=False) 82 # A non-readonly FileManager will move a file under a
|
/pkg/src/ |
H A D | depot.py | 159 [--readonly] [--ssl-cert-file] [--ssl-dialog] [--ssl-key-file] 207 disallowed. Cannot be used with --readonly or 218 --readonly Read-only operation; modifying operations disallowed. 239 access. Used with --readonly to allow server to 297 "proxy-base=", "readonly", "rebuild", "refresh-index", 389 ivalues["pkg"]["readonly"] = True 428 elif opt == "--readonly": 429 ivalues["pkg"]["readonly"] = True 561 readonly = dconf.get_property("pkg", "readonly") variable [all...] |
H A D | sign.py | 244 xport_cfg.add_cache(cache_dir, readonly=False)
|
H A D | depot-config.py | 602 which are marked as pkg/standalone = False and pkg/readonly = True.""" 613 readonly = smf.get_prop(fmri, "pkg/readonly") 617 readonly == "true" and 623 "No online, readonly, non-standalone instances of "
|
H A D | pull.py | 544 xport_cfg.add_cache(cache_dir, readonly=False) 552 dest_xport_cfg.add_cache(cache_dir, readonly=False) 1080 readonly=False)
|
H A D | pkgrepo.py | 318 xport_cfg.add_cache(cache_dir, readonly=False)
|
/pkg/src/modules/client/transport/ |
H A D | transport.py | 92 def add_cache(self, path, layout=None, pub=None, readonly=True): 97 specified 'pub', its 'readonly' status will be updated. 108 'readonly' is an optional boolean value indicating whether file 123 if not cache.readonly 134 if readonly: 136 cache.readonly = True 148 cache.readonly = False 153 pub_caches.append(fm.FileManager(path, readonly, 159 def get_caches(self, pub=None, readonly=True): 168 'readonly' i [all...] |
/pkg/src/tests/api/ |
H A D | t_file_manager.py | 107 fm = file_manager.FileManager(self.base_dir, readonly=True) 195 fm2 = file_manager.FileManager(self.base_dir, readonly=True,
|
/pkg/src/modules/server/ |
H A D | api.py | 654 def readonly(self): member in class:ConfigInterface 656 operating in readonly mode.
|
H A D | repository.py | 453 self.cache_store.readonly = value 677 # doesn't exist yet or is readonly so a file lock cannot 2880 # No changes should be written to disk in readonly mode.
|
/pkg/src/modules/client/ |
H A D | image.py | 1164 """Returns a list of tuples of the form (dir, readonly, pub, 1166 'readonly' is a boolean indicating whether the cache can 1179 # Get all readonly cache directories. 1194 readonly = False 1196 readonly = True 1197 cdirs.append((froot, readonly, pub.prefix, file_layout)) 3462 for path, readonly, pub, layout in self.get_cachedirs(): 3463 if readonly or (self.__user_cache_dir and
|
/pkg/src/tests/cli/ |
H A D | t_pkg_search.py | 468 for path, readonly, pub, layout in img.get_cachedirs()
|
H A D | t_pkg_install.py | 447 for path, readonly, pub, layout in img_inst.get_cachedirs(): 498 for path, readonly, pub, layout in img_inst.get_cachedirs(): 514 for path, readonly, pub, layout in img_inst.get_cachedirs(): 553 for path, readonly, pub, layout in img_inst.get_cachedirs(): 566 for path, readonly, pub, layout in img_inst.get_cachedirs():
|
Completed in 144 milliseconds