{"action":"created","comment":{"url":"https://api.github.com/repos/RackHD/on-tasks/pulls/comments/46463327","id":46463327,"diff_hunk":"@@ -131,12 +227,422 @@ describe(require('path').basename(__filename), function () {\n             });\n         });\n \n+        it(\"should alert and update the db when a discrete state is asserted\", function() {\n+            var workitem = {\n+                config: {\n+                    command: 'sdr'\n+                }\n+            };\n+            waterline.workitems.needByIdentifier.resolves(workitem);\n+\n+            var conf = {\n+                command: 'sdr',\n+                inCondition: {\n+                    discrete: {\n+                        'bad discrete sensor': {\n+                            'Power Supply AC lost': true\n+                        }\n+                    },\n+                    threshold: {}\n+                }\n+            };\n+\n+            var expectedReading = {\n+                 sensorId: 'bad discrete sensor',\n+                 entityId: '10.1 (Power Supply)',\n+                 sdrType: 'Discrete',\n+                 sensorType: 'Power Supply (0x08)',\n+                 sensorReading: 'ffh',\n+                 eventMessageControl: 'Per-threshold',\n+                 assertionsEnabled: [\n+                     'Presence detected',\n+                     'Failure detected',\n+                     'Power Supply AC lost'\n+                 ],\n+                 deassertionsEnabled: [\n+                    'Presence detected',\n+                    'Failure detected',\n+                    'Power Supply AC lost'\n+                 ],\n+                 oem: '0',\n+                 stateAsserted: 'Power Supply AC lost'\n+            };\n+\n+            data.sdr = samples.concat(badDiscreteTestSensor);\n+\n+            return this.determineAlert(data)\n+            .then(function(out) {\n+                expect(out).to.have.length(1);\n+                expect(out[0]).to.have.property('reading')\n+                    .that.deep.equals(expectedReading);\n+                expect(out[0]).to.have.property('host').that.equals(data.host);\n+                expect(out[0]).to.have.property('node').that.equals(data.node);\n+                expect(out[0]).to.have.property('inCondition').that.equals(true);\n+                expect(waterline.workitems.update).to.have.been\n+                    .calledWith({ id: data.workItemId }, { config: conf });\n+            });\n+        });\n+\n+        it(\"should alert and update the db when multiple discrete states are asserted\", function() {\n+            var workitem = {\n+                config: {\n+                    command: 'sdr'\n+                }\n+            };\n+            waterline.workitems.needByIdentifier.resolves(workitem);\n+\n+            var conf = {\n+                command: 'sdr',\n+                inCondition: {\n+                    discrete: {\n+                        'bad discrete sensor': {\n+                            'Power Supply AC lost': true,\n+                            'Failure detected': true\n+                        }\n+                    },\n+                    threshold: {}\n+                }\n+            };\n+\n+            var expectedReading = {\n+                 sensorId: 'bad discrete sensor',\n+                 entityId: '10.1 (Power Supply)',\n+                 sdrType: 'Discrete',\n+                 sensorType: 'Power Supply (0x08)',\n+                 sensorReading: 'ffh',\n+                 eventMessageControl: 'Per-threshold',\n+                 assertionsEnabled: [\n+                     'Presence detected',\n+                     'Failure detected',\n+                     'Power Supply AC lost'\n+                 ],\n+                 deassertionsEnabled: [\n+                    'Presence detected',\n+                    'Failure detected',\n+                    'Power Supply AC lost'\n+                 ],\n+                 oem: '0',\n+                 stateAsserted: ''\n+            };\n+            var expectedStateAsserted = ['Power Supply AC lost', 'Failure detected'];\n+\n+            badDiscreteTestSensor.statesAsserted.push('Failure detected')\n+            data.sdr = samples.concat(badDiscreteTestSensor);\n+\n+            return this.determineAlert(data)\n+            .then(function(out) {\n+                expect(out).to.have.length(2);\n+                for (var i in out) {\n+                    expectedReading.stateAsserted = expectedStateAsserted[i];\n+                    expect(out[i]).to.have.property('reading')\n+                        .that.deep.equals(expectedReading);\n+                    expect(out[i]).to.have.property('host').that.equals(data.host);\n+                    expect(out[i]).to.have.property('node').that.equals(data.node);\n+                    expect(out[i]).to.have.property('inCondition').that.equals(true);\n+                }\n+                expect(waterline.workitems.update).to.have.been\n+                    .calledWith({ id: data.workItemId }, { config: conf })\n+            });\n+        });\n+\n+        it(\"should alert and update the db when multiple discrete states are asserted and one is deasserted\", function() {\n+            var workitem = {\n+                config: {\n+                    command: 'sdr',\n+                    inCondition: {\n+                        discrete: {\n+                            'bad discrete sensor': {\n+                                'Power Supply AC lost': true,\n+                                'Failure detected': true\n+                            }\n+                        },\n+                        threshold: {}\n+                    }\n+                }\n+            };\n+            waterline.workitems.needByIdentifier.resolves(workitem);\n+\n+            var conf = {\n+                command: 'sdr',\n+                inCondition: {\n+                    discrete: {\n+                        'bad discrete sensor': {\n+                            'Power Supply AC lost': true,\n+                            'Failure detected': false\n+                        }\n+                    },\n+                    threshold: {}\n+                }\n+            };\n+\n+            var expectedReading = [\n+                {\n+                     sensorId: 'bad discrete sensor',\n+                     entityId: '10.1 (Power Supply)',\n+                     sdrType: 'Discrete',\n+                     sensorType: 'Power Supply (0x08)',\n+                     sensorReading: 'ffh',\n+                     eventMessageControl: 'Per-threshold',\n+                     assertionsEnabled: [\n+                         'Presence detected',\n+                         'Failure detected',\n+                         'Power Supply AC lost'\n+                     ],\n+                     deassertionsEnabled: [\n+                        'Presence detected',\n+                        'Failure detected',\n+                        'Power Supply AC lost'\n+                     ],\n+                     oem: '0',\n+                     stateAsserted: 'Power Supply AC lost'\n+                },\n+                {\n+                     sensorId: 'bad discrete sensor',\n+                     entityId: '10.1 (Power Supply)',\n+                     sdrType: 'Discrete',\n+                     sensorType: 'Power Supply (0x08)',\n+                     sensorReading: 'ffh',\n+                     eventMessageControl: 'Per-threshold',\n+                     assertionsEnabled: [\n+                         'Presence detected',\n+                         'Failure detected',\n+                         'Power Supply AC lost'\n+                     ],\n+                     deassertionsEnabled: [\n+                        'Presence detected',\n+                        'Failure detected',\n+                        'Power Supply AC lost'\n+                     ],\n+                     oem: '0',\n+                     stateAsserted: 'Failure detected'\n+                },\n+            ];\n+            var expectedInCondition = [true, false];\n+            data.sdr = samples.concat(badDiscreteTestSensor);\n+\n+            return this.determineAlert(data).then(function(out) {\n+                expect(out).to.have.length(2);\n+                for (var i = 0; i < out.length; i++) {\n+                    expect(out[i]).to.have.property('reading')\n+                        .that.deep.equals(expectedReading[i]);\n+                    expect(out[i]).to.have.property('host').that.equals(data.host);\n+                    expect(out[i]).to.have.property('node').that.equals(data.node);\n+                    expect(out[i]).to.have.property('inCondition').that.equals(expectedInCondition[i]);\n+                }\n+                expect(waterline.workitems.update).to.have.been\n+                    .calledWith({ id: data.workItemId }, { config: conf });\n+            });\n+        });\n+\n+        it(\"should alert and update the db when multiple discrete states are deasserted\", function() {\n+            var workitem = {\n+                config: {\n+                    command: 'sdr',\n+                    inCondition: {\n+                        discrete: {\n+                            'bad discrete sensor': {\n+                                'Power Supply AC lost': true,\n+                                'Failure detected': true\n+                            }\n+                        },\n+                        threshold: {}\n+                    }\n+                }\n+            };\n+            waterline.workitems.needByIdentifier.resolves(workitem);\n+\n+            var conf = {\n+                command: 'sdr',\n+                inCondition: {\n+                    discrete: {\n+                        'bad discrete sensor': {\n+                            'Power Supply AC lost': false,\n+                            'Failure detected': false\n+                        }\n+                    },\n+                    threshold: {}\n+                }\n+            };\n+\n+            var expectedReading = [\n+                {\n+                     sensorId: 'bad discrete sensor',\n+                     entityId: '10.1 (Power Supply)',\n+                     sdrType: 'Discrete',\n+                     sensorType: 'Power Supply (0x08)',\n+                     sensorReading: 'ffh',\n+                     eventMessageControl: 'Per-threshold',\n+                     assertionsEnabled: [\n+                         'Presence detected',\n+                         'Failure detected',\n+                         'Power Supply AC lost'\n+                     ],\n+                     deassertionsEnabled: [\n+                        'Presence detected',\n+                        'Failure detected',\n+                        'Power Supply AC lost'\n+                     ],\n+                     oem: '0',\n+                     stateAsserted: 'Power Supply AC lost'\n+                },\n+                {\n+                     sensorId: 'bad discrete sensor',\n+                     entityId: '10.1 (Power Supply)',\n+                     sdrType: 'Discrete',\n+                     sensorType: 'Power Supply (0x08)',\n+                     sensorReading: 'ffh',\n+                     eventMessageControl: 'Per-threshold',\n+                     assertionsEnabled: [\n+                         'Presence detected',\n+                         'Failure detected',\n+                         'Power Supply AC lost'\n+                     ],\n+                     deassertionsEnabled: [\n+                        'Presence detected',\n+                        'Failure detected',\n+                        'Power Supply AC lost'\n+                     ],\n+                     oem: '0',\n+                     stateAsserted: 'Failure detected'\n+                },\n+            ];\n+            delete badDiscreteTestSensor.statesAsserted;\n+            data.sdr = samples.concat(badDiscreteTestSensor);\n+\n+            return this.determineAlert(data).then(function(out) {\n+                expect(out).to.have.length(2);\n+                for (var i in out) {\n+                    expect(out[i]).to.have.property('reading')\n+                        .that.deep.equals(expectedReading[i]);\n+                    expect(out[i]).to.have.property('host').that.equals(data.host);\n+                    expect(out[i]).to.have.property('node').that.equals(data.node);\n+                    expect(out[i]).to.have.property('inCondition').that.equals(false);\n+                }\n+                expect(waterline.workitems.update).to.have.been\n+                    .calledWith({ id: data.workItemId }, { config: conf })\n+            });\n+        });\n+\n+        it(\"should alert and update the db when state assertions change.\", function() {\n+            var workitem = {\n+                config: {\n+                    command: 'sdr',\n+                    inCondition: {\n+                        discrete: {\n+                            'bad discrete sensor': {\n+                                'Power Supply AC lost': true,\n+                                'Failure detected': true\n+                            }\n+                        },\n+                        threshold: {}\n+                    }\n+                }\n+            };\n+            waterline.workitems.needByIdentifier.resolves(workitem);\n+\n+            var conf = {\n+                command: 'sdr',\n+                inCondition: {\n+                    discrete: {\n+                        'bad discrete sensor': {\n+                            'Power Supply AC lost': true,\n+                            'Predictive failure': true,\n+                            'Failure detected': false\n+                        }\n+                    },\n+                    threshold: {}\n+                }\n+            };\n+\n+            var expectedReading = [\n+                {\n+                     sensorId: 'bad discrete sensor',\n+                     entityId: '10.1 (Power Supply)',\n+                     sdrType: 'Discrete',\n+                     sensorType: 'Power Supply (0x08)',\n+                     sensorReading: 'ffh',\n+                     eventMessageControl: 'Per-threshold',\n+                     assertionsEnabled: [\n+                         'Presence detected',\n+                         'Failure detected',\n+                         'Power Supply AC lost'\n+                     ],\n+                     deassertionsEnabled: [\n+                        'Presence detected',\n+                        'Failure detected',\n+                        'Power Supply AC lost'\n+                     ],\n+                     oem: '0',\n+                     stateAsserted: 'Power Supply AC lost'\n+                },\n+                {\n+                     sensorId: 'bad discrete sensor',\n+                     entityId: '10.1 (Power Supply)',\n+                     sdrType: 'Discrete',\n+                     sensorType: 'Power Supply (0x08)',\n+                     sensorReading: 'ffh',\n+                     eventMessageControl: 'Per-threshold',\n+                     assertionsEnabled: [\n+                         'Presence detected',\n+                         'Failure detected',\n+                         'Power Supply AC lost'\n+                     ],\n+                     deassertionsEnabled: [\n+                        'Presence detected',\n+                        'Failure detected',\n+                        'Power Supply AC lost'\n+                     ],\n+                     oem: '0',\n+                     stateAsserted: 'Predictive failure'\n+                },\n+                {\n+                     sensorId: 'bad discrete sensor',\n+                     entityId: '10.1 (Power Supply)',\n+                     sdrType: 'Discrete',\n+                     sensorType: 'Power Supply (0x08)',\n+                     sensorReading: 'ffh',\n+                     eventMessageControl: 'Per-threshold',\n+                     assertionsEnabled: [\n+                         'Presence detected',\n+                         'Failure detected',\n+                         'Power Supply AC lost'\n+                     ],\n+                     deassertionsEnabled: [\n+                        'Presence detected',\n+                        'Failure detected',\n+                        'Power Supply AC lost'\n+                     ],\n+                     oem: '0',\n+                     stateAsserted: 'Failure detected'\n+                },\n+            ];\n+            var expectedInCondition = [true, true, false];\n+            badDiscreteTestSensor.statesAsserted.push('Predictive failure');\n+            data.sdr = samples.concat(badDiscreteTestSensor);\n+\n+            return this.determineAlert(data).then(function(out) {\n+                expect(out).to.have.length(3);\n+                for (var i = 0; i < out.length; i++) {\n+                    expect(out[i]).to.have.property('reading')\n+                        .that.deep.equals(expectedReading[i]);\n+                    expect(out[i]).to.have.property('host').that.equals(data.host);","path":"spec/lib/jobs/ipmi-sdr-alert-job-spec.js","position":620,"original_position":620,"commit_id":"62bc475601ca71b33ae55786407f7b26e1f097ad","original_commit_id":"62bc475601ca71b33ae55786407f7b26e1f097ad","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long.","created_at":"2015-12-02T19:36:10Z","updated_at":"2015-12-02T19:36:10Z","html_url":"https://github.com/RackHD/on-tasks/pull/83#discussion_r46463327","pull_request_url":"https://api.github.com/repos/RackHD/on-tasks/pulls/83","_links":{"self":{"href":"https://api.github.com/repos/RackHD/on-tasks/pulls/comments/46463327"},"html":{"href":"https://github.com/RackHD/on-tasks/pull/83#discussion_r46463327"},"pull_request":{"href":"https://api.github.com/repos/RackHD/on-tasks/pulls/83"}}},"pull_request":{"url":"https://api.github.com/repos/RackHD/on-tasks/pulls/83","id":52302920,"html_url":"https://github.com/RackHD/on-tasks/pull/83","diff_url":"https://github.com/RackHD/on-tasks/pull/83.diff","patch_url":"https://github.com/RackHD/on-tasks/pull/83.patch","issue_url":"https://api.github.com/repos/RackHD/on-tasks/issues/83","number":83,"state":"open","locked":false,"title":"Changes to SDR alert poller to support all SDR types.","user":{"login":"brianparry","id":13092640,"avatar_url":"https://avatars.githubusercontent.com/u/13092640?v=3","gravatar_id":"","url":"https://api.github.com/users/brianparry","html_url":"https://github.com/brianparry","followers_url":"https://api.github.com/users/brianparry/followers","following_url":"https://api.github.com/users/brianparry/following{/other_user}","gists_url":"https://api.github.com/users/brianparry/gists{/gist_id}","starred_url":"https://api.github.com/users/brianparry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianparry/subscriptions","organizations_url":"https://api.github.com/users/brianparry/orgs","repos_url":"https://api.github.com/users/brianparry/repos","events_url":"https://api.github.com/users/brianparry/events{/privacy}","received_events_url":"https://api.github.com/users/brianparry/received_events","type":"User","site_admin":false},"body":"* Modify ipmitool sdr parser to handle `sdr -v` output\r\n* Change SDR alert poller to publish alert for discrete SDR w/states asserted.\r\n\r\nThis change will break LTAE compatibility with the SDR poller.  Kranti is working on a fix for this, but the onserve changes should be merged *before* merging this change.","created_at":"2015-12-01T19:24:04Z","updated_at":"2015-12-02T19:36:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fed06ac94526ad3b725a12d7f07896d6bbe0f7eb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/RackHD/on-tasks/pulls/83/commits","review_comments_url":"https://api.github.com/repos/RackHD/on-tasks/pulls/83/comments","review_comment_url":"https://api.github.com/repos/RackHD/on-tasks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RackHD/on-tasks/issues/83/comments","statuses_url":"https://api.github.com/repos/RackHD/on-tasks/statuses/62bc475601ca71b33ae55786407f7b26e1f097ad","head":{"label":"brianparry:feature/discrete-sdr-parser","ref":"feature/discrete-sdr-parser","sha":"62bc475601ca71b33ae55786407f7b26e1f097ad","user":{"login":"brianparry","id":13092640,"avatar_url":"https://avatars.githubusercontent.com/u/13092640?v=3","gravatar_id":"","url":"https://api.github.com/users/brianparry","html_url":"https://github.com/brianparry","followers_url":"https://api.github.com/users/brianparry/followers","following_url":"https://api.github.com/users/brianparry/following{/other_user}","gists_url":"https://api.github.com/users/brianparry/gists{/gist_id}","starred_url":"https://api.github.com/users/brianparry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianparry/subscriptions","organizations_url":"https://api.github.com/users/brianparry/orgs","repos_url":"https://api.github.com/users/brianparry/repos","events_url":"https://api.github.com/users/brianparry/events{/privacy}","received_events_url":"https://api.github.com/users/brianparry/received_events","type":"User","site_admin":false},"repo":{"id":46006380,"name":"on-tasks","full_name":"brianparry/on-tasks","owner":{"login":"brianparry","id":13092640,"avatar_url":"https://avatars.githubusercontent.com/u/13092640?v=3","gravatar_id":"","url":"https://api.github.com/users/brianparry","html_url":"https://github.com/brianparry","followers_url":"https://api.github.com/users/brianparry/followers","following_url":"https://api.github.com/users/brianparry/following{/other_user}","gists_url":"https://api.github.com/users/brianparry/gists{/gist_id}","starred_url":"https://api.github.com/users/brianparry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianparry/subscriptions","organizations_url":"https://api.github.com/users/brianparry/orgs","repos_url":"https://api.github.com/users/brianparry/repos","events_url":"https://api.github.com/users/brianparry/events{/privacy}","received_events_url":"https://api.github.com/users/brianparry/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brianparry/on-tasks","description":"","fork":true,"url":"https://api.github.com/repos/brianparry/on-tasks","forks_url":"https://api.github.com/repos/brianparry/on-tasks/forks","keys_url":"https://api.github.com/repos/brianparry/on-tasks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brianparry/on-tasks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brianparry/on-tasks/teams","hooks_url":"https://api.github.com/repos/brianparry/on-tasks/hooks","issue_events_url":"https://api.github.com/repos/brianparry/on-tasks/issues/events{/number}","events_url":"https://api.github.com/repos/brianparry/on-tasks/events","assignees_url":"https://api.github.com/repos/brianparry/on-tasks/assignees{/user}","branches_url":"https://api.github.com/repos/brianparry/on-tasks/branches{/branch}","tags_url":"https://api.github.com/repos/brianparry/on-tasks/tags","blobs_url":"https://api.github.com/repos/brianparry/on-tasks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brianparry/on-tasks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brianparry/on-tasks/git/refs{/sha}","trees_url":"https://api.github.com/repos/brianparry/on-tasks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brianparry/on-tasks/statuses/{sha}","languages_url":"https://api.github.com/repos/brianparry/on-tasks/languages","stargazers_url":"https://api.github.com/repos/brianparry/on-tasks/stargazers","contributors_url":"https://api.github.com/repos/brianparry/on-tasks/contributors","subscribers_url":"https://api.github.com/repos/brianparry/on-tasks/subscribers","subscription_url":"https://api.github.com/repos/brianparry/on-tasks/subscription","commits_url":"https://api.github.com/repos/brianparry/on-tasks/commits{/sha}","git_commits_url":"https://api.github.com/repos/brianparry/on-tasks/git/commits{/sha}","comments_url":"https://api.github.com/repos/brianparry/on-tasks/comments{/number}","issue_comment_url":"https://api.github.com/repos/brianparry/on-tasks/issues/comments{/number}","contents_url":"https://api.github.com/repos/brianparry/on-tasks/contents/{+path}","compare_url":"https://api.github.com/repos/brianparry/on-tasks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brianparry/on-tasks/merges","archive_url":"https://api.github.com/repos/brianparry/on-tasks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brianparry/on-tasks/downloads","issues_url":"https://api.github.com/repos/brianparry/on-tasks/issues{/number}","pulls_url":"https://api.github.com/repos/brianparry/on-tasks/pulls{/number}","milestones_url":"https://api.github.com/repos/brianparry/on-tasks/milestones{/number}","notifications_url":"https://api.github.com/repos/brianparry/on-tasks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brianparry/on-tasks/labels{/name}","releases_url":"https://api.github.com/repos/brianparry/on-tasks/releases{/id}","created_at":"2015-11-11T19:59:03Z","updated_at":"2015-11-11T19:59:04Z","pushed_at":"2015-12-02T19:35:54Z","git_url":"git://github.com/brianparry/on-tasks.git","ssh_url":"git@github.com:brianparry/on-tasks.git","clone_url":"https://github.com/brianparry/on-tasks.git","svn_url":"https://github.com/brianparry/on-tasks","homepage":null,"size":866,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"RackHD:master","ref":"master","sha":"2b650d80655d559cb4c1ae3176132eb68b17f5a0","user":{"login":"RackHD","id":13982662,"avatar_url":"https://avatars.githubusercontent.com/u/13982662?v=3","gravatar_id":"","url":"https://api.github.com/users/RackHD","html_url":"https://github.com/RackHD","followers_url":"https://api.github.com/users/RackHD/followers","following_url":"https://api.github.com/users/RackHD/following{/other_user}","gists_url":"https://api.github.com/users/RackHD/gists{/gist_id}","starred_url":"https://api.github.com/users/RackHD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RackHD/subscriptions","organizations_url":"https://api.github.com/users/RackHD/orgs","repos_url":"https://api.github.com/users/RackHD/repos","events_url":"https://api.github.com/users/RackHD/events{/privacy}","received_events_url":"https://api.github.com/users/RackHD/received_events","type":"Organization","site_admin":false},"repo":{"id":41690099,"name":"on-tasks","full_name":"RackHD/on-tasks","owner":{"login":"RackHD","id":13982662,"avatar_url":"https://avatars.githubusercontent.com/u/13982662?v=3","gravatar_id":"","url":"https://api.github.com/users/RackHD","html_url":"https://github.com/RackHD","followers_url":"https://api.github.com/users/RackHD/followers","following_url":"https://api.github.com/users/RackHD/following{/other_user}","gists_url":"https://api.github.com/users/RackHD/gists{/gist_id}","starred_url":"https://api.github.com/users/RackHD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RackHD/subscriptions","organizations_url":"https://api.github.com/users/RackHD/orgs","repos_url":"https://api.github.com/users/RackHD/repos","events_url":"https://api.github.com/users/RackHD/events{/privacy}","received_events_url":"https://api.github.com/users/RackHD/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RackHD/on-tasks","description":"","fork":false,"url":"https://api.github.com/repos/RackHD/on-tasks","forks_url":"https://api.github.com/repos/RackHD/on-tasks/forks","keys_url":"https://api.github.com/repos/RackHD/on-tasks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RackHD/on-tasks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RackHD/on-tasks/teams","hooks_url":"https://api.github.com/repos/RackHD/on-tasks/hooks","issue_events_url":"https://api.github.com/repos/RackHD/on-tasks/issues/events{/number}","events_url":"https://api.github.com/repos/RackHD/on-tasks/events","assignees_url":"https://api.github.com/repos/RackHD/on-tasks/assignees{/user}","branches_url":"https://api.github.com/repos/RackHD/on-tasks/branches{/branch}","tags_url":"https://api.github.com/repos/RackHD/on-tasks/tags","blobs_url":"https://api.github.com/repos/RackHD/on-tasks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RackHD/on-tasks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RackHD/on-tasks/git/refs{/sha}","trees_url":"https://api.github.com/repos/RackHD/on-tasks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RackHD/on-tasks/statuses/{sha}","languages_url":"https://api.github.com/repos/RackHD/on-tasks/languages","stargazers_url":"https://api.github.com/repos/RackHD/on-tasks/stargazers","contributors_url":"https://api.github.com/repos/RackHD/on-tasks/contributors","subscribers_url":"https://api.github.com/repos/RackHD/on-tasks/subscribers","subscription_url":"https://api.github.com/repos/RackHD/on-tasks/subscription","commits_url":"https://api.github.com/repos/RackHD/on-tasks/commits{/sha}","git_commits_url":"https://api.github.com/repos/RackHD/on-tasks/git/commits{/sha}","comments_url":"https://api.github.com/repos/RackHD/on-tasks/comments{/number}","issue_comment_url":"https://api.github.com/repos/RackHD/on-tasks/issues/comments{/number}","contents_url":"https://api.github.com/repos/RackHD/on-tasks/contents/{+path}","compare_url":"https://api.github.com/repos/RackHD/on-tasks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RackHD/on-tasks/merges","archive_url":"https://api.github.com/repos/RackHD/on-tasks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RackHD/on-tasks/downloads","issues_url":"https://api.github.com/repos/RackHD/on-tasks/issues{/number}","pulls_url":"https://api.github.com/repos/RackHD/on-tasks/pulls{/number}","milestones_url":"https://api.github.com/repos/RackHD/on-tasks/milestones{/number}","notifications_url":"https://api.github.com/repos/RackHD/on-tasks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RackHD/on-tasks/labels{/name}","releases_url":"https://api.github.com/repos/RackHD/on-tasks/releases{/id}","created_at":"2015-08-31T17:29:32Z","updated_at":"2015-11-02T22:55:44Z","pushed_at":"2015-12-02T19:35:54Z","git_url":"git://github.com/RackHD/on-tasks.git","ssh_url":"git@github.com:RackHD/on-tasks.git","clone_url":"https://github.com/RackHD/on-tasks.git","svn_url":"https://github.com/RackHD/on-tasks","homepage":null,"size":920,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":3,"forks":16,"open_issues":3,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RackHD/on-tasks/pulls/83"},"html":{"href":"https://github.com/RackHD/on-tasks/pull/83"},"issue":{"href":"https://api.github.com/repos/RackHD/on-tasks/issues/83"},"comments":{"href":"https://api.github.com/repos/RackHD/on-tasks/issues/83/comments"},"review_comments":{"href":"https://api.github.com/repos/RackHD/on-tasks/pulls/83/comments"},"review_comment":{"href":"https://api.github.com/repos/RackHD/on-tasks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RackHD/on-tasks/pulls/83/commits"},"statuses":{"href":"https://api.github.com/repos/RackHD/on-tasks/statuses/62bc475601ca71b33ae55786407f7b26e1f097ad"}}}}