Stream: t-compiler/help

Topic: Way to search comments within a PR?


Joshua Nelson (Aug 04 2020 at 00:45, on Zulip):

please I can't bear to expand 175 comments again :laughing:

I want to find the comment that matches typeck::check_crate on https://github.com/rust-lang/rust/pull/73566. typeck::check_crate is:pr author:jyn514 is:closed brings up the PR itself but not the comment that matches.

Joshua Nelson (Aug 04 2020 at 00:59, on Zulip):

I found https://developer.github.com/v4/explorer/ which gives me something close

Joshua Nelson (Aug 04 2020 at 00:59, on Zulip):

this gives me the first 100 comments at least

{
  repository(name: "rust", owner: "rust-lang") {
    pullRequest(number: 73566) {
      comments(first: 100) {
        nodes {
          body
          id
        }
      }
    }
  }
}
Joshua Nelson (Aug 04 2020 at 01:11, on Zulip):

I just ended up expanding them all in the web ui

Last update: Sep 28 2020 at 14:00UTC