Permalink
Switch branches/tags
Nothing to show
Commits on Oct 7, 2011
  1. Make auth info actually optional.

    bigpresh committed Oct 7, 2011
    TODO: there should be a test to issue this command to the bot and verify via the
    mocked storage that it worked appropriately; that would have caught this fuckup.
Commits on Oct 5, 2011
  1. Update Changes

    bigpresh committed Oct 5, 2011
  2. Only announce a commit if we got back commit details.

    bigpresh committed Oct 5, 2011
    If we asked for a commit SHA that didn't exist, we don't get a false value back,
    we get a hashref of `{ error => '...' }`.
  3. Update Changes

    bigpresh committed Oct 5, 2011
  4. Update prereqs

    bigpresh committed Oct 5, 2011
  5. Documentation updates.

    bigpresh committed Oct 5, 2011
Commits on Oct 4, 2011
  1. Retarded logic fail.

    bigpresh committed Oct 4, 2011
    (I started writing this as `if (!$issue || exists $issue->{error})` then cut it
    down, but managed to leave behind the `!`.  Muppetry.)
  2. Report errors fetching issue details properly.

    bigpresh committed Oct 4, 2011
    If the issue didn't exist, we get back a hashref with an 'error' key.
Commits on Oct 3, 2011
  1. Ask for Net::GitHub::V2 object by project, not channel.

    bigpresh committed Oct 3, 2011
    As per previous refactor, we now store the auth details keyed on project, not
    channel.
  2. Refactor: store auth details for projects, not channels.

    bigpresh committed Oct 3, 2011
    Storing the auth details against a channel rather than a project didn't make
    much sense, and meant you couldn't refer to repos that required auth using the
    @user/repo suffix (e.g. commit deadbeef@user/repo).
    
    Refactored to store the authentication details keyed by project instead, which I
    think makes more sense.
  3. Bugfix: stupid typo

    bigpresh committed Oct 3, 2011
  4. It's get & set, not get & store.

    bigpresh committed Oct 3, 2011
    No wonder store->store() sounded a bit silly.
  5. Fuck warnings.

    bigpresh committed Oct 3, 2011
  6. Whoops, this still needs to use JSON.

    bigpresh committed Oct 3, 2011
    Still need JSON loaded to write out the current state file.
  7. Use Net::GitHub::V2 to get commit/issue details.

    bigpresh committed Oct 3, 2011
    TODO: it would be nice to use Net::GitHub::V2 to fetch details of pull requests,
    too, but it doesn't seem that Net::GitHub::V2 exposes that ability yet.
    
    I'll try to find some time to submit a pull request to add that.
  8. Monster refactor - sane config, Net::GitHub.

    bigpresh committed Oct 3, 2011
    Provide a new !setgithubproject command to set the project and, optionally, auth
    details.
    
    Add new ng() method which returns an appropriately-configured Net::GitHub::V2
    object for the given channel's project details, so the rest of the code can use
    Net::GitHub::V2, avoid wheel re-invention, and benefit from authentication
    support.
Commits on Sep 9, 2011
  1. Load URI::Title. It helps.

    bigpresh committed Sep 9, 2011
Commits on Aug 27, 2011
  1. Unbreak regex.

    bigpresh committed Aug 27, 2011
Commits on Aug 4, 2011
Commits on Aug 3, 2011
  1. No, the logic was right, the typo was wrong.

    bigpresh committed Aug 3, 2011
    ENOCOFFEE.