)]}' { "commit": "0567a55b47110fede81831197722a0b930f4e923", "tree": "2167620f08d876ce51b57adcc1eb9cab8a6e0944", "parents": [ "81db48ad09ccc6ee1fcae434baa4bb1b7a7a7a72" ], "author": { "name": "Joe Tsai", "email": "joetsai@digital-static.net", "time": "Tue May 26 13:30:59 2020 -0700" }, "committer": { "name": "Joe Tsai", "email": "thebrokentoaster@gmail.com", "time": "Tue May 26 22:06:12 2020 +0000" }, "message": "all: add weak dependency on google.golang.org/genproto module\n\nThis is step 4 of 6 in a multi-stage migration\nto move the well-known types\nfrom the google.golang.org/genproto module\nto the google.golang.org/protobuf module.\n\nThe generated Go packages for field_mask.proto, api.proto,\ntype.proto, and source_context.proto are being moved over\nto this module alongside all the other well-known types.\n\nIn order to move these types between two modules,\nthere needs to be a sequence of changes submitted in\ndecently rapid succession. It is impossible to atomically\nmake these changes, so a brief breakage is inevitable.\nThe steps are as follows:\n\nStep 1: Submit a change to cloud.google.com/go/internal/gapicgen\nto avoid generating the well-known types. Otherwise, the tool\nwill undo the changes made in step 3.\nSee https://code-review.googlesource.com/c/gocloud/+/56810\n\nStep 2: Submit a change to google.golang.org/protobuf that\nadds the generated well-known types being migrated to that module.\nIn order to prevent the situation where a user links in\ntoo old a version of the genproto module such that\nduplicate registration occurs for the well-known types,\nthe registry is specially modified to provide an error\nmessage that instructs users to upgrade the genproto module.\nSee https://golang.org/cl/234937\n\nStep 3: Submit a change to google.golang.org/genproto that\nswitches all generated well-known types to be aliases to the\nones declared in google.golang.org/protobuf from the previous step.\nThis will cause the genproto module to incur an dependency\non an unreleased version of the protobuf module.\nSee https://github.com/googleapis/go-genproto/pull/372\n\nStep 4: Submit a change to google.golang.org/protobuf that\nadds a weak module depdency on the genproto module at the\nrevision from the previous step.\nSee https://golang.org/cl/235297\n\nStep 5: Release google.golang.org/protobuf@v1.24.0.\nSee https://golang.org/cl/235299\n\nStep 6: Submit a change to google.golang.org/genproto that\nupdates the protobuf module dependency to v1.24.0.\n\nChange-Id: I22d496e7496446becad742eab05b169abb735ae2\nReviewed-on: https://go-review.googlesource.com/c/protobuf/+/235297\nReviewed-by: Damien Neil \u003cdneil@google.com\u003e\n", "tree_diff": [ { "type": "modify", "old_id": "bebf0972daac8ab0af8e9559d68468690a78a1a5", "old_mode": 33188, "old_path": "go.mod", "new_id": "df0a8f93e332195e19dc6fe16c890ae7cade19e8", "new_mode": 33188, "new_path": "go.mod" }, { "type": "modify", "old_id": "a40ccf1a1cdb072a38ce1394c0fd412c964e8ed3", "old_mode": 33188, "old_path": "go.sum", "new_id": "28653b20e08f08fb5943446e743a2e358415e75c", "new_mode": 33188, "new_path": "go.sum" }, { "type": "modify", "old_id": "456fbfdfb300a337d10bbad1f8fc3a7619e67314", "old_mode": 33188, "old_path": "internal/weakdeps/weakdeps.go", "new_id": "47c12cf6bca29b97c50ea090d60581c69622fc17", "new_mode": 33188, "new_path": "internal/weakdeps/weakdeps.go" }, { "type": "modify", "old_id": "0cdb435b0dec76104aa719d4037ff0609907588a", "old_mode": 33188, "old_path": "reflect/protoregistry/registry.go", "new_id": "5e5f9671646fe7febd3ffdeb9f0bd2bb4d1cda74", "new_mode": 33188, "new_path": "reflect/protoregistry/registry.go" } ] }