logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Software::Release - Object representing a release of software.

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.

Author

       Cory G Watson <gphat@cpan.org>

Description

       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.

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.

Name

       Software::Release - Object representing a release of software.

Synopsis

           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

See Also