Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

cleanup(storage): remove disable_deprecation_warnings.inc headers once deprecated checksum options are removed

オープン
#16,545 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
cpp
領域
backend

調査の方向性

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 の本文から書いたものです。

説明

api: storage type: cleanup

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, and UseMD5ValueOption in favor of PrecomputedChecksumsOption (and EnableCrc32cValidationOption / EnableMD5ValidationOption / DisableCrc32cChecksum / DisableMD5Hash in favor of UploadChecksumValidationOption and DownloadChecksumValidationOption).
  • To prevent -Wdeprecated-declarations warnings in Bazel builds while continuing to honor these deprecated options internally, disable_deprecation_warnings.inc (and diagnostics_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.inc and diagnostics_pop.inc)
  • google/cloud/storage/parallel_upload.cc
  • google/cloud/storage/internal/async/writer_connection_impl.cc
  • google/cloud/storage/internal/async/connection_impl.cc
  • google/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.h
  • google/cloud/storage/parallel_upload.h
  • google/cloud/storage/client.cc
  • google/cloud/storage/internal/async/checksum_helpers.h
  • google/cloud/storage/internal/checksum_helpers.h
  • google/cloud/storage/internal/connection_impl.cc
  • google/cloud/storage/internal/grpc/stub.cc
  • google/cloud/storage/internal/hash_function.h
  • google/cloud/storage/internal/hash_function.cc
  • google/cloud/storage/internal/hash_validator.cc
  • google/cloud/storage/internal/object_requests.h
  • google/cloud/storage/internal/object_requests.cc
  • google/cloud/storage/internal/rest/stub.cc
主要言語
C++
スター
659
フォーク
471
平均マージ
1日 10時間
マージ済み PR(30日)
100

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

googleapis/google-cloud-cpp のほかの issue

googleapis/google-cloud-cpp の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。