delete-file-version fails for snapshots

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

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

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

評価

難易度
3/5
見積もり時間
半日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
cli, cloud

調査の方向性

The report is about the delete-file-version command, which currently fails with a 400 when the target file is inside a snapshot bucket. Start by finding where that command is defined and how it calls the B2 API, then check whether the underlying request can send the allow-snapshot header at all. Done means a clear way to pass that header (the report suggests an --allowSnapshot switch) and a reproduction against a snapshot bucket. Expect the fix may belong in the upstream SDK, and confirm with maintainers before starting.

索引モデルが issue の本文から書いたものです。

説明

Passing a file version for a snapshot to delete-file-version results in:

ERROR: Unknown error: 400 bad_request Allow snapshot header must be specified when deleting a file from a snapshot bucket

I assumed this meant there would be a --allowSnapshot switch, but there's not.

主要言語
Python
スター
638
フォーク
138
平均マージ
8時間 27分
マージ済み PR(30日)
8

環境構築

はじめの一歩

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

Backblaze/B2_Command_Line_Tool のほかの issue

Backblaze/B2_Command_Line_Tool の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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