Foundry.BuildProgress

g Foundry.BuildProgress Foundry.BuildProgress Foundry.Contextual Foundry.Contextual Foundry.Contextual->Foundry.BuildProgress GObject.GInterface GObject.GInterface Json.Serializable Json.Serializable GObject.GInterface->Json.Serializable GObject.Object GObject.Object GObject.Object->Foundry.Contextual Json.Serializable->Foundry.Contextual

Subclasses:

None

Methods

Inherited:

Foundry.Contextual (4), GObject.Object (37), Json.Serializable (8)

Structs:

GObject.ObjectClass (5)

add_artifact (file)

await_ ()

dup_cancellable ()

get_phase ()

list_artifacts ()

setup_pty (launcher)

Virtual Methods

Inherited:

GObject.Object (7), Json.Serializable (5)

Properties

Inherited:

Foundry.Contextual (1)

Name

Type

Flags

Short Description

builddir

str

r

phase

Foundry.BuildPipelinePhase

r

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Foundry.BuildProgress(**kwargs)
Bases:

Foundry.Contextual

Abstract:

No

Structure:

Foundry.BuildProgressClass

Manages build progress tracking and stage execution.

Foundry.BuildProgress provides functionality for tracking build progress including stage execution, artifact collection, and progress reporting. It integrates with the build pipeline and provides real-time feedback on build operations.

add_artifact(file)
Parameters:

file (Gio.File) –

await_()
Returns:

a [class`Dex`.Future].

Return type:

Dex.Future

Gets a [class`Dex`.Future] that will resolve when the progress has completed running.

dup_cancellable()
Returns:

a [class`Dex`.Future] that resolves when the build operation has been cancelled.

Return type:

Dex.Cancellable

Gets a cancellable that will reject when the build has been cancelled.

get_phase()
Return type:

Foundry.BuildPipelinePhase

list_artifacts()
Returns:

a [iface`Gio`.ListModel] of [iface`Gio`.File]

Return type:

Gio.ListModel

Gets a Gio.ListModel of Gio.File representing build arifacts.

This may include, for example, a path to a “.flatpak” bundle.

setup_pty(launcher)
Parameters:

launcher (Foundry.ProcessLauncher) –

Property Details

Foundry.BuildProgress.props.builddir
Name:

builddir

Type:

str

Default Value:

None

Flags:

READABLE

Foundry.BuildProgress.props.phase
Name:

phase

Type:

Foundry.BuildPipelinePhase

Default Value:

Foundry.BuildPipelinePhase.NONE

Flags:

READABLE