Software::Release(3pm)

Software::Release3pm

Object representing a release of software.

Usage

    use DateTime;
    use Software::Release;
    use Software::Release::Change;
    my $change = Software::Release::Change->new(
        author => 'gphat',
        change_id => 'abc1234',
        date => DateTime->now,
        description => 'Frozzled the wozjob'
    );
    my $rel = Software::Release->new(
        version => '0.1',
        name => 'Angry Anteater',
        date => DateTime->now,
    );
    $rel->add_to_changes($change);

Version

version 0.03

Overview

Software::Release is a purely informational collection of objects that you can use to represent a release of software. Its original use-case was to provide a contract between a git log parser and a formatter class that outputs a changelog, but it may be useful to others to create bug trackers, dashboards or whathaveyou.

Attributes

changes

A list of Software::Release::Change objects for this release.

date

The date this software was released.

name

The name of this release.

version

The version of the release, as a string.

Methods

add_to_changes ($change)

Add a change to this release's list of changes.

has_no_changes

Returns true if this release's list of changes is empty.

Releases

7 releases since Debian 7 (Wheezy); the text changed 3 times.

  1. 7
  2. 8–10
  3. 11
  4. 12–13

Author

Cory G Watson <[email protected]>

From libsoftware-release-perl 0.03-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.