diff --git a/.github/workflows/fetch.yaml b/.github/workflows/fetch.yaml index 7b14b1c0..fb5253f2 100644 --- a/.github/workflows/fetch.yaml +++ b/.github/workflows/fetch.yaml @@ -49,8 +49,6 @@ jobs: title: "Found new managed modules references" body: | New managed modules references found. Please review. - - - [ ] `googlecloudplatform/bq-schema-api` has updates, I have checked https://github.com/bufbuild/modules/issues/592 team-reviewers: bufbuild/bsr-team token: ${{ steps.generate_token.outputs.token }} - uses: dblock/create-a-github-issue@c5e54b8762a0c4c2cd9330750e30b81bcc369c38 diff --git a/modules/static/googlecloudplatform/bq-schema-api/buf.md b/modules/static/googlecloudplatform/bq-schema-api/buf.md index e9265569..996abdd5 100644 --- a/modules/static/googlecloudplatform/bq-schema-api/buf.md +++ b/modules/static/googlecloudplatform/bq-schema-api/buf.md @@ -2,13 +2,13 @@ Updates to the [source repository](https://github.com/GoogleCloudPlatform/protoc-gen-bq-schema) are automatically synced on a periodic basis, and each BSR commit is tagged with corresponding Git -commits. +semver releases. To depend on a specific Git commit, you can use it as your reference in your dependencies: -``` +```yaml deps: - - buf.build/googlecloudplatform/bq-schema-api: + - buf.build/googlecloudplatform/bq-schema-api: ``` For more information, see the [documentation](https://buf.build/docs/bsr/overview). diff --git a/modules/static/googlecloudplatform/bq-schema-api/initref b/modules/static/googlecloudplatform/bq-schema-api/initref index 19466e4f..c0ec837a 100644 --- a/modules/static/googlecloudplatform/bq-schema-api/initref +++ b/modules/static/googlecloudplatform/bq-schema-api/initref @@ -1 +1 @@ -31a7e43419f7c19d79de0bb506798bc602287e80 +v2.0 diff --git a/modules/sync/googlecloudplatform/bq-schema-api/cas/436e280640e101852352a4ae1d8ee788781086dfb4652016fb35aa954999d018f1c43809be3789bdf4e6e699725d246c1142977d0ddfe2003c685d3c08ca3dd6 b/modules/sync/googlecloudplatform/bq-schema-api/cas/28541d181d024f941fccd08aa71cab6a5a7c95f4c6c9fc96650c86fc0792538647ccb2f1609ddff99c26fec77bad87290edbbac3d8cb93f0025c67900af5b2ce similarity index 81% rename from modules/sync/googlecloudplatform/bq-schema-api/cas/436e280640e101852352a4ae1d8ee788781086dfb4652016fb35aa954999d018f1c43809be3789bdf4e6e699725d246c1142977d0ddfe2003c685d3c08ca3dd6 rename to modules/sync/googlecloudplatform/bq-schema-api/cas/28541d181d024f941fccd08aa71cab6a5a7c95f4c6c9fc96650c86fc0792538647ccb2f1609ddff99c26fec77bad87290edbbac3d8cb93f0025c67900af5b2ce index e9265569..996abdd5 100644 --- a/modules/sync/googlecloudplatform/bq-schema-api/cas/436e280640e101852352a4ae1d8ee788781086dfb4652016fb35aa954999d018f1c43809be3789bdf4e6e699725d246c1142977d0ddfe2003c685d3c08ca3dd6 +++ b/modules/sync/googlecloudplatform/bq-schema-api/cas/28541d181d024f941fccd08aa71cab6a5a7c95f4c6c9fc96650c86fc0792538647ccb2f1609ddff99c26fec77bad87290edbbac3d8cb93f0025c67900af5b2ce @@ -2,13 +2,13 @@ Updates to the [source repository](https://github.com/GoogleCloudPlatform/protoc-gen-bq-schema) are automatically synced on a periodic basis, and each BSR commit is tagged with corresponding Git -commits. +semver releases. To depend on a specific Git commit, you can use it as your reference in your dependencies: -``` +```yaml deps: - - buf.build/googlecloudplatform/bq-schema-api: + - buf.build/googlecloudplatform/bq-schema-api: ``` For more information, see the [documentation](https://buf.build/docs/bsr/overview). diff --git a/modules/sync/googlecloudplatform/bq-schema-api/cas/31ba0d15e32822c8ee38464d6125734c8baf140a446971e7b07e05cbccae63b9107811ee5d939b7cee98977c02e4390b77ef9bbdc00b1bd332ca4b6406a80abe b/modules/sync/googlecloudplatform/bq-schema-api/cas/31ba0d15e32822c8ee38464d6125734c8baf140a446971e7b07e05cbccae63b9107811ee5d939b7cee98977c02e4390b77ef9bbdc00b1bd332ca4b6406a80abe deleted file mode 100644 index d1899c83..00000000 --- a/modules/sync/googlecloudplatform/bq-schema-api/cas/31ba0d15e32822c8ee38464d6125734c8baf140a446971e7b07e05cbccae63b9107811ee5d939b7cee98977c02e4390b77ef9bbdc00b1bd332ca4b6406a80abe +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright 2014 Google Inc. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -syntax = "proto3"; -package gen_bq_schema; - -option go_package = "github.com/GoogleCloudPlatform/protoc-gen-bq-schema/protos"; - -import "google/protobuf/descriptor.proto"; - - -// Message containing options related to BigQuery schema generation -// and management via Protobuf. -message BigQueryFieldOptions { - // Flag to specify that a field should be marked as 'REQUIRED' when - // used to generate schema for BigQuery. - bool require = 1; - - // Optionally override whatever type is resolved by the schema - // generator. This is useful, for example, to store epoch timestamps - // with the underlying 'TIMESTAMP' type, when normally, they would - // be structured as 'INTEGER' fields. - string type_override = 2; - - // Optionally omit a field from BigQuery schema. - bool ignore = 3; - - // Set the description for a field in BigQuery schema. - string description = 4; - - // Customize the name of the field in the BigQuery schema. - string name = 5; - - // Optionally add PolicyTag for a field in BigQuery schema. - string policy_tags = 6; -} - - -extend google.protobuf.FieldOptions { - // BigQuery field schema generation options. - BigQueryFieldOptions bigquery = 1021; -} \ No newline at end of file diff --git a/modules/sync/googlecloudplatform/bq-schema-api/cas/41efb5a2e1001dde031d0f3dcc429cd7fc47d2808ae3b23cd951c594067a21ff246b9bfcb291af55fcb3764322de88bc5ae6c0304e812b31dc2082582e6e2e75 b/modules/sync/googlecloudplatform/bq-schema-api/cas/41efb5a2e1001dde031d0f3dcc429cd7fc47d2808ae3b23cd951c594067a21ff246b9bfcb291af55fcb3764322de88bc5ae6c0304e812b31dc2082582e6e2e75 deleted file mode 100644 index 7cac9581..00000000 --- a/modules/sync/googlecloudplatform/bq-schema-api/cas/41efb5a2e1001dde031d0f3dcc429cd7fc47d2808ae3b23cd951c594067a21ff246b9bfcb291af55fcb3764322de88bc5ae6c0304e812b31dc2082582e6e2e75 +++ /dev/null @@ -1,5 +0,0 @@ -shake256:a9c4ad5b20a2946a25d5efb7f096b32ffaa567e3e9a7d89984870104aab45f08d7f6f10c7c72affdc4aabab0471066958ae97c3bb5925b7cb268f8afde27ebbf LICENSE -shake256:31ba0d15e32822c8ee38464d6125734c8baf140a446971e7b07e05cbccae63b9107811ee5d939b7cee98977c02e4390b77ef9bbdc00b1bd332ca4b6406a80abe bq_field.proto -shake256:af879ba44c229924a4f5ddecf9b4c13fcecf8b91152182f8b71cfea876e619aacae4948e2adc1cf6fc8da8439a072d0b66ceede415fd8a231cc9052a5317b4e5 bq_table.proto -shake256:7c14589bd88fc1904257f9ba635551f7728c7dcad68c6ca3a656773217366e688ce111ccd640c4adfc6d826f3cc0276bf15d8655fa7107b9ef381d23a6982832 buf.md -shake256:29427569a8fb1e77c04ceeb5c7a2cbba8d5a3cccc300d24b6abde1208b00ad10e22e22d6ee9ae0720651e28383a70f552572ab0bf5ebd2ea93895621a619dccb buf.yaml diff --git a/modules/sync/googlecloudplatform/bq-schema-api/cas/7c14589bd88fc1904257f9ba635551f7728c7dcad68c6ca3a656773217366e688ce111ccd640c4adfc6d826f3cc0276bf15d8655fa7107b9ef381d23a6982832 b/modules/sync/googlecloudplatform/bq-schema-api/cas/7c14589bd88fc1904257f9ba635551f7728c7dcad68c6ca3a656773217366e688ce111ccd640c4adfc6d826f3cc0276bf15d8655fa7107b9ef381d23a6982832 deleted file mode 100644 index cce43858..00000000 --- a/modules/sync/googlecloudplatform/bq-schema-api/cas/7c14589bd88fc1904257f9ba635551f7728c7dcad68c6ca3a656773217366e688ce111ccd640c4adfc6d826f3cc0276bf15d8655fa7107b9ef381d23a6982832 +++ /dev/null @@ -1,14 +0,0 @@ -**This is a third-party repository managed by Buf.** - -Updates to the [source repository](https://github.com/GoogleCloudPlatform/protoc-gen-bq-schema) are -automatically synced on a periodic basis, and each BSR commit is tagged with corresponding Git -commits. - -To depend on a specific Git commit, you can use it as your reference in your dependencies: - -``` -deps: - - buf.build/googlecloudplatform/bq-schema-api: -``` - -For more information, see the [documentation](https://docs.buf.build/bsr/overview). diff --git a/modules/sync/googlecloudplatform/bq-schema-api/cas/95d3a63191c6972257cbdcf08d315e923f5e61b40a2ef7feec9c5aba1f2116e1b94926cb65ab908634229227086ffe10c2a8c34c7a24a0fc3dfc8773bdea30f4 b/modules/sync/googlecloudplatform/bq-schema-api/cas/a72cb483d3e1b71402bb4fb8edec8e39c981b5edcd4259a49c223bc058adbb234f3f44c49128069ec82b16d3dd27991ed77f030f6250f6a28d023c23d4c7ddb5 similarity index 80% rename from modules/sync/googlecloudplatform/bq-schema-api/cas/95d3a63191c6972257cbdcf08d315e923f5e61b40a2ef7feec9c5aba1f2116e1b94926cb65ab908634229227086ffe10c2a8c34c7a24a0fc3dfc8773bdea30f4 rename to modules/sync/googlecloudplatform/bq-schema-api/cas/a72cb483d3e1b71402bb4fb8edec8e39c981b5edcd4259a49c223bc058adbb234f3f44c49128069ec82b16d3dd27991ed77f030f6250f6a28d023c23d4c7ddb5 index 2d494fa4..8cb10e91 100644 --- a/modules/sync/googlecloudplatform/bq-schema-api/cas/95d3a63191c6972257cbdcf08d315e923f5e61b40a2ef7feec9c5aba1f2116e1b94926cb65ab908634229227086ffe10c2a8c34c7a24a0fc3dfc8773bdea30f4 +++ b/modules/sync/googlecloudplatform/bq-schema-api/cas/a72cb483d3e1b71402bb4fb8edec8e39c981b5edcd4259a49c223bc058adbb234f3f44c49128069ec82b16d3dd27991ed77f030f6250f6a28d023c23d4c7ddb5 @@ -1,5 +1,5 @@ shake256:a9c4ad5b20a2946a25d5efb7f096b32ffaa567e3e9a7d89984870104aab45f08d7f6f10c7c72affdc4aabab0471066958ae97c3bb5925b7cb268f8afde27ebbf LICENSE shake256:6385cd1572194e79fda22944dc9c6b1e016b7e9ed89aae6e3cdd200b6860e14a3a413997d97289c64c6920ca90288caf84358ebde9ddeedcefa5988f254e90e0 bq_field.proto shake256:af879ba44c229924a4f5ddecf9b4c13fcecf8b91152182f8b71cfea876e619aacae4948e2adc1cf6fc8da8439a072d0b66ceede415fd8a231cc9052a5317b4e5 bq_table.proto -shake256:436e280640e101852352a4ae1d8ee788781086dfb4652016fb35aa954999d018f1c43809be3789bdf4e6e699725d246c1142977d0ddfe2003c685d3c08ca3dd6 buf.md +shake256:28541d181d024f941fccd08aa71cab6a5a7c95f4c6c9fc96650c86fc0792538647ccb2f1609ddff99c26fec77bad87290edbbac3d8cb93f0025c67900af5b2ce buf.md shake256:29427569a8fb1e77c04ceeb5c7a2cbba8d5a3cccc300d24b6abde1208b00ad10e22e22d6ee9ae0720651e28383a70f552572ab0bf5ebd2ea93895621a619dccb buf.yaml diff --git a/modules/sync/googlecloudplatform/bq-schema-api/state.json b/modules/sync/googlecloudplatform/bq-schema-api/state.json index 96e7e7df..6c98ad4b 100644 --- a/modules/sync/googlecloudplatform/bq-schema-api/state.json +++ b/modules/sync/googlecloudplatform/bq-schema-api/state.json @@ -1,20 +1,8 @@ { "references": [ { - "name": "31a7e43419f7c19d79de0bb506798bc602287e80", - "digest": "41efb5a2e1001dde031d0f3dcc429cd7fc47d2808ae3b23cd951c594067a21ff246b9bfcb291af55fcb3764322de88bc5ae6c0304e812b31dc2082582e6e2e75" - }, - { - "name": "100bba852d378cfdb36ad2f2cb0d21cbb3664371", - "digest": "41efb5a2e1001dde031d0f3dcc429cd7fc47d2808ae3b23cd951c594067a21ff246b9bfcb291af55fcb3764322de88bc5ae6c0304e812b31dc2082582e6e2e75" - }, - { - "name": "87c8132ab25acc2b174178e2f4279e569c0b5628", - "digest": "95d3a63191c6972257cbdcf08d315e923f5e61b40a2ef7feec9c5aba1f2116e1b94926cb65ab908634229227086ffe10c2a8c34c7a24a0fc3dfc8773bdea30f4" - }, - { - "name": "78b6998919e338fec9f4a251bc334d69e030e118", - "digest": "95d3a63191c6972257cbdcf08d315e923f5e61b40a2ef7feec9c5aba1f2116e1b94926cb65ab908634229227086ffe10c2a8c34c7a24a0fc3dfc8773bdea30f4" + "name": "v2.0", + "digest": "a72cb483d3e1b71402bb4fb8edec8e39c981b5edcd4259a49c223bc058adbb234f3f44c49128069ec82b16d3dd27991ed77f030f6250f6a28d023c23d4c7ddb5" } ] } \ No newline at end of file diff --git a/modules/sync/state.json b/modules/sync/state.json index e58dccfb..da67aeed 100644 --- a/modules/sync/state.json +++ b/modules/sync/state.json @@ -50,7 +50,7 @@ }, { "module_name": "googlecloudplatform/bq-schema-api", - "latest_reference": "78b6998919e338fec9f4a251bc334d69e030e118" + "latest_reference": "v2.0" }, { "module_name": "grpc-ecosystem/grpc-gateway", diff --git a/scripts/fetch.sh b/scripts/fetch.sh index 97a01f31..eb97fa14 100755 --- a/scripts/fetch.sh +++ b/scripts/fetch.sh @@ -222,8 +222,7 @@ sync_references releases gogo protobuf https://github.com/gogo/protobuf sync_references releases google cel-spec https://github.com/google/cel-spec proto sync_references commits googleapis googleapis https://github.com/googleapis/googleapis sync_references releases googlechrome lighthouse https://github.com/GoogleChrome/lighthouse proto -# TODO: move googlecloudplatform/bq-schema-api to releases in their next semver release -sync_references commits googlecloudplatform bq-schema-api https://github.com/GoogleCloudPlatform/protoc-gen-bq-schema +sync_references releases googlecloudplatform bq-schema-api https://github.com/GoogleCloudPlatform/protoc-gen-bq-schema sync_references commits grpc grpc https://github.com/grpc/grpc-proto sync_references releases grpc-ecosystem grpc-gateway https://github.com/grpc-ecosystem/grpc-gateway sync_references releases opencensus opencensus https://github.com/census-instrumentation/opencensus-proto src