[wpt-sync] Tweak Gerrit search queries

* Also fetch DETAILED_ACCOUNTS in query_cl to make sure we have owner
  info (altough currently the only user of that method doesn't need it).
* Do not fetch DETAILED_LABELS as we never use it.
* Extract query options into a constant now that two methods use the
  same options.
* Exclude WIP CLs in query_exportable_open_cls and get up to 500 CLs to
  reduce the chance of missing in-flight exportable CLs.

Change-Id: I308f6d8e730940b15f40fdb0aa2d61f9b86d6369
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1626301
Auto-Submit: Robert Ma <robertma@chromium.org>
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Commit-Queue: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#662828}
1 file changed