owmeta_core.bundle.common module¶
- owmeta_core.bundle.common.bundle_tree_filter(path, fullpath)[source]¶
Returns true for file names that are to be included in a bundle for deployment or fetching.
- owmeta_core.bundle.common.fmt_bundle_directory(bundles_directory, ident, version=None)[source]¶
Get the directory for the given bundle identifier and version
- owmeta_core.bundle.common.validate_manifest(bundle_path, manifest_data)[source]¶
Validate manifest data in a
dict- Parameters
- Raises
NotABundlePathThrown in one of these conditions:
manifest_datalacks amanifest_versionmanifest_datahas amanifest_version> BUNDLE_MANIFEST_VERSIONmanifest_datahas amanifest_version<= 0manifest_datalacks aversionmanifest_datalacks anid
- owmeta_core.bundle.common.BUNDLE_ARCHIVE_MIME_TYPE = 'application/x-gtar'¶
MIME type for bundle archive files
- owmeta_core.bundle.common.BUNDLE_INDEXED_DB_NAME = 'owm.db'¶
Base name of the indexed database that gets built in a bundle directory during installation
- owmeta_core.bundle.common.BUNDLE_MANIFEST_FILE_NAME = 'manifest'¶
Name of the manifest file in a bundle directory or archive
- owmeta_core.bundle.common.BUNDLE_MANIFEST_VERSION = 1¶
Current version number of the bundle manifest. Written by
Installerand anticipated byDeployerandFetcher.