OBSPackage QML Type

Represents an OBS package More...

Import Statement: import org.nephros.sailfish.OBSMaster 1.0
Inherits:

OBSTypeBase

Properties

Methods

Detailed Description

Property Documentation

true if the package is a Link


[read-only] hasMeta : bool

true if at least some of the Metadata attributes are available


[read-only] hasResults : bool

Convenience property for determining whether metadata has been set:


hasService : bool

true if the package has a _service file


[read-only] isRemoteOnly : bool

true if we have a OBSTypeBase::name, but no OBSTypeBase::path. Hence we are a "remote only" object


linkInfo : var

Information about the link, if it is a link.

Value is an object with the properties projectName, and packageName for the link target project and package names, respectively.

See also hasLink and OBS::setPkgInfoFromPath().


localFiles : FileModel


metaDescription : string

Description Metadata, see OBS Metadata


metaName : string

Name Metadata, see OBS Metadata


metaProjectName : string

the name of this packages project


metaTitle : string

Title Metadata, see OBS Metadata


name : string

The name of this OBS Type


parentProject : string

The name of the parent project. In the case of a Package, this is its owning project. In the case of a Subproject, this is its parent project.


path : string

The local file path.

Warning: Important! OBSMaster::OBS handles changes of this as a signal that the meta information must be re-initialized!


remoteFilesXml : string

Holds the source file list as an XML string.


remoteRevision : string

The revision of the current OBS Package (remotely)


resultXml : string

Holds the build result list as an XML string.


revision : string

The revision of the current OBS Package (locally)


serviceInfo : var

Information from the _service file


sourceUrl : string

(private) Url to the package source files


Method Documentation

setProperties(props)

Sets any of our own properties contained in the props object to its value This is used in dynamic object creation/incubation.

See also OBS::newProject() and OBS::newPackage().



OBS Master Documentation Copyright (c) 2023 The OBS Master contributors. This document may be used under the terms of the Creative Commons Attribution Share Alike 4.0 International License.