App-Git-IssueManager

 view release on metacpan or  search on metacpan

META.yml  view on Meta::CPAN

  File::Slurp: '0'
  File::Temp: '0'
  Git::IssueManager: '0'
  Git::IssueManager::Issue: '0'
  Git::LowLevel: '0'
  Moose: '0'
  MooseX::App: '0'
  MooseX::App::Command: '0'
  Term::ANSIColor: '0'
  Text::ANSITable: '0.602'
  Try::Tiny: '0'
  strict: '0'
  utf8: '0'
  warnings: '0'
resources:
  repository: https://gitea.federationhq.de/byterazor/App-Git-IssueManager.git
version: '0.2'
x_generated_by_perl: v5.30.0
x_serialization_backend: 'YAML::Tiny version 1.73'

Makefile.PL  view on Meta::CPAN

    "File::Slurp" => 0,
    "File::Temp" => 0,
    "Git::IssueManager" => 0,
    "Git::IssueManager::Issue" => 0,
    "Git::LowLevel" => 0,
    "Moose" => 0,
    "MooseX::App" => 0,
    "MooseX::App::Command" => 0,
    "Term::ANSIColor" => 0,
    "Text::ANSITable" => "0.602",
    "Try::Tiny" => 0,
    "strict" => 0,
    "utf8" => 0,
    "warnings" => 0
  },
  "VERSION" => "0.2",
  "test" => {
    "TESTS" => ""
  }
);

Makefile.PL  view on Meta::CPAN

  "File::Slurp" => 0,
  "File::Temp" => 0,
  "Git::IssueManager" => 0,
  "Git::IssueManager::Issue" => 0,
  "Git::LowLevel" => 0,
  "Moose" => 0,
  "MooseX::App" => 0,
  "MooseX::App::Command" => 0,
  "Term::ANSIColor" => 0,
  "Text::ANSITable" => "0.602",
  "Try::Tiny" => 0,
  "strict" => 0,
  "utf8" => 0,
  "warnings" => 0
);


unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
  delete $WriteMakefileArgs{TEST_REQUIRES};
  delete $WriteMakefileArgs{BUILD_REQUIRES};
  $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;

bin/git-issue  view on Meta::CPAN

#!/usr/bin/env perl
# ABSTRACT: subcommand to git for issue management
# PODNAME: git-issue
use strict;
use warnings;
use Try::Tiny;
use App::Git::IssueManager;



App::Git::IssueManager->new_with_command()->run;

__END__

=pod

bin/git-issue-commit-hook  view on Meta::CPAN

#!/usr/bin/env perl
# ABSTRACT: post-commit hook for managing git issues
# PODNAME: git-issue-commit-hook
use strict;
use warnings;
use Try::Tiny;
use Git::IssueManager;
use Git::LowLevel;
use utf8;

#
# main program
#

my $manager     = Git::IssueManager->new(repository=>Git::LowLevel->new(git_dir=> "."));

lib/App/Git/IssueManager/Add.pm  view on Meta::CPAN

use warnings;
use MooseX::App::Command;
extends qw(App::Git::IssueManager);
use Git::LowLevel;
use Git::IssueManager;
use Git::IssueManager::Issue;
use App::Git::IssueManager::Config;
use File::Temp qw/ tempfile/;
use File::Slurp;
use Term::ANSIColor;
use Try::Tiny;


command_short_description 'create an issue within a project';
command_usage 'git issue add -s Humbug';

option 'subject' => (
          is                => 'ro',
          isa               => 'Str',
          required          => 1,
          documentation     => q[the subject/title of the issue],

lib/App/Git/IssueManager/AddHook.pm  view on Meta::CPAN

#ABSTRACT: class implementing the Add-Hook command of the GIT IssueManager
use strict;
use warnings;
use MooseX::App::Command;
extends qw(App::Git::IssueManager);
use Git::LowLevel;
use Git::IssueManager;
use Git::IssueManager::Issue;

use Term::ANSIColor;
use Try::Tiny;


command_short_description 'add the post-commit hook for managing git issues to the repository';
command_usage 'git issue add-hook';

sub run
{
  my $self        = shift;

  die("No .git directory found\n") unless -d ".git";

lib/App/Git/IssueManager/Assign.pm  view on Meta::CPAN

#ABSTRACT: class implementing the assign issue command of the GIT IssueManager
use strict;
use warnings;
use MooseX::App::Command;
extends qw(App::Git::IssueManager);
use Git::LowLevel;
use Git::IssueManager;
use Git::IssueManager::Issue;

use Term::ANSIColor;
use Try::Tiny;


command_short_description 'assign an issue from a repository identified by the given id to a user';
command_usage 'git issue assign -i TST-a34df432 -w "Dominik Meyer <dmeyer@federationhq.de>"';

option 'id' => (
          is                => 'ro',
          isa               => 'Str',
          required          => 1,
          documentation     => q[the id of the issue],

lib/App/Git/IssueManager/Close.pm  view on Meta::CPAN

#ABSTRACT: class implementing the close issue command of the GIT IssueManager
use strict;
use warnings;
use MooseX::App::Command;
extends qw(App::Git::IssueManager);
use Git::LowLevel;
use Git::IssueManager;
use Git::IssueManager::Issue;

use Term::ANSIColor;
use Try::Tiny;


command_short_description 'close an issue from a repository identified by the given id';
command_usage 'git issue close -i TST-a34df432';

option 'id' => (
          is                => 'ro',
          isa               => 'Str',
          required          => 1,
          documentation     => q[the id of the issue],

lib/App/Git/IssueManager/Del.pm  view on Meta::CPAN

#ABSTRACT: class implementing the del issue command of the GIT IssueManager
use strict;
use warnings;
use MooseX::App::Command;
extends qw(App::Git::IssueManager);
use Git::LowLevel;
use Git::IssueManager;
use Git::IssueManager::Issue;

use Term::ANSIColor;
use Try::Tiny;


command_short_description 'delete an issue from a repository identified by the given id';
command_usage 'git issue del -i TST-a34df432';

option 'id' => (
          is                => 'ro',
          isa               => 'Str',
          required          => 1,
          documentation     => q[the id of the issue],

lib/App/Git/IssueManager/Get.pm  view on Meta::CPAN

#ABSTRACT: class implementing the get issue command of the GIT IssueManager
use strict;
use warnings;
use MooseX::App::Command;
extends qw(App::Git::IssueManager);
use Git::LowLevel;
use Git::IssueManager;
use Git::IssueManager::Issue;

use Term::ANSIColor;
use Try::Tiny;


command_short_description 'get an issue of a repository identified by the given id';
command_usage 'git issue get -i TST-a34df432';

option 'id' => (
          is                => 'ro',
          isa               => 'Str',
          required          => 1,
          documentation     => q[the id of the issue],

lib/App/Git/IssueManager/Init.pm  view on Meta::CPAN

#ABSTRACT: class implementing the init command of the GIT IssueManager
use strict;
use warnings;
use MooseX::App::Command;
extends qw(App::Git::IssueManager);
use Git::LowLevel;
use Git::IssueManager;
use Git::IssueManager::Issue;

use Term::ANSIColor;
use Try::Tiny;


command_short_description 'initialize IssueManager in the current git repository';
command_usage 'git issue init -t TST';

option 'tag' => (
          is                => 'ro',
          isa               => 'Str',
          required          => 1,
          documentation     => q[the tag to prepend in front of issue ids (eg. TST-ab5436fe, TST is the tag)],

lib/App/Git/IssueManager/List.pm  view on Meta::CPAN

#ABSTRACT: class implementing the add issue command of the GIT IssueManager
use strict;
use warnings;
use MooseX::App::Command;
extends qw(App::Git::IssueManager);
use Git::LowLevel;
use Git::IssueManager;
use Git::IssueManager::Issue;
use Text::ANSITable 0.602;
use Term::ANSIColor;
use Try::Tiny;
use Data::Dumper;

command_short_description 'list issues of a repository';
command_usage 'git issue list';

option 'show_status' => (
    is                => 'rw',
    isa               => 'ArrayRef[Str]',
    required          => 0,
    documentation     => q[select which issues with which stati should be displayd (open, assigned, inprogress, closed, all)],

lib/App/Git/IssueManager/Modify.pm  view on Meta::CPAN

use warnings;
use MooseX::App::Command;
extends qw(App::Git::IssueManager);
use Git::LowLevel;
use Git::IssueManager;
use Git::IssueManager::Issue;
use App::Git::IssueManager::Config;
use File::Temp qw/ tempfile/;
use File::Slurp;
use Term::ANSIColor;
use Try::Tiny;


command_short_description 'modify an issue within a project';
command_usage 'git issue add -s Humbug';

option 'subject' => (
          is                => 'ro',
          isa               => 'Str',
          required          => 0,
          documentation     => q[the subject/title of the issue],

lib/App/Git/IssueManager/Open.pm  view on Meta::CPAN

#ABSTRACT: class implementing the open issue command of the GIT IssueManager
use strict;
use warnings;
use MooseX::App::Command;
extends qw(App::Git::IssueManager);
use Git::LowLevel;
use Git::IssueManager;
use Git::IssueManager::Issue;

use Term::ANSIColor;
use Try::Tiny;


command_short_description 'reopen an issue from a repository identified by the given id';
command_usage 'git issue open -i TST-a34df432';

option 'id' => (
          is                => 'ro',
          isa               => 'Str',
          required          => 1,
          documentation     => q[the id of the issue],

lib/App/Git/IssueManager/Start.pm  view on Meta::CPAN

#ABSTRACT: class implementing the start issue command of the GIT IssueManager
use strict;
use warnings;
use MooseX::App::Command;
extends qw(App::Git::IssueManager);
use Git::LowLevel;
use Git::IssueManager;
use Git::IssueManager::Issue;

use Term::ANSIColor;
use Try::Tiny;


command_short_description 'start an issue from a repository identified by the given id';
command_usage 'git issue start -i TST-a34df432';

option 'id' => (
          is                => 'ro',
          isa               => 'Str',
          required          => 1,
          documentation     => q[the id of the issue],

lib/App/Git/IssueManager/Status.pm  view on Meta::CPAN

#ABSTRACT: class implementing the status issue command of the GIT IssueManager
use strict;
use warnings;
use MooseX::App::Command;
extends qw(App::Git::IssueManager);
use Git::LowLevel;
use Git::IssueManager;
use Git::IssueManager::Issue;
use Text::ANSITable;
use Term::ANSIColor;
use Try::Tiny;
use Data::Dumper;

command_short_description 'get the status of issues repository';
command_usage 'git issue status';

sub run
{
  my $self        = shift;

  my $manager     = Git::IssueManager->new(repository=>Git::LowLevel->new(git_dir=> "."));



( run in 0.517 second using v1.01-cache-2.11-cpan-05444aca049 )