App-karr

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "Git::Libgit2" : "0.004",
            "Git::Native" : "0.003",
            "JSON::MaybeXS" : "0",
            "Moo" : "0",
            "MooX::Cmd" : "0",
            "MooX::Options" : "0",
            "Path::Tiny" : "0",
            "Term::ANSIColor" : "0",
            "Text::Table::Tiny" : "0",
            "Time::Piece" : "0",
            "Try::Tiny" : "0",
            "YAML::XS" : "0"
         }
      },
      "test" : {
         "requires" : {
            "File::Temp" : "0",
            "Test::Exception" : "0",
            "Test::More" : "0"
         }
      }

META.yml  view on Meta::CPAN

  Git::Libgit2: '0.004'
  Git::Native: '0.003'
  JSON::MaybeXS: '0'
  Moo: '0'
  MooX::Cmd: '0'
  MooX::Options: '0'
  Path::Tiny: '0'
  Term::ANSIColor: '0'
  Text::Table::Tiny: '0'
  Time::Piece: '0'
  Try::Tiny: '0'
  YAML::XS: '0'
resources:
  IRC: irc://irc.perl.org/#langertha
  IRC_user: Getty
  bugtracker: https://github.com/Getty/karr/issues
  homepage: https://github.com/Getty/karr
  repository: https://github.com/Getty/karr.git
version: '0.401'
x_Dist_Zilla:
  perl:

Makefile.PL  view on Meta::CPAN

    "Git::Libgit2" => "0.004",
    "Git::Native" => "0.003",
    "JSON::MaybeXS" => 0,
    "Moo" => 0,
    "MooX::Cmd" => 0,
    "MooX::Options" => 0,
    "Path::Tiny" => 0,
    "Term::ANSIColor" => 0,
    "Text::Table::Tiny" => 0,
    "Time::Piece" => 0,
    "Try::Tiny" => 0,
    "YAML::XS" => 0
  },
  "TEST_REQUIRES" => {
    "File::Temp" => 0,
    "Test::Exception" => 0,
    "Test::More" => 0
  },
  "VERSION" => "0.401",
  "test" => {
    "TESTS" => "t/*.t"

Makefile.PL  view on Meta::CPAN

  "JSON::MaybeXS" => 0,
  "Moo" => 0,
  "MooX::Cmd" => 0,
  "MooX::Options" => 0,
  "Path::Tiny" => 0,
  "Term::ANSIColor" => 0,
  "Test::Exception" => 0,
  "Test::More" => 0,
  "Text::Table::Tiny" => 0,
  "Time::Piece" => 0,
  "Try::Tiny" => 0,
  "YAML::XS" => 0
);


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

cpanfile  view on Meta::CPAN

requires 'Moo';
requires 'MooX::Cmd';
requires 'MooX::Options';
requires 'YAML::XS';
requires 'Path::Tiny';
requires 'JSON::MaybeXS';
requires 'Text::Table::Tiny';
requires 'Term::ANSIColor';
requires 'Time::Piece';
requires 'File::ShareDir';
requires 'Try::Tiny';
requires 'Git::Native', '0.003';
requires 'Git::Libgit2', '0.004';

on test => sub {
    requires 'Test::More';
    requires 'File::Temp';
    requires 'Test::Exception';
};

lib/App/karr/Foundation.pm  view on Meta::CPAN

our $VERSION = '0.401';
use Moo;
use MooX::Options (
  usage_string => 'USAGE: karr-foundation [options]',
);
use Carp qw( croak );
use Path::Tiny;
use YAML::XS ();
use Time::Piece;
use Digest::MD5 qw( md5_hex );
use Try::Tiny;
use App::karr::Git;
use App::karr::BoardStore;
use App::karr::Foundation::Runner;
use App::karr::Foundation::State;
use App::karr::Foundation::Overview;

# Instruction handed to a synthesized agent command via the $PROMPT variable
# when neither the .karr file nor the config overrides it.
our $DEFAULT_PROMPT =
    'Use the karr-coordinator skill: pick the next actionable task on this '

lib/App/karr/Foundation/State.pm  view on Meta::CPAN

# ABSTRACT: karr-foundation per-repo state — lock file, JSON state, cooldown backoff

package App::karr::Foundation::State;
our $VERSION = '0.401';
use Moo;
use Path::Tiny;
use JSON::MaybeXS qw( encode_json decode_json );
use Try::Tiny;


has foundation => (
  is       => 'ro',
  weak_ref => 1,
  required => 1,
);

# ---------------------------------------------------------------------------
# Lock file

lib/App/karr/Git.pm  view on Meta::CPAN

# ABSTRACT: Git operations for karr sync (native via Git::Native + libgit2, with a git-CLI transport fallback)

package App::karr::Git;
our $VERSION = '0.401';
use strict;
use warnings;
use Path::Tiny qw( path );
use Try::Tiny;
use IPC::Open3 qw( open3 );
use Symbol qw( gensym );
use YAML::XS qw( Dump Load );
use Git::Native;
use Git::Native::Signature;
use Git::Native::Credential;


sub new {
    my ( $class, %args ) = @_;



( run in 1.904 second using v1.01-cache-2.11-cpan-6de40a662fe )