Browse files

Updated README using pod2readme

  • Loading branch information...
1 parent 64ccfd7 commit 8646ada26f3ec8e12d624f31002d11a4b5bd11a3 @bigpresh committed Oct 5, 2011
Showing with 90 additions and 30 deletions.
  1. +90 −30 README
@@ -1,50 +1,110 @@
+ Bot::BasicBot::Pluggable::Module::GitHub - GitHub-related modules for
+ IRC bots running Bot::BasicBot::Pluggable
-A module for Bot::BasicBot::Pluggable IRC bots, providing GitHub related IRC
+ A set of modules for Bot::BasicBot::Pluggable bots, providing useful
+ GitHub-related functionality.
-See the individual modules within the distribution for details on what features
-each one provides.
+ If your team use GitHub and colloborate on IRC, these may well be of
+ interest to you. They're already in use on the Dancer project's IRC
+ channel, and internally at my workplace, UK2.
+ Most communication with GitHub uses Net::GitHub::V2, and can use
+ authentication with an API key for private repositories.
+ The following modules are included - see the documentation for each for
+ more details on how to use them.
-To install this module, run the following commands:
+ Bot::BasicBot::Pluggable::Module::GitHub::EasyLinks
+ Provide quick URLs to view issues/pull requests etc when someone
+ mentions one - for example:
- perl Makefile.PL
- make
- make test
- make install
+ <user> Go have a look at Issue 42
+ <bot1> Issue 42 (It doesn't work)
+ <user> I fixed that in 5fcbb01
+ <bot1> Commit 5fcbb01 (Retarded logic fail.) -
+ You can set a default project per-channel, so the above examples
+ will look at whatever project is set as default for the channel the
+ message was in.
+ You can also explicitly tell it to look at any other GitHub project:
-After installing, you can find documentation for this module with the
-perldoc command.
+ <user> 5fcbb01 @ bigpresh/Bot-BasicBot-Pluggable-Module-GitHub
+ <bot1> Commit 5fcbb01 (Retarded logic fail.) -
- perldoc Bot::BasicBot::Pluggable::Module::GitHub
+ Bot::BasicBot::Pluggable::Module::GitHub::PullRequests
+ Monitor pull requests for GitHub projects.
-You can also look for information at:
+ Example:
- RT, CPAN's request tracker
+ <@bigpresh> !pr
+ < sophie> Open pull requests for sukria/Dancer : 8 pull requests open
+ (felixdo:3, perlpilot:1, jamhed:1, dams:1, ambs:1, JTimothyKing:1)
- AnnoCPAN, Annotated CPAN documentation
+ Bot::BasicBot::Pluggable::Module::GitHub::Announce
+ Announces issues raised/closed for each channel's default project.
- CPAN Ratings
+ Periodically checks on issues for each project, and reports changes,
+ for example:
- Search CPAN
+ < sophie> Issues closed : 667 (YAML::XS for Session::YAML) by jamhed :
+Loading modules
+ See the Bot::BasicBot::Pluggable documentation for how to load these
+ modules into your bot.
+ Do not load this module directly; load the modules named above
+ individually, to get just the functionality you require.
+ This module is intended only to provide a base for the other modules,
+ including shared functionality and common documentation.
+Configuring the default project repo
+ The modules above need to know what GitHub project repository they
+ should refer to.
+ The project (and, optionally, authentication details, if it's not a
+ public project) are configured with the `!setgithubproject' command in a
+ private message to the bot.
+ You'll need to be authenticated to the bot in order to set the project
+ (see the auth module).
+ You set the project with:
+ !setgithubproject #channel user/projectname
+ That sets the default project repo to `projectname' owned by `user' on
+ GitHub (in other words, <>).
-Copyright (C) 2011 David Precious
+ If the project is a private repository which requires authentication,
+ you can also tell the bot what user and token it should use to
+ authenticate:
+ !setgithubproject #channel user/privateproject someuser:githubtokenhere
+ You can generate/find an API token for your GitHub account at
+ David Precious `<'>
+ James Ronan `<'>
+ Contributions are very welcome.
+ Copyright 2011 David Precious.
-This program is free software; you can redistribute it and/or modify it
-under the terms of either: the GNU General Public License as published
-by the Free Software Foundation; or the Artistic License.
+ This program is free software; you can redistribute it and/or modify it
+ under the terms of either: the GNU General Public License as published
+ by the Free Software Foundation; or the Artistic License.
-See for more information.
+ See for more information.

0 comments on commit 8646ada

Please sign in to comment.