Class
FwupdRemote
Description [src]
class Fwupd.Remote : GObject.Object {
parent_instance: GObject
}
A source of metadata that provides firmware.
Remotes can be local (e.g. folders on a disk) or remote (e.g. downloaded over HTTP or IPFS).
See also: FwupdClient
Instance methods
fwupd_remote_build_firmware_uri
Builds a URI for the URL using the username and password set for the remote, including any basename URI substitution.
Available since: 0.9.7
fwupd_remote_build_report_uri
Builds a URI for the URL using the username and password set for the remote.
Available since: 1.9.1
fwupd_remote_get_agreement
Gets the remote agreement in AppStream markup format.
Available since: 1.0.7
fwupd_remote_get_approval_required
Gets if firmware from the remote should be checked against the list of a approved checksums.
Available since: 1.2.6
fwupd_remote_get_automatic_reports
Gets if reports should be automatically uploaded to this remote.
Available since: 1.3.3
fwupd_remote_get_automatic_security_reports
Gets if security reports should be automatically uploaded to this remote.
Available since: 1.5.0
fwupd_remote_get_filename_cache
Gets the path and filename that the remote is using for a cache.
Available since: 0.9.6
fwupd_remote_get_filename_cache_sig
Gets the path and filename that the remote is using for a signature cache.
Available since: 0.9.7
fwupd_remote_get_filename_source
Gets the path and filename of the remote itself, typically a .conf
file.
Available since: 0.9.8
fwupd_remote_get_metadata_uri_sig
Gets the URI for the remote metadata signature.
Available since: 0.9.7
fwupd_remote_get_order_after
Gets the list of remotes this plugin should be ordered after.
Available since: 0.9.5
fwupd_remote_get_order_before
Gets the list of remotes this plugin should be ordered before.
Available since: 0.9.5
fwupd_remote_get_priority
Gets the priority of the remote, where bigger numbers are better.
Available since: 0.9.5
fwupd_remote_get_refresh_interval
Sets the plugin refresh interval in seconds.
Available since: 1.9.4
fwupd_remote_get_remotes_dir
Gets the base directory for storing remote metadata.
Available since: 1.3.1
fwupd_remote_get_title
Gets the remote title, e.g. Linux Vendor Firmware Service
.
Available since: 0.9.8
fwupd_remote_load_from_filename
Loads metadata about the remote from a keyfile. This can be called zero or multiple times for each remote.
Available since: 0.9.3
fwupd_remote_load_signature
Parses the signature, updating the metadata URI as appropriate.
Available since: 1.4.0
fwupd_remote_load_signature_bytes
Parses the signature, updating the metadata URI as appropriate.
Available since: 1.4.5
fwupd_remote_set_agreement
Sets the remote agreement in AppStream markup format.
Available since: 1.0.7
fwupd_remote_set_checksum
Sets the remote signature checksum, typically only useful in the self tests.
Available since: 1.8.2
fwupd_remote_set_filename_cache
Sets the remote filename cache filename, typically only useful in the self tests.
Available since: 1.8.2
fwupd_remote_set_filename_source
Sets the source filename. This is typically a file in /etc/fwupd/remotes/
.
Available since: 1.6.1
fwupd_remote_setup
Sets up the remote ready for use, checking that required parameters have been set. Calling this method multiple times has no effect.
Available since: 1.6.1
Properties
Fwupd.Remote:approval-required
If firmware from the remote should be checked against the system list of approved firmware.
Available since: 1.2.6
Fwupd.Remote:automatic-security-reports
The behavior for auto-uploading security reports.
Available since: 1.5.0
Class structure
struct FwupdRemoteClass {
GObjectClass parent_class;
void (* _fwupd_reserved1) (
void
);
void (* _fwupd_reserved2) (
void
);
void (* _fwupd_reserved3) (
void
);
void (* _fwupd_reserved4) (
void
);
void (* _fwupd_reserved5) (
void
);
void (* _fwupd_reserved6) (
void
);
void (* _fwupd_reserved7) (
void
);
}
Class members
parent_class |
|
No description available. | |
_fwupd_reserved1 |
|
No description available. | |
_fwupd_reserved2 |
|
No description available. | |
_fwupd_reserved3 |
|
No description available. | |
_fwupd_reserved4 |
|
No description available. | |
_fwupd_reserved5 |
|
No description available. | |
_fwupd_reserved6 |
|
No description available. | |
_fwupd_reserved7 |
|
No description available. |
Functions
fwupd_remote_array_from_variant
Creates an array of new devices using serialized data.
Available since: 1.2.10
fwupd_remote_kind_from_string
Converts an printable string to an enumerated type.
Available since: 0.9.6
fwupd_remote_kind_to_string
Converts an enumerated type to a printable string.
Available since: 0.9.6