[roll] Roll fuchsia [superproject] Roll third_party/go [build] Copy over only if contents have changed

Let ninja restat prune actions that don't need to re-run.

Compare source and destination files line-by-line
to avoid reading whole files into memory, and to return
as soon as any difference is found.

Add unit tests.

Original-Bug: 135011

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/go/+/957953
Original-Revision: 84d157557b5f07d05226ff9425afcea8014cb96a
GitOrigin-RevId: b3f23d1d8ff4347109732b84fa1f985bbbd41b2f
Roller-URL: https://ci.chromium.org/b/8761981271713138769
CQ-Do-Not-Cancel-Tryjobs: true
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/958858
Original-Revision: 23fa83d9adfcaef7c47153c9b5ab1d55811dfde2
Change-Id: I32cb13a6497eb56881141271461181265cd2b9b7
1 file changed
tree: 664e8a974c31432b399cd14a22bce90699b3c7e4
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
  14. toolchain
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 via the IRC channel #fuchsia on Freenode.

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.