NAME

Group::Git::Stash - Adds reading all repositories you have access to on your local Stash server

VERSION

This documentation refers to Group::Git::Stash version 0.7.7.

SYNOPSIS

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',
    },
    # resursive is turned on by default for stash to allow for stash projects
    recurse => 1,
);

# list all repositories
my $repositories = $ggs->repo();

# do something to each repository
for my $repo (keys %{$repositories}) {
    # eg do a pull
    $ggs->pull($repo);
}

DESCRIPTION

Reads all repositories that the configured user has access to. Note: if no user is set up (or no password is supplied) then you will be prompted to enter the username and/or password.

Auto Tagging

Stash repositories are automatically tagged with the project they belong to and the type of repository according to stash (e.g. NORMAL or PERSONAL).

SUBROUTINES/METHODS

mech

Property for storing the WWW::Mechanize object for talking to stash

DIAGNOSTICS

CONFIGURATION AND ENVIRONMENT

When using with the group-git command the group-git.yml can be used to configure this plugin:

group-git.yml

---
type: Stash
username: stash.user
password: supperSecret
stash_host: stash.example.com

DEPENDENCIES

INCOMPATIBILITIES

BUGS AND LIMITATIONS

There are no known bugs in this module.

Please report problems to Ivan Wills (ivan.wills@gmail.com).

Patches are welcome.

AUTHOR

Ivan Wills - (ivan.wills@gmail.com)

LICENSE AND COPYRIGHT

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.