Searched refs:readonly (Results 1 - 15 of 15) sorted by relevance

/pkg/src/modules/file_layout/
H A Dfile_manager.py117 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 Dsvc-pkg-server52 # 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 Dupdate_file_layout.py79 fm = file_manager.FileManager(root=dir_loc, readonly=False)
82 # A non-readonly FileManager will move a file under a
/pkg/src/
H A Ddepot.py159 [--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 Dsign.py244 xport_cfg.add_cache(cache_dir, readonly=False)
H A Ddepot-config.py602 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 Dpull.py544 xport_cfg.add_cache(cache_dir, readonly=False)
552 dest_xport_cfg.add_cache(cache_dir, readonly=False)
1080 readonly=False)
H A Dpkgrepo.py318 xport_cfg.add_cache(cache_dir, readonly=False)
/pkg/src/modules/client/transport/
H A Dtransport.py92 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 Dt_file_manager.py107 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 Dapi.py654 def readonly(self): member in class:ConfigInterface
656 operating in readonly mode.
H A Drepository.py453 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 Dimage.py1164 """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 Dt_pkg_search.py468 for path, readonly, pub, layout in img.get_cachedirs()
H A Dt_pkg_install.py447 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