On Thu, Mar 7, 2013 at 12:26 PM, Ethan J. Brown <notifications@github.com>wrote:

> In lib/janky/github/payload_parser.rb:
>
> > @@ -29,6 +83,27 @@ def commits
> >          end
> >        end
> >
> > +      def map_pull_request_commits(hash)
> > +        head_nwo = @payload["pull_request"]["head"]["repo"]["full_name"]
> > +        base_nwo = @payload["pull_request"]["base"]["repo"]["full_name"]
> > +        hash.map do |commit|
> > +          # HACK: because GitHub keeps messing with the API results
>
> It happened once over the span of a couple of days a month or so ago...
> payload format mysteriously changed, I patched the code, re-deployed.
> Lasted a day or so, then changed to what it was... since I didn't want to
> go through that a bunch, I just took the approach of dealing with either
> format.
>
> It could have just been a temporary bug the GitHub side.
>
Pretty sure that has never happened. :trollface:

> —
> Reply to this email directly or view it on GitHub<https://github.com/github/janky/pull/131/files#r3287727>
> .
>