GitHub PullRequestReviewCommentEvent at 2014-05-05 13:03:53
Repository: buildbot
Actor: tardyp
Payload: {"comment":{"url":"https://api.github.com/repos/buildbot/buildbot/pulls/comments/12277463","id":12277463,"diff_hunk":"@@ -2,22 +2,15 @@ path = require 'path'\n \n # Build configurations.\n module.exports = (grunt) ->\n-    plugin_name =  \"sample_plugin\"\n-    changedFiles = {}\n-    firstPass = true\n-    grunt.event.on \"watch\", (action, filepath) ->\n-        firstPass = false\n-        changedFiles[filepath] = action\n-    # allows incremental build using watch\n-    hasChanged = (filepath) ->","path":"www/sample_plugin/Gruntfile.coffee","position":11,"original_position":11,"commit_id":"0037b96e7d8f72ee27803a9703e414cedad8414f","original_commit_id":"0037b96e7d8f72ee27803a9703e414cedad8414f","user":{"login":"tardyp","id":109859,"avatar_url":"https://avatars.githubusercontent.com/u/109859?","gravatar_id":"d22503a2cafa8b15bb5ada100de07e35","url":"https://api.github.com/users/tardyp","html_url":"https://github.com/tardyp","followers_url":"https://api.github.com/users/tardyp/followers","following_url":"https://api.github.com/users/tardyp/following{/other_user}","gists_url":"https://api.github.com/users/tardyp/gists{/gist_id}","starred_url":"https://api.github.com/users/tardyp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tardyp/subscriptions","organizations_url":"https://api.github.com/users/tardyp/orgs","repos_url":"https://api.github.com/users/tardyp/repos","events_url":"https://api.github.com/users/tardyp/events{/privacy}","received_events_url":"https://api.github.com/users/tardyp/received_events","type":"User","site_admin":false},"body":"I'm worried that all those GruntFile will share 99% of the code.\r\nWhat would you propose in order to factorize that?\r\n","created_at":"2014-05-05T13:03:53Z","updated_at":"2014-05-05T13:03:53Z","html_url":"https://github.com/buildbot/buildbot/pull/1146#discussion_r12277463","pull_request_url":"https://api.github.com/repos/buildbot/buildbot/pulls/1146","_links":{"self":{"href":"https://api.github.com/repos/buildbot/buildbot/pulls/comments/12277463"},"html":{"href":"https://github.com/buildbot/buildbot/pull/1146#discussion_r12277463"},"pull_request":{"href":"https://api.github.com/repos/buildbot/buildbot/pulls/1146"}}}}