Searched defs:manifest (Results 1 - 25 of 33) sorted by relevance

12

/pkg/src/modules/flavor/
H A Dsmf_manifest.py37 # find SMF manifest files
38 manifest_locations = [ "lib/svc/manifest", "var/svc/manifest" ]
42 # maps SMF fmris to the manifest files that defined them
48 manifest = None variable in class:SMFManifestDependency
53 self.manifest = path
83 """Clear our manifest caches. This is primarily provided for
135 # instance as each manifest gets added.
227 file is an SMF manifest, we return a list of SmfManifestDependencies
230 that were contained in the SMF manifest tha
[all...]
/pkg/src/tests/cli/
H A Dt_pkg_list.py34 import pkg.manifest as manifest namespace
699 # to the repository's copy of the manifest and catalog.
703 mpath = repo.manifest(pfmri)
717 entry["signature-sha-1"] = manifest.Manifest.hash_create(
743 # unparseable manifest.
H A Dt_fix.py32 import pkg.manifest as manifest namespace
312 m = manifest.Manifest()
560 """Test that running package fix won't change the manifest of an
573 # Run it one more time to ensure that the manifest on disk
H A Dt_pkgrecv.py40 import pkg.manifest as manifest namespace
271 """Given an FMRI, return the path to its manifest in our
288 """Given an FMRI, return the unsorted manifest contents from our
293 mf = pkg.manifest.Manifest()
357 # Next, load the manifest.
359 mpath = os.path.join(basedir, "manifest")
361 m = manifest.Manifest()
403 old = orepo.manifest(f)
404 new = os.path.join(self.tempdir, f.get_dir_path(), "manifest")
[all...]
H A Dt_pkgsurf.py35 import pkg.manifest as manifest namespace
600 """Change the content-hash attr in the manifest located at the
612 mpath = repo.manifest(f)
613 # load manifest, change content-hash attr and store back
615 mani = manifest.Manifest()
624 # rebuild repo catalog since manifest digest changed
665 targ = targ_repo.manifest(f)
667 # Load target manifest
668 targm = manifest
[all...]
/pkg/src/util/publish/
H A Dpkgdiff.py40 import pkg.manifest as manifest namespace
103 usage(_("two manifest arguments are required"))
106 usage(_("only one manifest argument can be stdin"))
131 manifest1 = manifest.Manifest()
132 manifest2 = manifest.Manifest()
146 # manifest filtering
153 # a generator, to avoid clobbering manifest contents.
186 # in each manifest in that case. First, make sure any variants
212 # avoid confusing manifest differenc
[all...]
H A Dpkglint.py45 import pkg.manifest namespace
74 " [manifest ...]\n"
145 error(_("Fatal error in manifest - exiting."))
241 "manifest not encoded in UTF-8: {err}").format(
246 lint_logger.critical(_("Unable to read manifest file "
255 manifest = pkg.manifest.Manifest()
257 manifest.set_content(content="\n".join(lines))
272 manifest = None
278 manifest
[all...]
H A Dpkgmerge.py48 import pkg.manifest as manifest namespace
70 null_manifest = manifest.Manifest()
185 """Fetch the manifest for package-fmri 'fmri' from the source
193 m = manifest.Manifest(fmri)
503 # done using the manifest since retrievals are coalesced based
550 # added to the manifest.
573 returning the merged manifest and a list of lists of actions to
688 # manifest; any future merges should
689 # use the merged manifest fo
[all...]
H A Dpkgsurf.py34 # We then compare the target and ref manifest for content changes. Any
49 # chain had a content change the can the manifest be reversioned.
56 # dropped since the manifest data changed.
59 # from the associated manifest of the reference version of this package.
89 import pkg.manifest as manifest namespace
246 """ Retrieve a manifest with FMRI 'pfmri' of publisher 'pub' from
249 path = repo.manifest(pfmri, pub)
250 mani = manifest.Manifest(pfmri)
254 abort(err=_("Can not open manifest fil
[all...]
/pkg/src/modules/
H A Dindexer.py36 import pkg.manifest as manifest namespace
44 # Constants for indicating whether pkgplans or fmri-manifest path pairs are
376 new_dict = manifest.Manifest.search_dict(
396 matches. The fifth layer is the offset into the manifest of
H A Dp5p.py43 import pkg.manifest namespace
265 """Used to indicate that a manifest for the specified package could not
275 return _("No package manifest for package '{pfmri}' exists "
630 'mpath' is the absolute path of the package manifest file.
649 m = pkg.manifest.Manifest(pfmri)
665 # After manifest has been loaded, assume it's ok to queue the
666 # manifest itself for addition to the archive.
669 # Entry may need to be added for manifest directory.
675 # Entry needs to be added for manifest file.
727 'mpath' is the absolute path of the package manifest fil
[all...]
/pkg/src/tests/api/
H A Dt_manifest.py39 import pkg.manifest as manifest namespace
54 self.m1 = manifest.Manifest()
60 self.m2 = manifest.Manifest()
117 """ ASSERT: manifest string repr reflects its construction """
122 # representation of the manifest matched the input, but the
137 m = manifest.Manifest()
144 m = manifest.Manifest()
155 m = manifest.Manifest()
206 diffs = self.m2.combined_difference(manifest
[all...]
H A Dt_pkg_api_install.py40 import pkg.manifest as manifest namespace
931 # This should succeed and cause the manifest to be cached.
934 # Now attempt to corrupt the client's copy of the manifest by
1044 """Verify that client manifest cache is managed as expected."""
1053 # Verify that manifest file exists after install.
1059 # Verify that manifest cache file exists after install.
1061 mcpath = os.path.join(mcdir, "manifest.set")
1064 # Verify that manifest cache file and directories do not exist
1069 "manifest cach
[all...]
H A Dt_pkglint.py39 import pkg.manifest namespace
171 file nohash group=sys mode=0444 owner=root path=var/svc/manifest/application/x11/xfs.xml pkg.csize=1649 pkg.size=3534 restart_fmri=svc:/system/manifest-import:default
408 file nohash group=sys mode=0444 owner=root path=var/svc/manifest/application/x11/xfs.xml pkg.csize=1649 pkg.size=3534 restart_fmri=svc:/system/manifest-import:default
479 # 3 errors get reported for this manifest:
504 file nohash group=sys mode=0444 owner=root path=var/svc/manifest/application/x11/xfs.xml pkg.csize=1649 pkg.size=3534 restart_fmri=svc:/system/manifest-import:default
528 file nohash group=sys mode=0444 owner=root path=var/svc/manifest/application/x11/xfs.xml pkg.csize=1649 pkg.size=3534 restart_fmri=svc:/system/manifest
[all...]
H A Dt_catalog.py45 import pkg.manifest as manifest namespace
110 m = manifest.Manifest()
252 # as the callback will return an empty manifest.
293 # as the callback will return an empty manifest.
312 # as the callback will return an empty manifest.
331 # as the callback will return an empty manifest.
720 p1_man = manifest.Manifest(p1_fmri)
725 p2_man = manifest.Manifest(p2_fmri)
732 p3_man = manifest
[all...]
/pkg/src/modules/client/
H A Dquery_parser.py28 import pkg.manifest as manifest namespace
267 and returns a path to the manifest for that fmri.
337 search_dict = manifest.Manifest.search_dict(path,
399 search_dict = manifest.Manifest.search_dict(manf,
H A Dpkgplan.py39 import pkg.manifest as manifest namespace
113 "actions": pkg.manifest.ManifestDifference,
124 self.__destination_mfst = manifest.NullFactoredManifest
127 self.__origin_mfst = manifest.NullFactoredManifest
129 self.actions = manifest.ManifestDifference([], [], [])
149 assert obj.__origin_mfst == manifest.NullFactoredManifest
150 assert obj.__destination_mfst == manifest.NullFactoredManifest
182 obj.__origin_mfst = manifest.NullFactoredManifest
183 obj.__destination_mfst = manifest
[all...]
/pkg/src/modules/server/
H A Dtransaction.py42 import pkg.manifest namespace
247 # always create a minimal manifest
249 tfpath = os.path.join(self.dir, "manifest")
253 # it to the manifest. While it may seem inefficient to create
349 # copy in existing manifest, then open it for appending.
350 portable.copyfile(rstore.manifest(self.fmri),
351 os.path.join(self.dir, "manifest"))
387 tfpath = os.path.join(self.dir, "manifest")
393 m = pkg.manifest.Manifest()
396 # manifest an
[all...]
H A Dapi.py38 import pkg.manifest as manifest namespace
316 # Set of options that require manifest retrieval.
350 mfst = manifest.Manifest(f)
352 mpath = self._depot.repo.manifest(f)
577 manifest mfst."""
641 """The number of /manifest operation requests that have occurred
/pkg/src/
H A Dpkgdep.py42 import pkg.manifest as manifest namespace
164 usage(_("The manifest file {0} could not be found.").format(manf),
180 error(_("Could not parse manifest {manifest} because of the "
181 "following line:\n{line}").format(manifest=manf,
248 for manifest in manifest_paths:
249 if not os.path.isfile(manifest):
250 usage(_("The manifest file {0} could not be found.").format(
251 manifest), retcod
[all...]
H A Dpublish.py49 import pkg.manifest namespace
108 [--no-catalog] [manifest ...]
122 self.known_classes = ["none", "manifest"]
314 """Publish packages in a single step using provided manifest data and
319 opts, pargs = getopt.getopt(fargs, "b:d:s:T:", ["fmri-in-manifest",
375 m = pkg.manifest.Manifest()
400 "manifest must include a version.").format(pfmri),
419 # Ensure hardlinks marked as files in the manifest are
528 m = pkg.manifest.Manifest()
604 # so that the resulting manifest remain
[all...]
H A Dsign.py52 import pkg.manifest as manifest namespace
288 # Get the existing manifest for the package to
292 m = manifest.Manifest()
301 # Add the action to the manifest to be signed
326 # already been added to the manifest, it is
349 # to the published manifest.
H A Dpull.py44 import pkg.manifest as manifest namespace
251 m = manifest.FactoredManifest(pfmri, pkgdir)
253 abort(err=_("Unable to parse manifest '{mpath}' for "
313 """Takes a manifest and return
335 """Takes a manifest and a multi object and adds the hashes to the multi
629 """Helper routine for mogrifying manifest. Precondition: mog_files
659 # Collect new contents of mogrified manifest.
689 print("{0}".format("Mogrified manifest for {0}: (subject to "
832 # Create mogrified manifest
[all...]
/pkg/src/util/apache2/depot/
H A Ddepot_index.py493 def manifest(self, *tokens): member in class:WsgiDepot
757 elif "/manifest/0/" in path_info:
758 cherrypy.response.body = self.app.manifest(
/pkg/src/modules/publish/
H A Ddependencies.py46 import pkg.manifest as manifest namespace
150 """This exception is used when a manifest's fmri isn't a valid fmri."""
157 return _("The manifest '{path}' has an invalid package "
245 """Given the manifest provided in file_path, use the known dependency
247 the manifest have.
249 'file_path' is the path to the manifest for the package.
381 """For a manifest, produce the list of dependencies generated by the
396 overridden by any manifest or action attributes setting
522 pkg_attrs the set of package attributes for this manifest, produce
[all...]

Completed in 63 milliseconds

12