Skip to content

br-na-pm/BuildVersionWidget

Repository files navigation

Build Version Widget Library

This package serves a widget library to be paired with the BuildVersion PowerShell script package.
BuildVersion is a software package for Automation Studio to automatically collect version information from a git repository.
This widget library provides single binding widgets to quickly display a range of git version information.

NOTE: This is not an official package and is provided as-in under the GPL v3.0 license.

Features

  • Single structure binding
    • Users can simply use the existing structure defined in BuildVersion
  • Multiple compound widgets
    • Basic
    • Standard
    • Advanced
  • Change warning indicator
    • Notify users when uncommitted changes are detected

Widgets

NOTE: The warning icon appears to notify the user when the git repository has uncomitted changes.

Basic

Basic 2022-05-04_16 16 18

Standard

Standard 2022-05-04_16 17 12

Advanced

Advanced 2022-05-04_16 17 47

Binding

A single binding is required to populate the widgets with build information.
Use the BuildVersion package with includes a task and variable to bind with ::BuildVer:BuildVersion.

<Binding mode="oneWay">
  <Source xsi:type="opcUaComplexObject" refId="::BuildVer:BuildVersion" />
  <Target xsi:type="brease" contentRefId="content_0" widgetRefId="BuildVersionStandard1" attribute="value" />
</Binding>

Version

The BuildVersionWidget library is supported with BuildVersion package version 0.0.3 and later.