Git::IssueManager::Issue - class representing an Issue
version 0.1
Git::IssueManager::Issue represents an issue within the Git::IssueManager module. Issues can be added, removed, modified and listed.
Make sure that you understand all the attributes before adding issues to your repository.
The subject/ title of the issue
At most 50 chars allowed.
The priority of the issue. Possible values are:
The default value is low.
The severity of the issue. Possible values are:
The default value is low
The type of the issue. Possible values are:
The default values is bug.
The status of the issue. Possible values are:
The default value is open.
A substatus to the actual status. Possible values are:
The default value is none.
A comment to the current status of the issue.
Only Plain Text is allowed.
Default value is the empty string.
The full description of the issue.
Only Plain Text and Markdown are allowed.
no HTML
The default value is the empty string.
An arrayref of tags/ keywords for better identifying the issue.
Maximum length of one tag is 20 characters.
Maximum number of tags is 10.
An arrayref of files attached to this issue, for example documentation or text files presenting error messages, screenshots, etc.
The author of the issue, can be the name or an anomynized nickname
The authors email for sending status changes of the issue
The persons name working on solving the issue
The email address of the person working on this issue
A datetime object representing the date/time the issue was created
A datetime object representing the date/time the issue was closed, only valid if status is closed
A datetime object representing the date/time the issue was last modified
id of the issue
The estimated time for solving this issue in Minutes
Default value is 0, meaning no estimate set.
The current time in Minutes already spent on this issue
The default value is 0.
add another tag to the issue.
Example:
$issue->addTag("File");
del a tag from the issue
$issue->delTag("File");
Add another attachment to the issue.
$issue->addAttachement("/tmp/test.txt");
Make sure the attachment exist at the given path and stays there until the issue has been added.
Remove an attachment from the issue.
$issue->delAttachement("/tmp/test");
creates a git repository tree object from the attachment array and return the hash of the object
Creates the issue inside the given git repository and commits these changes to the issues branch
Dominik Meyer <dmeyer@federationhq.de>
This software is Copyright (c) 2018 by Dominik Meyer.
This is free software, licensed under:
The GNU General Public License, Version 2, June 1991
The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit http://www.perl.com/CPAN/ to find a CPAN site near you, or see https://metacpan.org/module/Git::IssueManager/.
Please report any bugs or feature requests by email to byterazor@federationhq.de.
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
To install Git::IssueManager, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Git::IssueManager
CPAN shell
perl -MCPAN -e shell install Git::IssueManager
For more information on module installation, please visit the detailed CPAN module installation guide.