Package referenceΒΆ
- craft_parts package
- Subpackages
- craft_parts.executor package
- Submodules
- craft_parts.executor.collisions module
- craft_parts.executor.environment 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
- craft_parts.packages package
- Submodules
- craft_parts.packages.apt_cache module
- craft_parts.packages.base module
BaseRepository
BaseRepository.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_filters
BaseRepository.unpack_stage_packages()
DummyRepository
DummyRepository.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
BuildPackageNotFound
BuildPackagesNotInstalled
ChiselError
FileProviderNotFound
PackageBackendNotSupported
PackageBroken
PackageFetchError
PackageListRefreshError
PackageNotFound
PackagesDownloadError
PackagesError
PackagesNotFound
SnapDownloadError
SnapGetAssertionError
SnapInstallError
SnapRefreshError
SnapUnavailable
SnapdConnectionError
UnpackError
- craft_parts.packages.normalize module
- craft_parts.packages.platform module
- craft_parts.packages.snaps module
SnapPackage
SnapPackage.download()
SnapPackage.get_current_channel()
SnapPackage.get_local_snap_info()
SnapPackage.get_store_snap_info()
SnapPackage.has_assertions()
SnapPackage.in_store
SnapPackage.install()
SnapPackage.installed
SnapPackage.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
- Submodules
- craft_parts.plugins.ant_plugin module
- craft_parts.plugins.autotools_plugin module
- craft_parts.plugins.base module
- craft_parts.plugins.cmake_plugin module
- craft_parts.plugins.dotnet_plugin module
- craft_parts.plugins.dump_plugin module
- craft_parts.plugins.go_plugin module
- craft_parts.plugins.go_use_plugin module
- craft_parts.plugins.java_plugin module
- craft_parts.plugins.make_plugin module
- craft_parts.plugins.maven_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.rust_plugin module
RustPlugin
RustPluginEnvironmentValidator
RustPluginProperties
RustPluginProperties.after
RustPluginProperties.model_config
RustPluginProperties.plugin
RustPluginProperties.rust_cargo_parameters
RustPluginProperties.rust_channel
RustPluginProperties.rust_features
RustPluginProperties.rust_ignore_toolchain_file
RustPluginProperties.rust_inherit_ldflags
RustPluginProperties.rust_no_default_features
RustPluginProperties.rust_path
RustPluginProperties.rust_use_global_lto
RustPluginProperties.source
RustPluginProperties.validate_rust_channel()
- craft_parts.plugins.scons_plugin module
- craft_parts.plugins.uv_plugin module
- craft_parts.plugins.validator module
- Module contents
- Submodules
- 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
- 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
StateManager
StateManager.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
- Module contents
- Submodules
- craft_parts.utils package
- 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
- Submodules
- 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
CallbackRegistrationError
CopyFileNotFound
CopyTreeError
DebError
FeatureError
FileOrganizeError
FilesetConflict
FilesetError
InvalidAction
InvalidApplicationName
InvalidArchitecture
InvalidControlAPICall
InvalidPartName
InvalidPlugin
OsReleaseCodenameError
OsReleaseIdError
OsReleaseNameError
OsReleaseVersionIdError
OverlayPackageNotFound
OverlayPermissionError
OverlayPlatformError
PartDependencyCycle
PartFilesConflict
PartSpecificationError
PartitionError
PartitionNotFound
PartitionUsageError
PartitionUsageWarning
PartsError
PluginBuildError
PluginCleanError
PluginEnvironmentValidationError
PluginNotStrict
PluginPullError
ScriptletRunError
StageFilesConflict
StagePackageNotFound
UndefinedPlugin
XAttributeError
XAttributeTooLong
- craft_parts.features module
- craft_parts.infos module
PartInfo
ProjectInfo
ProjectInfo.application_name
ProjectInfo.arch_build_for
ProjectInfo.arch_build_on
ProjectInfo.arch_triplet
ProjectInfo.arch_triplet_build_for
ProjectInfo.arch_triplet_build_on
ProjectInfo.base
ProjectInfo.base_layer_dir
ProjectInfo.base_layer_hash
ProjectInfo.cache_dir
ProjectInfo.custom_args
ProjectInfo.dirs
ProjectInfo.get_project_var()
ProjectInfo.host_arch
ProjectInfo.is_cross_compiling
ProjectInfo.parallel_build_count
ProjectInfo.partitions
ProjectInfo.project_name
ProjectInfo.project_options
ProjectInfo.project_vars_part_name
ProjectInfo.set_project_var()
ProjectInfo.strict_mode
ProjectInfo.target_arch
ProjectVar
StepInfo
- craft_parts.lifecycle_manager module
- craft_parts.main module
- craft_parts.parts module
Part
Part.dependencies
Part.has_chisel_as_build_snap
Part.has_overlay
Part.has_slices
Part.overlay_dir
Part.part_build_dir
Part.part_build_subdir
Part.part_cache_dir
Part.part_install_dir
Part.part_install_dirs
Part.part_layer_dir
Part.part_packages_dir
Part.part_run_dir
Part.part_snaps_dir
Part.part_src_dir
Part.part_src_subdir
Part.part_state_dir
Part.parts_dir
Part.prime_dir
Part.prime_dirs
Part.stage_dir
Part.stage_dirs
PartSpec
PartSpec.after
PartSpec.build_attributes
PartSpec.build_environment
PartSpec.build_packages
PartSpec.build_snaps
PartSpec.disable_parallel
PartSpec.get_scriptlet()
PartSpec.has_chisel_as_build_snap
PartSpec.has_overlay
PartSpec.has_slices
PartSpec.marshal()
PartSpec.model_config
PartSpec.organize_files
PartSpec.overlay_files
PartSpec.overlay_packages
PartSpec.overlay_script
PartSpec.override_build
PartSpec.override_prime
PartSpec.override_pull
PartSpec.override_stage
PartSpec.permissions
PartSpec.plugin
PartSpec.prime_files
PartSpec.source
PartSpec.source_branch
PartSpec.source_checksum
PartSpec.source_commit
PartSpec.source_depth
PartSpec.source_subdir
PartSpec.source_submodules
PartSpec.source_tag
PartSpec.source_type
PartSpec.stage_files
PartSpec.stage_packages
PartSpec.stage_snaps
PartSpec.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
Action
ActionProperties
ActionType
Features
LifecycleManager
Part
Part.dependencies
Part.has_chisel_as_build_snap
Part.has_overlay
Part.has_slices
Part.overlay_dir
Part.part_build_dir
Part.part_build_subdir
Part.part_cache_dir
Part.part_install_dir
Part.part_install_dirs
Part.part_layer_dir
Part.part_packages_dir
Part.part_run_dir
Part.part_snaps_dir
Part.part_src_dir
Part.part_src_subdir
Part.part_state_dir
Part.parts_dir
Part.prime_dir
Part.prime_dirs
Part.stage_dir
Part.stage_dirs
PartInfo
PartsError
ProjectDirs
ProjectInfo
ProjectInfo.application_name
ProjectInfo.arch_build_for
ProjectInfo.arch_build_on
ProjectInfo.arch_triplet
ProjectInfo.arch_triplet_build_for
ProjectInfo.arch_triplet_build_on
ProjectInfo.base
ProjectInfo.base_layer_dir
ProjectInfo.base_layer_hash
ProjectInfo.cache_dir
ProjectInfo.custom_args
ProjectInfo.dirs
ProjectInfo.get_project_var()
ProjectInfo.host_arch
ProjectInfo.is_cross_compiling
ProjectInfo.parallel_build_count
ProjectInfo.partitions
ProjectInfo.project_name
ProjectInfo.project_options
ProjectInfo.project_vars_part_name
ProjectInfo.set_project_var()
ProjectInfo.strict_mode
ProjectInfo.target_arch
Step
StepInfo
expand_environment()
part_has_chisel_as_build_snap()
part_has_overlay()
part_has_slices()
validate_part()
- Subpackages