[roll] Roll infra/recipes [auto_roller] Populate change num and patchset for dupe CLs

Previously we didn't set the `number` and `patchset` fields when
constructing `GerritChange` objects corresponding to pre-existing CLs
from previous roll attempts, which caused failures when trying to look
up tryjobs because the Buildbucket search logic assumed the `number` and
`patchset` fields were set.

Also, use the `current_revision_number` field from the Gerrit API
response as a simpler means of getting the patchset number compared to
unpacking the nested `revisions` field.

Original-Fixed: 431852652
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/infra/recipes/+/1325695
Original-Revision: 265e96f4286e18084726398d18f770cb721db142
GitOrigin-RevId: a18004ebd811a5bcb5efdb355934cd36fa9e4681
Change-Id: I9691c91071da7b508ba53ed16b3c4bc2f8ecaa3e
1 file changed
tree: e653b48d673a93812ef40c95010df988d5042330
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. flower
  6. jiri.lock
  7. MILESTONE
  8. minimal
  9. prebuilts
  10. README.md
  11. stem
  12. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.