-
-
07 Mar 2017 17:30:26 UTC
- Distribution: Dist-Zilla-Util-Git-Wrapper
- Module version: 0.004002
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (1148 / 1 / 0)
- Kwalitee
Bus factor: 0- 93.85% Coverage
- License: perl_5
- Perl: v5.8.0
- Activity
24 month- Tools
- Download (26.96KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
Why not adopt me?
This distribution is up for adoption! If you're interested then please contact the PAUSE module admins via email.NAME
Dist::Zilla::Util::Git::Wrapper - Vivify a Git::Wrapper instance for Dist::Zilla
VERSION
version 0.004002
SYNOPSIS
use Dist::Zilla::Util::Git::Wrapper; my $wrapper = Dist::Zilla::Util::Git::Wrapper->new( zilla => $self->zilla ); $wrapper->log(); # etc.
Yes, this does very little, but simply serves as an abstraction for getting a Git::Wrapper object from git, mostly, because everyone remembers
$self->zilla
, but you have to RTFM and go source diving to know about$self->zilla->root
This is a simple straight forward way of doing what you want with the least mental overhead.
Everything else is just proxy methods for
git
This is a more I.O.C approach to my swathes of
Dist::Zilla::Role::Git::LocalRepository
stuff, which got so complex with dependency management my head exploded.ATTRIBUTES
zilla
Parameter lazily required, and should be a Dist::Zilla object ( or compatible )
git
A Git::Wrapper instance. Optional, and pointless to specify manually, but could be useful for testing where you don't want Dist::Zilla
Vivified if not specified based on the
zilla
parameter.AUTHOR
Kent Fredric <kentnl@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2017 by Kent Fredric <kentfredric@gmail.com>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Module Install Instructions
To install Dist::Zilla::Util::Git::Wrapper, copy and paste the appropriate command in to your terminal.
cpanm Dist::Zilla::Util::Git::Wrapper
perl -MCPAN -e shell install Dist::Zilla::Util::Git::Wrapper
For more information on module installation, please visit the detailed CPAN module installation guide.