Foundry.Forge

g Foundry.Contextual Foundry.Contextual Foundry.Forge Foundry.Forge Foundry.Contextual->Foundry.Forge 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)

class

error_quark ()

dup_plugin_info ()

find_project ()

find_user ()

Virtual Methods

Inherited:

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

do_find_project ()

do_find_user ()

Properties

Inherited:

Foundry.Contextual (1)

Name

Type

Flags

Short Description

id

str

r

plugin-info

Peas.PluginInfo

r/w/co

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

Foundry.Contextual

r

Class Details

class Foundry.Forge(**kwargs)
Bases:

Foundry.Contextual

Abstract:

Yes

Structure:

Foundry.ForgeClass

Abstract base class for forge service implementations.

Foundry.Forge provides the core interface for interacting with code hosting platforms and forge services. Concrete implementations handle specific forge APIs and provide unified access to projects, issues, and collaboration features across different platforms.

New in version 1.1.

classmethod error_quark()
Return type:

int

dup_plugin_info()
Return type:

Peas.PluginInfo or None

find_project()
Returns:

a [class`Dex`.Future] that resolves to a [class`Foundry`.ForgeProject] or rejects with error.

Return type:

Dex.Future

Find the [class`Foundry`.ForgeProject] that represents the current project.

New in version 1.1.

find_user()
Returns:

a [class`Dex`.Future] that resolves to a [class`Foundry`.ForgeUser] or rejects with error.

Return type:

Dex.Future

Find the [class`Foundry`.ForgeUser] that represents the current user.

New in version 1.1.

do_find_project() virtual
Returns:

a [class`Dex`.Future] that resolves to a [class`Foundry`.ForgeProject] or rejects with error.

Return type:

Dex.Future

Find the [class`Foundry`.ForgeProject] that represents the current project.

New in version 1.1.

do_find_user() virtual
Returns:

a [class`Dex`.Future] that resolves to a [class`Foundry`.ForgeUser] or rejects with error.

Return type:

Dex.Future

Find the [class`Foundry`.ForgeUser] that represents the current user.

New in version 1.1.

Property Details

Foundry.Forge.props.id
Name:

id

Type:

str

Default Value:

None

Flags:

READABLE

Foundry.Forge.props.plugin_info
Name:

plugin-info

Type:

Peas.PluginInfo

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY