Package: golang-google-cloud / 0.56.0-6

Metadata

Package Version Patches format
golang-google-cloud 0.56.0-6 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 skip tests which need network access.patch | (download)

spanner/client_test.go | 1 1 + 0 - 0 !
storage/bucket_test.go | 1 1 + 0 - 0 !
storage/storage_test.go | 1 1 + 0 - 0 !
3 files changed, 3 insertions(+)

 skip tests which need network access


0002 Backport testEqual in spanner package.patch | (download)

spanner/cmp_test.go | 42 41 + 1 - 0 !
spanner/transaction_test.go | 14 1 + 13 - 0 !
2 files changed, 42 insertions(+), 14 deletions(-)

 backport testequal in spanner package

Change in transaction_test.go
  https://github.com/googleapis/google-cloud-go/commit/91ceec29
Change in cmp_test.go
  Copy from https://github.com/googleapis/google-cloud-go/blob/main/spanner/cmp_test.go
  There are several commits, so just copy the latest.

0003 fix 32bit ftbfs.patch | (download)

pubsub/flow_controller_test.go | 2 2 + 0 - 0 !
pubsub/integration_test.go | 2 2 + 0 - 0 !
2 files changed, 4 insertions(+)

---
0004 cherry pick uid 32bit fix.patch | (download)

internal/uid/uid.go | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 [patch] fix: make uid.timestamp work on 32bit architectures

strconv.Atoi fails because the nanoseconds part of the string does not fit in an int, instead use ParseInt to get an int64.

As time.Date only takes an int for the nanoseconds part, use Add() separately instead as it takes a Duration, which is an int64.