Group::Git::Stash - Adds reading all repositories you have access to on your local Stash server
This documentation refers to Group::Git::Stash version 0.3.1.
use Group::Git::Stash; # pull (or clone missing) all repositories that joeblogs has created/forked my $ggs = Group::Git::Stash->new( conf => { username => 'joeblogs@example.com', password => 'myverysecurepassword', }, ); # list all repositories my $repositories = $ggs->repo(); # do something to each repository for my $repo (keys %{$repositories}) { # eg do a pull $ggs->pull($repo); }
Reads all repositories for the configured user (if none set user will be prompted to enter one as well as a password)
When using with the group-git command the group-git.yml can be used to configure this plugin:
group-git
group-git.yml
--- type: Stash username: stash.user password: supperSecret stash_host: stash.example.com
There are no known bugs in this module.
Please report problems to Ivan Wills (ivan.wills@gmail.com).
Patches are welcome.
Ivan Wills - (ivan.wills@gmail.com)
Copyright (c) 2013 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW Australia 2077). All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
To install Group::Git, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Group::Git
CPAN shell
perl -MCPAN -e shell install Group::Git
For more information on module installation, please visit the detailed CPAN module installation guide.