The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Plack::Middleware::Debug::GitStatus - Display git status information about the directory from which you run your development server

SYNOPSIS

# Assuming your current directory is the relevant git dir:
builder {
    enable 'Debug', panels => [ qw( Environment Response GitStatus ) ];
    $app;
};

# If you need to set a git dir:
return builder {
    enable 'Debug', panels => [ qw( Environment Response ) ];
    enable 'Debug::GitStatus', git_dir => '/some/path';
    $app;
};

# or if you want to specify a url to gitweb/gitalist/etc:
return builder {
    enable 'Debug', panels => [ qw( Environment Response ) ];
    enable 'Debug::GitStatus', gitweb_url => 'http://example.com/cgi-bin/gitweb?p=my_repo.git;h=%s';
    $app;
};

DESCRIPTION

This panel gives you quick access to the most relevant git information:

CONFIGURATION

There are two optional parameters you can use to configure this panel plugin:

SEE ALSO

https://metacpan.org/pod/Plack::Middleware::GitStatus - Gives you the option to send a HTTP request to your server that will be answered with git status information.

BUGS AND LIMITATIONS

No bugs have been reported.

Please report any bugs or feature requests through the web interface at https://github.com/mannih/Plack-Middleware-Debug-GitStatus.

AUTHOR

Manni Heumann, <cpan@lxxi.org>

COPYRIGHT AND LICENSE

Copyright 2014 by Manni Heumann

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.