Permalink
Switch branches/tags
Nothing to show
Commits on Feb 25, 2011
  1. Switch to Kernel.` for running git. This allows us to act on the exit…

    koppen committed Feb 25, 2011
    … code, and we don't really need to distinguish between STDOUT and STDERR anyways
Commits on Jan 27, 2011
  1. Revert "Go verbose so there is some debugging output"

    koppen committed Jan 27, 2011
    This reverts commit 57fe7cf.
    
    Conflicts:
    
    	app/controllers/github_hook_controller.rb
    
    Turns out --verbose isn't available in git 1.5.6.5, which is what's included in Debian Stable which I, and I suspect many others, are running.
Commits on Jun 10, 2010
  1. Add MIT license

    koppen committed Jun 10, 2010
Commits on Mar 12, 2010
  1. Add test for a55623f

    koppen committed Mar 12, 2010
Commits on Mar 10, 2010
  1. Merge commit 'koppen/master'

    smith committed Mar 10, 2010
  2. Allow project identifier to be specified in the URL if the Redmine pr…

    koppen committed Mar 10, 2010
    …oject_id is different than the Github repository name.
    
    To use specify the service hook URL as
    
      http://example.com/github_hook?project_id=MyProjectName
    
    to update the Redmine project with 'MyProjectName' as identifier. Closes #3
  3. As described in 417592f git outputs to both STDERR and STDOUT in norm…

    koppen committed Mar 10, 2010
    …al use so we can't use the presence of STDERR output as indication that an error has occurred.
    
    Instead, just log all output with a more verbose log level.
  4. Revert "Return HTTP 500 if git fails - not that Github cares about th…

    koppen committed Mar 10, 2010
    …is at this point, but it seems more correct"
    
    Looks like git (at least in version 1.6.6.1) outputs to STDERR even if no errors actually occur. It
    was probably a bad idea to use the presence of data in STDERR as an indication of errors anyways.
    
    This reverts commit 5f69896.
Commits on Mar 8, 2010
  1. Return HTTP 500 if git fails - not that Github cares about this at th…

    koppen committed Mar 8, 2010
    …is point, but it seems more correct
  2. Log errors from git. Closes #2

    koppen committed Mar 8, 2010
    Use Open3 for running git to get access to both STDOUT and STDERR.
  3. downcase identifier

    smith committed Mar 8, 2010
Commits on Jan 2, 2010
  1. Improve docs

    koppen committed Jan 2, 2010
Commits on Jan 1, 2010
  1. Merge remote branch 'abronte/master'

    koppen committed Jan 1, 2010
    Conflicts:
    	app/controllers/github_hook_controller.rb
  2. Add basic test for ff0ca30

    koppen committed Jan 1, 2010
Commits on Dec 30, 2009
  1. Skip check_if_login_required for github hook.

    ryansch committed Dec 30, 2009
    Github doesn't need to log in to redmine to notify it of changes.
Commits on Dec 27, 2009
  1. Changed the git commands to support minimal local git repo. It's not …

    abronte committed Dec 27, 2009
    …likely to have an entire repo on the same machine as redmine. Redmine also only requires the .git portion of a repo.
    
    See http://www.redmine.org/wiki/redmine/HowTo_keep_in_sync_your_git_repository_for_redmine
Commits on Nov 18, 2009
Commits on Aug 11, 2009
  1. Use rebase to bring in changes from the remote repository to avoid me…

    koppen committed Aug 11, 2009
    …rge-commit-messages in your Redmine changesets
Commits on Aug 3, 2009
  1. Clean up the tests a bit

    koppen committed Aug 3, 2009
  2. There is no need to fetch_changesets for all repositories - just need…

    koppen committed Aug 3, 2009
    … to fetch them for the repository in question, and only if it's a Git repository
  3. Remove unused files

    koppen committed Aug 3, 2009
  4. Redmine wants the full path to the .git directory of the repository, …

    koppen committed Aug 3, 2009
    …so we need to step up to the parent directory before pulling
Commits on Aug 2, 2009