App-Multigit

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "File::Which" : "1.09",
            "Future" : "0.3",
            "Getopt::Long" : "2.42",
            "HTTP::Tiny" : "0",
            "IO::Async" : "0.67",
            "IPC::Run" : "0",
            "List::UtilsBy" : "0.09",
            "Moo" : "2.000001",
            "Path::Class" : "0.35",
            "Pod::Usage" : "0",
            "Try::Tiny" : "0.22",
            "curry" : "1",
            "perl" : "5.014"
         }
      }
   },
   "provides" : {
      "App::Multigit" : {
         "file" : "lib/App/Multigit.pm",
         "version" : "0.18"
      },

META.yml  view on Meta::CPAN

  File::Which: '1.09'
  Future: '0.3'
  Getopt::Long: '2.42'
  HTTP::Tiny: '0'
  IO::Async: '0.67'
  IPC::Run: '0'
  List::UtilsBy: '0.09'
  Moo: '2.000001'
  Path::Class: '0.35'
  Pod::Usage: '0'
  Try::Tiny: '0.22'
  curry: '1'
  perl: '5.014'
resources:
  bugtracker: https://github.com/Altreus/App-Multigit/issues
  homepage: https://github.com/Altreus/App-Multigit
  repository: https://github.com/Altreus/App-Multigit.git
version: '0.18'
x_contributors:
  - 'Alastair McGowan-Douglas <alastair.mcgowan@opusvl.com>'
  - 'Alastair McGowan-Douglas <altreus@altre.us>'

Makefile.PL  view on Meta::CPAN

    "File::Which" => "1.09",
    "Future" => "0.3",
    "Getopt::Long" => "2.42",
    "HTTP::Tiny" => 0,
    "IO::Async" => "0.67",
    "IPC::Run" => 0,
    "List::UtilsBy" => "0.09",
    "Moo" => "2.000001",
    "Path::Class" => "0.35",
    "Pod::Usage" => 0,
    "Try::Tiny" => "0.22",
    "curry" => 1
  },
  "VERSION" => "0.18",
  "test" => {
    "TESTS" => "t/*.t"
  }
);


my %FallbackPrereqs = (

Makefile.PL  view on Meta::CPAN

  "File::Which" => "1.09",
  "Future" => "0.3",
  "Getopt::Long" => "2.42",
  "HTTP::Tiny" => 0,
  "IO::Async" => "0.67",
  "IPC::Run" => 0,
  "List::UtilsBy" => "0.09",
  "Moo" => "2.000001",
  "Path::Class" => "0.35",
  "Pod::Usage" => 0,
  "Try::Tiny" => "0.22",
  "curry" => 1
);


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 "File::Which" => "1.09";
requires "File::Find::Rule";
requires "Future" => "0.3";
requires "Getopt::Long" => "2.42";
requires "IO::Async" => "0.67";
requires "IPC::Run" => "0";
requires "List::UtilsBy" => "0.09";
requires "Moo" => "2.000001";
requires "Path::Class" => "0.35";
requires "Pod::Usage";
requires "Try::Tiny" => "0.22";
requires "HTTP::Tiny";

requires "curry" => "1";
requires "perl" => "5.014";

recommends "JSON::MaybeXS";

examples/mg-github-config  view on Meta::CPAN

use Getopt::Long qw(:config gnu_getopt);
use App::Multigit qw(mgconfig mg_parent all_repositories mg_each write_config);
use App::Multigit::Script ();  # Avoid trying to get --workdir and chdir to it.
use Future;
use curry;

use Cwd qw(getcwd);
use File::Copy;
use HTTP::Tiny;
use Path::Class;
use Try::Tiny;
use JSON::MaybeXS;

my %options = App::Multigit::Script::get_default_options;
GetOptions(\%options,
    'readonly',
);
$options{workdir} //= getcwd;

chdir $options{workdir};

lib/App/Multigit.pm  view on Meta::CPAN

use warnings FATAL => 'all';

use List::UtilsBy qw(sort_by);
use Capture::Tiny qw(capture);
use File::Find::Rule;
use Future::Utils qw(fmap);
use Path::Class;
use Config::INI::Reader;
use Config::INI::Writer;
use IPC::Run;
use Try::Tiny;

use App::Multigit::Future;
use App::Multigit::Repo;
use App::Multigit::Loop qw(loop);

use Exporter 'import';

our @EXPORT_OK = qw/
    mgconfig mg_parent
    all_repositories selected_repositories

lib/App/Multigit/Repo.pm  view on Meta::CPAN

package App::Multigit::Repo;

use App::Multigit::Loop qw(loop);
use IO::Async::Process;
use Future;
use Moo;
use Cwd 'getcwd';
use Try::Tiny;

use 5.014;

our $VERSION = '0.18';

=encoding utf8

=head1 NAME

App::Multigit::Repo - Moo class to represent a repo

script/mg  view on Meta::CPAN

use warnings;
use 5.014;

use Future;
use Path::Class;
use File::Which qw(which);
use Cwd qw(getcwd);
use App::Multigit;
use Getopt::Long qw(:config gnu_getopt require_order);
use Pod::Usage;
use Try::Tiny;

sub usage;

{
    my $qs = 0;
    GetOptions(
        help => \&usage,
        'quiet|q' => sub {
            # Can't use + for this because -v needs to counteract it.
            $qs++;

script/mg-init  view on Meta::CPAN

use Getopt::Long qw(:config gnu_getopt);
use App::Multigit qw(mgconfig mg_parent all_repositories mg_each);
use App::Multigit::Script ();  # Avoid trying to get --workdir and chdir to it.
use Future;
use curry;

use Cwd qw(getcwd);
use File::Copy;
use HTTP::Tiny;
use Path::Class;
use Try::Tiny;

my %options = App::Multigit::Script::get_default_options;
GetOptions(\%options,
    'update-only|u',
    'clean|c',
    'remove-repos|rm',
);

die "update-only is not compatible with clean"
    if $options{'update-only'} and $options{clean};



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