mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-01 04:18:05 -05:00
This mostly replaces `flatpak_transaction_add_rebase()`. It’s necessary because the uninstall op for an eol-rebased app needs to be linked to the install/update op for the rebased app, otherwise one op can proceed after the other has failed (or they can be run in the wrong order) and result in the old app being uninstalled but the new one not installed. The following commit will port the internal flatpak `FlatpakTransaction` subclasses to use it. Other consumers of `FlatpakTransaction` (such as gnome-software) will have to be ported as well. Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Fixes: #3991
368 lines
10 KiB
Plaintext
368 lines
10 KiB
Plaintext
<SECTION>
|
|
<FILE>flatpak-installation</FILE>
|
|
<TITLE>FlatpakInstallation</TITLE>
|
|
FlatpakInstallation
|
|
FlatpakQueryFlags
|
|
flatpak_installation_new_system
|
|
flatpak_installation_new_system_with_id
|
|
flatpak_installation_new_user
|
|
flatpak_installation_new_for_path
|
|
flatpak_installation_get_is_user
|
|
flatpak_installation_get_path
|
|
flatpak_installation_create_monitor
|
|
flatpak_installation_install
|
|
flatpak_installation_install_full
|
|
flatpak_installation_update
|
|
flatpak_installation_update_full
|
|
flatpak_installation_uninstall
|
|
flatpak_installation_uninstall_full
|
|
flatpak_installation_launch
|
|
flatpak_installation_launch_full
|
|
flatpak_installation_get_current_installed_app
|
|
flatpak_installation_get_display_name
|
|
flatpak_installation_get_id
|
|
flatpak_installation_get_installed_ref
|
|
flatpak_installation_get_min_free_space_bytes
|
|
flatpak_installation_get_priority
|
|
flatpak_installation_get_storage_type
|
|
flatpak_installation_set_no_interaction
|
|
flatpak_installation_get_no_interaction
|
|
flatpak_installation_list_installed_refs
|
|
flatpak_installation_list_installed_refs_by_kind
|
|
flatpak_installation_list_installed_refs_for_update
|
|
flatpak_installation_list_installed_related_refs_sync
|
|
flatpak_installation_list_unused_refs
|
|
flatpak_installation_list_remote_refs_sync
|
|
flatpak_installation_list_remote_refs_sync_full
|
|
flatpak_installation_list_remotes_by_type
|
|
flatpak_installation_list_remote_related_refs_sync
|
|
flatpak_installation_list_remotes
|
|
flatpak_installation_get_remote_by_name
|
|
flatpak_installation_fetch_remote_metadata_sync
|
|
flatpak_installation_fetch_remote_ref_sync
|
|
flatpak_installation_fetch_remote_ref_sync_full
|
|
flatpak_installation_fetch_remote_size_sync
|
|
flatpak_installation_load_app_overrides
|
|
flatpak_installation_update_appstream_sync
|
|
flatpak_installation_install_bundle
|
|
flatpak_installation_install_ref_file
|
|
flatpak_installation_drop_caches
|
|
flatpak_installation_add_remote
|
|
flatpak_installation_modify_remote
|
|
flatpak_installation_remove_remote
|
|
flatpak_installation_update_remote_sync
|
|
flatpak_installation_cleanup_local_refs_sync
|
|
flatpak_installation_get_config
|
|
flatpak_installation_get_default_languages
|
|
flatpak_installation_get_default_locales
|
|
flatpak_installation_prune_local_repo
|
|
flatpak_installation_remove_local_ref_sync
|
|
flatpak_installation_set_config_sync
|
|
flatpak_installation_update_appstream_full_sync
|
|
flatpak_installation_run_triggers
|
|
flatpak_get_default_arch
|
|
flatpak_get_supported_arches
|
|
flatpak_get_system_installations
|
|
FlatpakProgressCallback
|
|
FlatpakUpdateFlags
|
|
FlatpakInstallFlags
|
|
FlatpakUninstallFlags
|
|
FlatpakLaunchFlags
|
|
FlatpakStorageType
|
|
<SUBSECTION Standard>
|
|
FLATPAK_INSTALLATION
|
|
FLATPAK_IS_INSTALLATION
|
|
FLATPAK_TYPE_INSTALLATION
|
|
FlatpakInstallationClass
|
|
flatpak_installation_get_type
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<FILE>flatpak-installed-ref</FILE>
|
|
<TITLE>FlatpakInstalledRef</TITLE>
|
|
FlatpakInstalledRef
|
|
flatpak_installed_ref_get_deploy_dir
|
|
flatpak_installed_ref_get_installed_size
|
|
flatpak_installed_ref_get_is_current
|
|
flatpak_installed_ref_get_latest_commit
|
|
flatpak_installed_ref_get_origin
|
|
flatpak_installed_ref_load_appdata
|
|
flatpak_installed_ref_load_metadata
|
|
flatpak_installed_ref_get_appdata_license
|
|
flatpak_installed_ref_get_appdata_name
|
|
flatpak_installed_ref_get_appdata_summary
|
|
flatpak_installed_ref_get_appdata_version
|
|
flatpak_installed_ref_get_appdata_content_rating
|
|
flatpak_installed_ref_get_appdata_content_rating_type
|
|
flatpak_installed_ref_get_subpaths
|
|
flatpak_installed_ref_get_eol
|
|
flatpak_installed_ref_get_eol_rebase
|
|
<SUBSECTION Standard>
|
|
FlatpakInstalledRefClass
|
|
FLATPAK_INSTALLED_REF
|
|
FLATPAK_IS_INSTALLED_REF
|
|
FLATPAK_TYPE_INSTALLED_REF
|
|
flatpak_installed_ref_get_type
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<FILE>flatpak-remote-ref</FILE>
|
|
<TITLE>FlatpakRemoteRef</TITLE>
|
|
FlatpakRemoteRef
|
|
flatpak_remote_ref_get_remote_name
|
|
flatpak_remote_ref_get_download_size
|
|
flatpak_remote_ref_get_eol
|
|
flatpak_remote_ref_get_eol_rebase
|
|
flatpak_remote_ref_get_installed_size
|
|
flatpak_remote_ref_get_metadata
|
|
<SUBSECTION Standard>
|
|
FLATPAK_IS_REMOTE_REF
|
|
FLATPAK_REMOTE_REF
|
|
FLATPAK_TYPE_REMOTE_REF
|
|
FlatpakRemoteRefClass
|
|
flatpak_remote_ref_get_type
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<FILE>flatpak-related-ref</FILE>
|
|
<TITLE>FlatpakRelatedRef</TITLE>
|
|
FlatpakRelatedRef
|
|
flatpak_related_ref_new
|
|
flatpak_related_ref_get_subpaths
|
|
flatpak_related_ref_should_download
|
|
flatpak_related_ref_should_delete
|
|
flatpak_related_ref_should_autoprune
|
|
<SUBSECTION Standard>
|
|
FLATPAK_IS_RELATED_REF
|
|
FLATPAK_RELATED_REF
|
|
FLATPAK_TYPE_RELATED_REF
|
|
FlatpakRelatedRefClass
|
|
flatpak_related_ref_get_type
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<FILE>flatpak-ref</FILE>
|
|
<TITLE>FlatpakRef</TITLE>
|
|
FlatpakRef
|
|
FlatpakRefKind
|
|
flatpak_ref_format_ref
|
|
flatpak_ref_get_arch
|
|
flatpak_ref_get_branch
|
|
flatpak_ref_get_collection_id
|
|
flatpak_ref_get_commit
|
|
flatpak_ref_get_kind
|
|
flatpak_ref_get_name
|
|
flatpak_ref_parse
|
|
<SUBSECTION Standard>
|
|
FlatpakRefClass
|
|
FLATPAK_IS_REF
|
|
FLATPAK_REF
|
|
FLATPAK_TYPE_REF
|
|
flatpak_ref_get_type
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<FILE>flatpak-remote</FILE>
|
|
<TITLE>FlatpakRemote</TITLE>
|
|
FlatpakRemote
|
|
flatpak_remote_new
|
|
flatpak_remote_new_from_file
|
|
flatpak_remote_get_name
|
|
flatpak_remote_get_appstream_dir
|
|
flatpak_remote_get_appstream_timestamp
|
|
flatpak_remote_get_collection_id
|
|
flatpak_remote_set_collection_id
|
|
flatpak_remote_get_default_branch
|
|
flatpak_remote_set_default_branch
|
|
flatpak_remote_get_gpg_verify
|
|
flatpak_remote_set_gpg_verify
|
|
flatpak_remote_set_gpg_key
|
|
flatpak_remote_get_nodeps
|
|
flatpak_remote_set_nodeps
|
|
flatpak_remote_get_noenumerate
|
|
flatpak_remote_set_noenumerate
|
|
flatpak_remote_get_prio
|
|
flatpak_remote_set_prio
|
|
flatpak_remote_get_remote_type
|
|
flatpak_remote_get_title
|
|
flatpak_remote_set_title
|
|
flatpak_remote_get_comment
|
|
flatpak_remote_set_comment
|
|
flatpak_remote_get_description
|
|
flatpak_remote_set_description
|
|
flatpak_remote_get_homepage
|
|
flatpak_remote_set_homepage
|
|
flatpak_remote_get_icon
|
|
flatpak_remote_set_icon
|
|
flatpak_remote_get_url
|
|
flatpak_remote_set_url
|
|
flatpak_remote_get_disabled
|
|
flatpak_remote_set_disabled
|
|
flatpak_remote_get_filter
|
|
flatpak_remote_set_filter
|
|
flatpak_remote_get_main_ref
|
|
flatpak_remote_set_main_ref
|
|
FlatpakRemoteType
|
|
<SUBSECTION Standard>
|
|
FlatpakRemoteClass
|
|
FLATPAK_IS_REMOTE
|
|
FLATPAK_REMOTE
|
|
FLATPAK_TYPE_REMOTE
|
|
flatpak_remote_get_type
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<FILE>flatpak-transaction-progress</FILE>
|
|
<TITLE>FlatpakTransactionProgress</TITLE>
|
|
FlatpakTransactionProgress
|
|
flatpak_transaction_progress_get_is_estimating
|
|
flatpak_transaction_progress_get_progress
|
|
flatpak_transaction_progress_get_status
|
|
flatpak_transaction_progress_set_update_frequency
|
|
flatpak_transaction_progress_get_bytes_transferred
|
|
flatpak_transaction_progress_get_start_time
|
|
|
|
<SUBSECTION Standard>
|
|
FlatpakTransactionProgressClass
|
|
FLATPAK_IS_TRANSACTION_PROGRESS
|
|
FLATPAK_TRANSACTION_PROGRESS
|
|
FLATPAK_TYPE_TRANSACTION_PROGRESS
|
|
flatpak_transaction_progress_get_type
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<FILE>flatpak-transaction-operation</FILE>
|
|
<TITLE>FlatpakTransactionOperation</TITLE>
|
|
FlatpakTransactionOperation
|
|
flatpak_transaction_operation_get_bundle_path
|
|
flatpak_transaction_operation_get_commit
|
|
flatpak_transaction_operation_get_operation_type
|
|
flatpak_transaction_operation_get_ref
|
|
flatpak_transaction_operation_get_remote
|
|
flatpak_transaction_operation_get_metadata
|
|
flatpak_transaction_operation_get_old_metadata
|
|
flatpak_transaction_operation_get_download_size
|
|
flatpak_transaction_operation_get_installed_size
|
|
flatpak_transaction_operation_type_to_string
|
|
<SUBSECTION Standard>
|
|
FlatpakTransactionOperationClass
|
|
FLATPAK_IS_TRANSACTION_OPERATION
|
|
FLATPAK_TRANSACTION_OPERATION
|
|
FLATPAK_TYPE_TRANSACTION_OPERATION
|
|
flatpak_transaction_operation_get_type
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<FILE>flatpak-transaction</FILE>
|
|
<TITLE>FlatpakTransaction</TITLE>
|
|
FlatpakTransaction
|
|
FlatpakTransactionOperationType
|
|
FlatpakTransactionErrorDetails
|
|
FlatpakTransactionRemoteReason
|
|
FlatpakTransactionResult
|
|
flatpak_transaction_new_for_installation
|
|
flatpak_transaction_add_install
|
|
flatpak_transaction_add_install_bundle
|
|
flatpak_transaction_add_install_flatpakref
|
|
flatpak_transaction_add_rebase
|
|
flatpak_transaction_add_rebase_and_uninstall
|
|
flatpak_transaction_add_update
|
|
flatpak_transaction_add_uninstall
|
|
flatpak_transaction_add_default_dependency_sources
|
|
flatpak_transaction_add_dependency_source
|
|
flatpak_transaction_run
|
|
<SUBSECTION>
|
|
flatpak_transaction_get_current_operation
|
|
flatpak_transaction_get_installation
|
|
flatpak_transaction_get_operations
|
|
flatpak_transaction_is_empty
|
|
<SUBSECTION>
|
|
flatpak_transaction_set_disable_dependencies
|
|
flatpak_transaction_set_disable_prune
|
|
flatpak_transaction_set_disable_related
|
|
flatpak_transaction_set_disable_static_deltas
|
|
flatpak_transaction_set_no_deploy
|
|
flatpak_transaction_get_no_deploy
|
|
flatpak_transaction_set_no_pull
|
|
flatpak_transaction_get_no_pull
|
|
flatpak_transaction_set_reinstall
|
|
flatpak_transaction_set_force_uninstall
|
|
flatpak_transaction_set_default_arch
|
|
<subsection>
|
|
flatpak_transaction_set_parent_window
|
|
flatpak_transaction_get_parent_window
|
|
flatpak_transaction_abort_webflow
|
|
|
|
<SUBSECTION Standard>
|
|
FlatpakTransactionClass
|
|
FLATPAK_IS_TRANSACTION
|
|
FLATPAK_TRANSACTION
|
|
FLATPAK_TYPE_TRANSACTION
|
|
flatpak_transaction_get_type
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<FILE>flatpak-version-macros</FILE>
|
|
FLATPAK_CHECK_VERSION
|
|
FLATPAK_MAJOR_VERSION
|
|
FLATPAK_MINOR_VERSION
|
|
FLATPAK_MICRO_VERSION
|
|
<SUBSECTION Standard>
|
|
FLATPAK_EXTERN
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<FILE>flatpak-error</FILE>
|
|
FLATPAK_ERROR
|
|
FlatpakError
|
|
FLATPAK_PORTAL_ERROR
|
|
FlatpakPortalError
|
|
<SUBSECTION Standard>
|
|
flatpak_error_quark
|
|
flatpak_portal_error_quark
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<FILE>flatpak-bundle-ref</FILE>
|
|
<TITLE>FlatpakBundleRef</TITLE>
|
|
FlatpakBundleRef
|
|
flatpak_bundle_ref_new
|
|
flatpak_bundle_ref_get_file
|
|
flatpak_bundle_ref_get_metadata
|
|
flatpak_bundle_ref_get_appstream
|
|
flatpak_bundle_ref_get_icon
|
|
flatpak_bundle_ref_get_origin
|
|
flatpak_bundle_ref_get_installed_size
|
|
flatpak_bundle_ref_get_runtime_repo_url
|
|
<SUBSECTION Standard>
|
|
FlatpakBundleRefClass
|
|
FLATPAK_TYPE_BUNDLE_REF
|
|
FLATPAK_BUNDLE_REF
|
|
FLATPAK_IS_BUNDLE_REF
|
|
flatpak_bundle_ref_get_type
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<FILE>flatpak-instance</FILE>
|
|
<TITLE>FlatpakInstance</TITLE>
|
|
FlatpakInstance
|
|
flatpak_instance_get_all
|
|
flatpak_instance_get_id
|
|
flatpak_instance_get_app
|
|
flatpak_instance_get_arch
|
|
flatpak_instance_get_branch
|
|
flatpak_instance_get_commit
|
|
flatpak_instance_get_runtime
|
|
flatpak_instance_get_runtime_commit
|
|
flatpak_instance_get_pid
|
|
flatpak_instance_get_child_pid
|
|
flatpak_instance_get_info
|
|
flatpak_instance_is_running
|
|
<SUBSECTION Standard>
|
|
FlatpakInstanceClass
|
|
FLATPAK_TYPE_INSTANCE
|
|
FLATPAK_INSTANCE
|
|
FLATPAK_IS_INSTANCE
|
|
flatpak_instance_get_type
|
|
</SECTION>
|