/pkg/src/modules/actions/ |
H A D | attribute.py | 35 import pkg.actions namespace 64 raise pkg.actions.InvalidActionError(str(self), 176 raise pkg.actions.InvalidActionAttributesError(
|
H A D | group.py | 41 import pkg.actions namespace 140 raise pkg.actions.ActionRetry(self) 188 # Ignore "user-list", as it is only modified by user actions 237 """Arrange for group actions to be installed in gid order. This 238 will only hold true for actions installed at one time, but that's
|
H A D | directory.py | 36 import pkg.actions namespace 290 raise pkg.actions.InvalidActionAttributesError(self,
|
H A D | link.py | 38 import pkg.actions namespace 146 raise pkg.actions.InvalidActionAttributesError( 193 raise pkg.actions.InvalidActionAttributesError(self,
|
H A D | user.py | 41 import pkg.actions namespace 202 raise pkg.actions.ActionRetry(self) 368 """Arrange for user actions to be installed in uid order. This 369 will only hold true for actions installed at one time, but that's
|
H A D | depend.py | 38 import pkg.actions namespace 398 # For depend actions, type should always come 542 raise pkg.actions.InvalidActionAttributesError(
|
H A D | file.py | 43 import pkg.actions namespace 590 # and new actions. Look for the most-preferred common 591 # hash between old and new. Since the two actions may 881 raise pkg.actions.InvalidActionAttributesError(self,
|
H A D | signature.py | 38 import pkg.actions namespace 66 raise pkg.actions.InvalidActionError(str(self), 115 raise pkg.actions.ActionDataError( 119 raise pkg.actions.ActionDataError( 131 raise pkg.actions.ActionDataError(e, path=pth) 232 # Signature actions don't sign other signature actions. So if 320 """Transforms a collection of actions into a string that is 321 used to sign those actions.""" 382 actions ar [all...] |
/pkg/src/tests/perf/ |
H A D | actionbench.py | 34 import pkg.actions as actions namespace 44 setup1 = "import pkg.actions as actions" namespace 45 str1 = 'action = actions.fromstr("file 58371e22b5e75ec66602b966edf29bcce7038db5 elfarch=i386 elfbits=32 elfhash=cd12b081ddaef993fd0276dd04d653222d25fa77 group=bin mode=0755 owner=root path=usr/lib/libzonecfg.so.1 pkg.size=178072")' 52 print("{0:>20f} {1:>8d} actions/sec".format(t, 58 setup2 = """import pkg.actions as actions 59 a1 = actions.fromstr("file 1234 group=bin mode=0755 owner=root path=usr/lib/libzonecfg.so.1") 60 a2 = actions [all...] |
/pkg/src/modules/bundle/ |
H A D | DirectoryBundle.py | 34 import pkg.actions.file namespace 35 import pkg.actions.link namespace 36 import pkg.actions.hardlink namespace 40 tree to a pkg(7) package by traversing the tree and emitting actions for 119 # of known targets. Create file actions for known 125 return pkg.actions.file.FileAction( 133 return pkg.actions.hardlink.HardLinkAction( 136 return pkg.actions.link.LinkAction( 139 return pkg.actions.directory.DirectoryAction(
|
/pkg/src/modules/ |
H A D | mogrify.py | 34 import pkg.actions namespace 39 to process actions.""" 52 attrdict = pkg.actions.attrsfromstr(" ".join([a for a in matching if "=" in a])) 321 return (pkg.actions.fromstr(newmsg), action) 322 except (pkg.actions.MalformedActionError, 323 pkg.actions.UnknownActionError, 324 pkg.actions.InvalidActionError) as e: 464 class PkgAction(pkg.actions.generic.Action): 542 # Any newly-created actions need to have the transforms applied, too. 750 act = pkg.actions [all...] |
/pkg/src/modules/client/ |
H A D | actuator.py | 28 import pkg.actions namespace 40 on live images when those actions are updated, installed 78 "release-note": [(pkg.actions.generic.NSG, pkg.fmri.PkgFmri)], 86 "release-note": [(pkg.actions.generic.NSG, pkg.fmri.PkgFmri)], 94 "release-note": [(pkg.actions.generic.NSG, pkg.fmri.PkgFmri)],
|
H A D | pkgplan.py | 35 import pkg.actions namespace 36 import pkg.actions.directory as directory namespace 51 set of actions required to take the Image from the origin FMRI to the 68 "actions", 82 # have had their actions evaluated and merged, and when action 109 "src": pkg.actions.generic.NSG, 110 "dest": pkg.actions.generic.NSG, 113 "actions": pkg.manifest.ManifestDifference, 129 self.actions = manifest.ManifestDifference([], [], []) 200 for src, dest in itertools.chain(*self.actions) [all...] |
/pkg/src/modules/flavor/ |
H A D | base.py | 30 import pkg.actions.depend as depend namespace
|
/pkg/src/tests/api/ |
H A D | t_action.py | 35 import pkg.actions as action 36 import pkg.actions.generic as generic namespace 37 import pkg.actions.signature as signature namespace 140 # For convenience, we allow set actions to be expressed as 230 # Really long actions with lots of backslash-escaped quotes 276 """Test that actions convert to strings properly. This means 487 # set_invalid_action_error in actions/_common.c. 510 # Verify malformed actions > 255 characters don't cause corrupt 586 # file and dir actions. 610 # must-display attributes of license actions [all...] |
H A D | t_manifest.py | 35 import pkg.actions as actions namespace 246 pkg.actions.file.FileAction) 249 pkg.actions.directory.DirectoryAction) 351 they're identical actions, but /usr should show up three 366 for kv, actions in self.m1.duplicates(): 368 for a in actions: 435 """Test that when a factored manifest generates actions by type 507 # Now rewrite the dircache so that it contains actions with
|
/pkg/src/util/publish/ |
H A D | pkgdiff.py | 37 import pkg.actions namespace 124 if t == "generic" or t not in pkg.actions.types 140 except (pkg.actions.ActionError, apx.InvalidPackageErrors) as e: 152 # Must pass complete list of actions to set_content, not 185 # we can have multiple actions w/ the same key attributes 210 # build excludes closure to examine only actions exactly 213 # actions w/ same key attribute values or getting dups
|
H A D | pkgfmt.py | 52 # 5) variant & facet tags appear at the end of actions 75 import pkg.actions namespace 79 from pkg.actions.generic import quote_attr_value 80 from pkg.actions.depend import known_types as dep_types 184 act = pkg.actions.fromstr(actstr) 186 # For formatting purposes, treat dependency actions that 190 raise pkg.actions.InvalidActionError(act, 193 except (pkg.actions.MalformedActionError, 194 pkg.actions.UnknownActionError, 195 pkg.actions [all...] |
H A D | pkgmerge.py | 42 import pkg.actions as actions namespace 573 returning the merged manifest and a list of lists of actions to 703 # Finally, build a list of actions to retrieve based on position in 729 for i, a in enumerate(m.actions[:]): 732 # signatures and pkg.fmri actions are no longer 734 del m.actions[i - deleted_count] 741 # manifest; filter out actions 743 del m.actions[i - deleted_count] 758 del m.actions[ [all...] |
H A D | pkgsurf.py | 35 # difference in the manifests' actions is considered a content change unless 42 # Changes in depend actions are not considered a content change, however, 47 # For the depend actions it is therefore required to recurse through the whole 53 # Therefore pkgsurf will go through all depend actions in the repo and, if they 55 # This requires that signature actions in these adjusted packages need to be 82 import pkg.actions as actions namespace 160 -i name Ignore set actions with the name field set to 'name' for 349 # Ignore anything other than depend actions. 371 nact = actions [all...] |
/pkg/src/tests/cli/ |
H A D | t_pkg_info.py | 37 import pkg.actions as actions namespace 413 # adding malformed actions. 828 a = actions.fromstr(l)
|
/pkg/src/modules/server/ |
H A D | transaction.py | 39 import pkg.actions as actions namespace 256 fact = actions.fromstr("set name=pkg.fmri value={0}".format( 456 # Perform additional publication-time validation of actions 460 except actions.ActionError as e: 558 "package cannot contain actions other than " 567 "package cannot contain actions other than " 696 "package cannot contain actions other than " 705 "package cannot contain actions other than "
|
/pkg/src/ |
H A D | pkgdep.py | 38 import pkg.actions as actions namespace 179 except (actions.MalformedActionError, actions.UnknownActionError) as e: 198 msg(actions.attribute.AttributeAction(**{key: value})) 337 except (actions.MalformedActionError, actions.UnknownActionError) as e: 385 act = actions.fromstr(l.rstrip()) 388 except actions.ActionError:
|
H A D | publish.py | 45 import pkg.actions namespace 300 action, lp = pkg.actions.internalizelist(args[0], args[1:]) 434 # don't publish these actions 446 path = pkg.actions.set_action_data(a.hash, a, 555 path, bd = pkg.actions.set_action_data(a.hash, a, 863 except (pkg.actions.ActionError, trans.TransactionError,
|
H A D | sign.py | 47 import pkg.actions as actions namespace 209 s, h = actions.signature.SignatureAction.decompose_sig_alg(sig_alg) 297 a = actions.signature.SignatureAction(cert_path,
|