cleanup(storage): remove disable_deprecation_warnings.inc headers once deprecated checksum options are removed
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by checking issue #16404 to confirm the deprecated checksum and hashing symbols have been removed; this cleanup depends on that work. Then inspect the listed Cloud Storage headers and implementation files for disable_deprecation_warnings.inc and, in signed_url_requests.h, diagnostics_pop.inc. Remove the suppression includes once no deprecated symbols remain, and verify the relevant Bazel builds no longer need them.
索引モデルが issue の本文から書いたものです。
説明
Summary
Several Cloud Storage headers and implementation files include google/cloud/internal/disable_deprecation_warnings.inc (and google/cloud/internal/diagnostics_pop.inc in headers) to suppress -Wdeprecated-declarations compiler warnings while maintaining backward compatibility for deprecated checksum/hashing options.
Once the deprecated checksum/hashing symbols (MD5HashValue, Crc32cChecksumValue, UseCrc32cValueOption, UseMD5ValueOption, EnableCrc32cValidationOption, EnableMD5ValidationOption, DisableMD5Hash, DisableCrc32cChecksum) are removed from the codebase (see #16404), remove these .inc diagnostic suppression headers.
Background
- PR #16311 formally deprecated
MD5HashValue,Crc32cChecksumValue,UseCrc32cValueOption, andUseMD5ValueOptionin favor ofPrecomputedChecksumsOption(andEnableCrc32cValidationOption/EnableMD5ValidationOption/DisableCrc32cChecksum/DisableMD5Hashin favor ofUploadChecksumValidationOptionandDownloadChecksumValidationOption). - To prevent
-Wdeprecated-declarationswarnings in Bazel builds while continuing to honor these deprecated options internally,disable_deprecation_warnings.inc(anddiagnostics_pop.inc) was added to internal headers and implementation files.
Affected Files
Files updated to suppress deprecation diagnostics for internal backward-compatibility plumbing:
google/cloud/storage/internal/signed_url_requests.h(disable_deprecation_warnings.incanddiagnostics_pop.inc)google/cloud/storage/parallel_upload.ccgoogle/cloud/storage/internal/async/writer_connection_impl.ccgoogle/cloud/storage/internal/async/connection_impl.ccgoogle/cloud/storage/internal/async/default_options.cc
Additional google/cloud/storage/ files containing disable_deprecation_warnings.inc for deprecated checksum options (see also #16404):
google/cloud/storage/hashing_options.hgoogle/cloud/storage/parallel_upload.hgoogle/cloud/storage/client.ccgoogle/cloud/storage/internal/async/checksum_helpers.hgoogle/cloud/storage/internal/checksum_helpers.hgoogle/cloud/storage/internal/connection_impl.ccgoogle/cloud/storage/internal/grpc/stub.ccgoogle/cloud/storage/internal/hash_function.hgoogle/cloud/storage/internal/hash_function.ccgoogle/cloud/storage/internal/hash_validator.ccgoogle/cloud/storage/internal/object_requests.hgoogle/cloud/storage/internal/object_requests.ccgoogle/cloud/storage/internal/rest/stub.cc
- 主要言語
- C++
- スター
- 659
- フォーク
- 471
- 平均マージ
- 1日 10時間
- マージ済み PR(30日)
- 100
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
googleapis/google-cloud-cpp のほかの issue
-
cleanup(storage): remove deprecated OpenTelemetry rpc.message.type and rpc.message.id attributesオープンapi: storage type: cleanup
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
googleapis/google-cloud-cpp#16544 ·
メンテナーはふだん 1 日以内に返信
-
api: storage priority: p2 type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
googleapis/google-cloud-cpp#16529 ·
メンテナーはふだん 1 日以内に返信
-
type: feature request
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
googleapis/google-cloud-cpp#16193 ·
メンテナーはふだん 1 日以内に返信
-
api: storage type: cleanup
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
googleapis/google-cloud-cpp#16404 ·
メンテナーはふだん 1 日以内に返信
-
cpp: generator type: cleanup
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
googleapis/google-cloud-cpp#16394 ·
メンテナーはふだん 1 日以内に返信
googleapis/google-cloud-cpp の issue をすべて見る
似ている issue
-
Status: Awaiting triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
espressif/arduino-esp32#12984 ·
メンテナーはふだん 1 日以内に返信
-
torch_ops/logprob.cu does not compile with the serving container's nvcc (13.3.73); check_torch_ops.py cannot run as shipped対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1時間未満 初心者へのやさしさ 72/100
ashhart/TensorFold#535 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信