Resume interrupted downloads of multi-gigabyte artifacts

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python

調査の方向性

Read artifact_archives.py and trace how data fetch, setup, and the focused download commands pass options to DataCache; identify the tests covering single-file assets, archive parts, and build sources. Check how the eleven decompress: true releases are declared and handled. Done means the commands pass resume="auto" by default, large dataset artifacts use a resumable form, and checksum and atomic-publication behavior remains unchanged.

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

説明

enhancement

Several published artifacts are large:

  • pfizer-atlas-dog-peptide-evidence: four ~2 GB archive parts.
  • pfizer-atlas-mouse-rna: a 1.27 GB .sqlite.gz that installs as 8.66 GB.
  • pfizer-atlas-dog-rna: a 534 MB download.
  • wang-human-tissue-abundance: a 397 MB download.

A dropped connection restarts the file or part from zero. DataCache 1.29.3 can resume raw HTTP(S) transfers (resume=True or "auto") in fetch_file, bundle installs, archive parts and materialize sources, but ORFdata never passes the option.

"auto" alone covers archive parts, catalogue and genome files, chains and build sources. It does not cover the eleven published dataset releases declared with decompress: true: DataCache does not resume decoded transfers, and "auto" silently downloads those in full.

Acceptance:

  • data fetch, setup and the focused download commands pass resume="auto" by default.
  • Large dataset artifacts move to a resumable form, for example the existing single-member archive route (artifact_archives.py), or a raw .gz download decompressed after verification.
  • Checksums and atomic publication are unchanged.
  • Tests check that the option reaches DataCache for single-file assets, archive parts and build sources.
主要言語
Python
スター
1
フォーク
1
平均マージ
10時間 11分
マージ済み PR(30日)
51

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

openvax/orfdata のほかの issue

openvax/orfdata の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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