Handle wiki updates and web hooks from the PushProcessor.
authorMarius Mathiesen <marius@gitorious.org>
Thu, 10 Feb 2011 14:53:47 +0000 (15:53 +0100)
committerMarius Mathiesen <marius@gitorious.org>
Thu, 10 Feb 2011 14:53:47 +0000 (15:53 +0100)
commit686ee51992f1bae5e01dd636541c6d0b22c7cc43
tree168fd4cd751f1722680559a36190926deb62d56e
parent5bc745302719faab48115e85e06f18bfbdbcff8d
Handle wiki updates and web hooks from the PushProcessor.

This means the PushProcessor should be able to work as a drop-in replacement
for the old PushEventProcessor

- One new class for each, performs its work outside the processor
- Added Repository#browse_url
- The wiki commit parser now uses a SHA object
app/models/repository.rb
app/processors/push_processor.rb
lib/gitorious/web_hook_generator.rb [new file with mode: 0644]
lib/gitorious/wiki/commit_parser.rb
lib/gitorious/wiki/update_event_logger.rb [new file with mode: 0644]
test/fixtures/repositories.yml
test/unit/lib/web_hook_generator_test.rb [new file with mode: 0644]
test/unit/lib/wiki_commit_log_parser_test.rb
test/unit/lib/wiki_update_event_logger_test.rb [new file with mode: 0644]
test/unit/processors/push_processor_test.rb