Package referenceΒΆ
- craft_parts package
- Subpackages
- craft_parts.executor package
- Submodules
- craft_parts.executor.collisions module
- craft_parts.executor.environment module
- craft_parts.executor.errors module
- craft_parts.executor.executor module
- craft_parts.executor.filesets module
- craft_parts.executor.migration module
- craft_parts.executor.organize module
- craft_parts.executor.part_handler module
- craft_parts.executor.step_handler module
- Module contents
- Submodules
- craft_parts.overlays package
- Submodules
- Module contents
- craft_parts.packages package
- Submodules
- craft_parts.packages.apt_cache module
- craft_parts.packages.base module
BaseRepositoryBaseRepository.configure()BaseRepository.download_packages()BaseRepository.fetch_stage_packages()BaseRepository.get_installed_packages()BaseRepository.get_package_libraries()BaseRepository.get_packages_for_source_type()BaseRepository.install_packages()BaseRepository.is_package_installed()BaseRepository.refresh_packages_list()BaseRepository.stage_packages_filtersBaseRepository.unpack_stage_packages()
DummyRepositoryDummyRepository.configure()DummyRepository.download_packages()DummyRepository.fetch_stage_packages()DummyRepository.get_installed_packages()DummyRepository.get_package_libraries()DummyRepository.get_packages_for_source_type()DummyRepository.install_packages()DummyRepository.is_package_installed()DummyRepository.refresh_packages_list()DummyRepository.unpack_stage_packages()
get_pkg_name_parts()mark_origin_stage_package()read_origin_stage_package()write_origin_stage_package()
- craft_parts.packages.deb module
- craft_parts.packages.deb_package module
- craft_parts.packages.dnf module
- craft_parts.packages.errors module
BuildPackageNotFoundBuildPackagesNotInstalledChiselErrorFileProviderNotFoundPackageBackendNotSupportedPackageBrokenPackageFetchErrorPackageListRefreshErrorPackageNotFoundPackagesDownloadErrorPackagesErrorPackagesNotFoundSnapDownloadErrorSnapGetAssertionErrorSnapInstallErrorSnapRefreshErrorSnapUnavailableSnapdConnectionErrorUnpackError
- craft_parts.packages.normalize module
- craft_parts.packages.platform module
- craft_parts.packages.snaps module
SnapPackageSnapPackage.download()SnapPackage.get_current_channel()SnapPackage.get_local_snap_info()SnapPackage.get_store_snap_info()SnapPackage.has_assertions()SnapPackage.in_storeSnapPackage.install()SnapPackage.installedSnapPackage.is_classic()SnapPackage.is_snap_installed()SnapPackage.is_valid()SnapPackage.is_valid_snap()SnapPackage.refresh()
download_snaps()get_assertion()get_installed_snaps()get_snapd_socket_path_template()install_snaps()
- craft_parts.packages.yum module
- Module contents
- Submodules
- craft_parts.plugins package
- Subpackages
- Submodules
- craft_parts.plugins.ant_plugin module
- craft_parts.plugins.autotools_plugin module
- craft_parts.plugins.base module
BasePythonPluginPluginPlugin.get_build_commands()Plugin.get_build_environment()Plugin.get_build_packages()Plugin.get_build_snaps()Plugin.get_out_of_source_build()Plugin.get_pull_commands()Plugin.properties_classPlugin.set_action_properties()Plugin.supported_build_attributes()Plugin.supports_strict_modePlugin.validator_class
- craft_parts.plugins.cargo_use_plugin module
- craft_parts.plugins.cmake_plugin module
- craft_parts.plugins.dotnet_plugin module
- craft_parts.plugins.dotnet_v2_plugin module
DotnetConfigurationDotnetV2PluginDotnetV2PluginEnvironmentValidatorDotnetV2PluginPropertiesDotnetV2PluginProperties.dotnet_build_frameworkDotnetV2PluginProperties.dotnet_build_propertiesDotnetV2PluginProperties.dotnet_configurationDotnetV2PluginProperties.dotnet_projectDotnetV2PluginProperties.dotnet_propertiesDotnetV2PluginProperties.dotnet_publish_propertiesDotnetV2PluginProperties.dotnet_restore_configfileDotnetV2PluginProperties.dotnet_restore_propertiesDotnetV2PluginProperties.dotnet_restore_sourcesDotnetV2PluginProperties.dotnet_self_containedDotnetV2PluginProperties.dotnet_verbosityDotnetV2PluginProperties.dotnet_versionDotnetV2PluginProperties.model_configDotnetV2PluginProperties.pluginDotnetV2PluginProperties.sourceDotnetV2PluginProperties.validate_dotnet_version()
DotnetVerbosity
- craft_parts.plugins.dump_plugin module
- craft_parts.plugins.go_plugin module
- craft_parts.plugins.go_use_plugin module
- craft_parts.plugins.gradle_plugin module
- craft_parts.plugins.java_plugin module
- craft_parts.plugins.jlink_plugin module
- craft_parts.plugins.make_plugin module
- craft_parts.plugins.maven_plugin module
- craft_parts.plugins.maven_use_plugin module
- craft_parts.plugins.meson_plugin module
- craft_parts.plugins.nil_plugin module
- craft_parts.plugins.npm_plugin module
- craft_parts.plugins.plugins module
- craft_parts.plugins.poetry_plugin module
- craft_parts.plugins.properties module
- craft_parts.plugins.python_plugin module
- craft_parts.plugins.qmake_plugin module
- craft_parts.plugins.ruby_plugin module
RubyFlavorRubyPluginRubyPluginEnvironmentValidatorRubyPluginPropertiesRubyPluginProperties.model_configRubyPluginProperties.pluginRubyPluginProperties.ruby_configure_optionsRubyPluginProperties.ruby_flavorRubyPluginProperties.ruby_gemsRubyPluginProperties.ruby_sharedRubyPluginProperties.ruby_use_bundlerRubyPluginProperties.ruby_use_jemallocRubyPluginProperties.ruby_versionRubyPluginProperties.source
- craft_parts.plugins.rust_plugin module
RustPluginRustPluginEnvironmentValidatorRustPluginPropertiesRustPluginProperties.afterRustPluginProperties.model_configRustPluginProperties.pluginRustPluginProperties.rust_cargo_parametersRustPluginProperties.rust_channelRustPluginProperties.rust_featuresRustPluginProperties.rust_ignore_toolchain_fileRustPluginProperties.rust_inherit_ldflagsRustPluginProperties.rust_no_default_featuresRustPluginProperties.rust_pathRustPluginProperties.rust_use_global_ltoRustPluginProperties.sourceRustPluginProperties.validate_rust_channel()
- craft_parts.plugins.scons_plugin module
- craft_parts.plugins.uv_plugin module
- craft_parts.plugins.validator module
- Module contents
PluginPlugin.get_build_commands()Plugin.get_build_environment()Plugin.get_build_packages()Plugin.get_build_snaps()Plugin.get_out_of_source_build()Plugin.get_pull_commands()Plugin.properties_classPlugin.set_action_properties()Plugin.supported_build_attributes()Plugin.supports_strict_modePlugin.validator_class
PluginEnvironmentValidatorPluginPropertiesextract_part_properties()get_plugin()get_plugin_class()get_registered_plugins()register()unregister()unregister_all()validate_and_extract()
- craft_parts.sources package
- Submodules
- craft_parts.sources.base module
- craft_parts.sources.cache module
- craft_parts.sources.checksum module
- craft_parts.sources.deb_source module
- craft_parts.sources.errors module
- craft_parts.sources.file_source module
- craft_parts.sources.git_source module
- craft_parts.sources.local_source module
- craft_parts.sources.rpm_source module
- craft_parts.sources.sevenzip_source module
- craft_parts.sources.snap_source module
- craft_parts.sources.sources module
- craft_parts.sources.tar_source module
- craft_parts.sources.zip_source module
- Module contents
BaseFileSourceModelDebSourceDebSourceModelFileSourceFileSourceModelGitSourceGitSourceModelLocalSourceLocalSourceModelRpmSourceRpmSourceModelSevenzipSourceSevenzipSourceModelSnapSourceSnapSourceModelSourceHandlerTarSourceTarSourceModelZipSourceZipSourceModelget_source_handler()register()unregister()
- Submodules
- craft_parts.state_manager package
- Submodules
- craft_parts.state_manager.build_state module
- craft_parts.state_manager.overlay_state module
- craft_parts.state_manager.prime_state module
- craft_parts.state_manager.pull_state module
- craft_parts.state_manager.reports module
- craft_parts.state_manager.stage_state module
- craft_parts.state_manager.state_manager module
StateManagerStateManager.check_if_dirty()StateManager.check_if_outdated()StateManager.clean_part()StateManager.get_outdated_dirs()StateManager.get_outdated_files()StateManager.get_step_state_overlay_hash()StateManager.has_step_run()StateManager.mark_step_updated()StateManager.project_vars()StateManager.set_state()StateManager.should_step_run()StateManager.update_state_timestamp()
- craft_parts.state_manager.states module
- craft_parts.state_manager.step_state module
MigrationContentsMigrationStateStepStateStepState.diff_project_options_of_interest()StepState.diff_properties_of_interest()StepState.directoriesStepState.filesStepState.model_configStepState.part_propertiesStepState.partitionStepState.partitions_contentsStepState.project_optionsStepState.project_options_of_interest()StepState.properties_of_interest()StepState.unmarshal()
validate_hex_string()
- Module contents
MigrationContentsMigrationStateStateManagerStateManager.check_if_dirty()StateManager.check_if_outdated()StateManager.clean_part()StateManager.get_outdated_dirs()StateManager.get_outdated_files()StateManager.get_step_state_overlay_hash()StateManager.has_step_run()StateManager.mark_step_updated()StateManager.project_vars()StateManager.set_state()StateManager.should_step_run()StateManager.update_state_timestamp()
StepState
- Submodules
- craft_parts.utils package
- Subpackages
- Submodules
- craft_parts.utils.deb_utils module
- craft_parts.utils.file_utils module
- craft_parts.utils.formatting_utils module
- craft_parts.utils.git module
- craft_parts.utils.os_utils module
- craft_parts.utils.partition_utils module
- craft_parts.utils.path_utils module
- craft_parts.utils.process module
- craft_parts.utils.url_utils module
- Module contents
- craft_parts.executor package
- Submodules
- craft_parts.actions module
- craft_parts.callbacks module
- craft_parts.constraints module
- craft_parts.ctl module
- craft_parts.dirs module
- craft_parts.errors module
CallbackRegistrationErrorCopyFileNotFoundCopyTreeErrorDebErrorFeatureErrorFileOrganizeErrorFilesetConflictFilesetErrorFilesystemMountErrorInvalidActionInvalidApplicationNameInvalidArchitectureInvalidControlAPICallInvalidPartNameInvalidPluginOsReleaseCodenameErrorOsReleaseIdErrorOsReleaseNameErrorOsReleaseVersionIdErrorOverlayPackageNotFoundOverlayPermissionErrorOverlayPlatformErrorOverlayStageConflictPartDependencyCyclePartFilesConflictPartSpecificationErrorPartitionErrorPartitionNotFoundPartitionUsageErrorPartitionUsageWarningPartsErrorPluginBuildErrorPluginCleanErrorPluginEnvironmentValidationErrorPluginNotStrictPluginPullErrorScriptletRunErrorStageFilesConflictStagePackageNotFoundUndefinedPluginUnsupportedBuildAttributesErrorUserExecutionErrorXAttributeErrorXAttributeTooLong
- craft_parts.features module
- craft_parts.filesystem_mounts module
- craft_parts.infos module
PartInfoPartInfo.get_project_var()PartInfo.part_build_dirPartInfo.part_build_subdirPartInfo.part_cache_dirPartInfo.part_dependenciesPartInfo.part_export_dirPartInfo.part_install_dirPartInfo.part_namePartInfo.part_src_dirPartInfo.part_src_subdirPartInfo.part_state_dirPartInfo.plugin_namePartInfo.project_infoPartInfo.set_project_var()
ProjectInfoProjectInfo.alias_partition_dirProjectInfo.application_nameProjectInfo.arch_build_forProjectInfo.arch_build_onProjectInfo.arch_tripletProjectInfo.arch_triplet_build_forProjectInfo.arch_triplet_build_onProjectInfo.baseProjectInfo.base_layer_dirProjectInfo.base_layer_hashProjectInfo.cache_dirProjectInfo.custom_argsProjectInfo.default_filesystem_mountProjectInfo.default_partitionProjectInfo.dirsProjectInfo.filesystem_mountsProjectInfo.get_project_var()ProjectInfo.host_archProjectInfo.is_cross_compilingProjectInfo.is_default_partition()ProjectInfo.is_default_partition_aliasedProjectInfo.overlay_alias_symlinkProjectInfo.parallel_build_countProjectInfo.partitionsProjectInfo.parts_alias_symlinkProjectInfo.prime_alias_symlinkProjectInfo.project_nameProjectInfo.project_optionsProjectInfo.project_varsProjectInfo.project_vars_part_nameProjectInfo.set_project_var()ProjectInfo.stage_alias_symlinkProjectInfo.strict_modeProjectInfo.target_archProjectInfo.usrmerged_by_default
ProjectOptionsProjectVarProjectVarInfoStepInfo
- craft_parts.lifecycle_manager module
LifecycleManagerLifecycleManager.action_executor()LifecycleManager.clean()LifecycleManager.get_prime_state_timestamp()LifecycleManager.get_primed_stage_packages()LifecycleManager.get_pull_assets()LifecycleManager.plan()LifecycleManager.project_infoLifecycleManager.refresh_packages_list()LifecycleManager.reload_state()
- craft_parts.main module
- craft_parts.parts module
PartPart.backstage_dirPart.default_partitionPart.dependenciesPart.has_chisel_as_build_snapPart.has_overlayPart.has_slicesPart.organizes_to_overlayPart.overlay_dirPart.overlay_dirsPart.part_build_dirPart.part_build_subdirPart.part_cache_dirPart.part_export_dirPart.part_install_dirPart.part_install_dirsPart.part_layer_dirPart.part_layer_dirsPart.part_packages_dirPart.part_run_dirPart.part_snaps_dirPart.part_src_dirPart.part_src_subdirPart.part_state_dirPart.parts_dirPart.prime_dirPart.prime_dirsPart.stage_dirPart.stage_dirs
PartSpecPartSpec.afterPartSpec.build_attributesPartSpec.build_environmentPartSpec.build_packagesPartSpec.build_snapsPartSpec.disable_parallelPartSpec.get_scriptlet()PartSpec.has_chisel_as_build_snapPartSpec.has_overlayPartSpec.has_slicesPartSpec.marshal()PartSpec.model_configPartSpec.organize_filesPartSpec.organizes_to_overlayPartSpec.overlay_filesPartSpec.overlay_packagesPartSpec.overlay_scriptPartSpec.override_buildPartSpec.override_primePartSpec.override_pullPartSpec.override_stagePartSpec.permissionsPartSpec.pluginPartSpec.prime_filesPartSpec.sourcePartSpec.source_branchPartSpec.source_channelPartSpec.source_checksumPartSpec.source_commitPartSpec.source_depthPartSpec.source_subdirPartSpec.source_submodulesPartSpec.source_tagPartSpec.source_typePartSpec.stage_filesPartSpec.stage_packagesPartSpec.stage_snapsPartSpec.unmarshal()PartSpec.validate_overlay_feature()PartSpec.validate_root()
get_parts_with_overlay()has_overlay_visibility()part_by_name()part_dependencies()part_has_chisel_as_build_snap()part_has_overlay()part_has_slices()part_list_by_name()sort_parts()validate_part()
- craft_parts.permissions module
- craft_parts.pydantic_schema module
- craft_parts.sequencer module
- craft_parts.steps module
- craft_parts.xattrs module
- Module contents
ActionActionPropertiesActionTypeFeaturesLifecycleManagerLifecycleManager.action_executor()LifecycleManager.clean()LifecycleManager.get_prime_state_timestamp()LifecycleManager.get_primed_stage_packages()LifecycleManager.get_pull_assets()LifecycleManager.plan()LifecycleManager.project_infoLifecycleManager.refresh_packages_list()LifecycleManager.reload_state()
PartPart.backstage_dirPart.default_partitionPart.dependenciesPart.has_chisel_as_build_snapPart.has_overlayPart.has_slicesPart.organizes_to_overlayPart.overlay_dirPart.overlay_dirsPart.part_build_dirPart.part_build_subdirPart.part_cache_dirPart.part_export_dirPart.part_install_dirPart.part_install_dirsPart.part_layer_dirPart.part_layer_dirsPart.part_packages_dirPart.part_run_dirPart.part_snaps_dirPart.part_src_dirPart.part_src_subdirPart.part_state_dirPart.parts_dirPart.prime_dirPart.prime_dirsPart.stage_dirPart.stage_dirs
PartInfoPartInfo.get_project_var()PartInfo.part_build_dirPartInfo.part_build_subdirPartInfo.part_cache_dirPartInfo.part_dependenciesPartInfo.part_export_dirPartInfo.part_install_dirPartInfo.part_namePartInfo.part_src_dirPartInfo.part_src_subdirPartInfo.part_state_dirPartInfo.plugin_namePartInfo.project_infoPartInfo.set_project_var()
PartsErrorProjectDirsProjectInfoProjectInfo.alias_partition_dirProjectInfo.application_nameProjectInfo.arch_build_forProjectInfo.arch_build_onProjectInfo.arch_tripletProjectInfo.arch_triplet_build_forProjectInfo.arch_triplet_build_onProjectInfo.baseProjectInfo.base_layer_dirProjectInfo.base_layer_hashProjectInfo.cache_dirProjectInfo.custom_argsProjectInfo.default_filesystem_mountProjectInfo.default_partitionProjectInfo.dirsProjectInfo.filesystem_mountsProjectInfo.get_project_var()ProjectInfo.host_archProjectInfo.is_cross_compilingProjectInfo.is_default_partition()ProjectInfo.is_default_partition_aliasedProjectInfo.overlay_alias_symlinkProjectInfo.parallel_build_countProjectInfo.partitionsProjectInfo.parts_alias_symlinkProjectInfo.prime_alias_symlinkProjectInfo.project_nameProjectInfo.project_optionsProjectInfo.project_varsProjectInfo.project_vars_part_nameProjectInfo.set_project_var()ProjectInfo.stage_alias_symlinkProjectInfo.strict_modeProjectInfo.target_archProjectInfo.usrmerged_by_default
ProjectVarProjectVarInfoStepStepInfoexpand_environment()part_has_chisel_as_build_snap()part_has_overlay()part_has_slices()validate_part()
- Subpackages