Investigate .zenodo.json Download Behavior and Download-Both Option
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 42/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 静か
- 技術スタック
- javascript
調査の方向性
まず既存のダウンロード動作と生成されたメタデータのプレビューを確認し、その後、先頭がドットのファイル名が各ブラウザーおよびオペレーティングシステムでどのように扱われるかを再現します。受け入れ可能な結果がドキュメント、ユーザー向けガイダンス、または CITATION.cff と .zenodo.json を含む ZIP のいずれであるかを明確にします。選択した動作が信頼でき、ユーザー向けに文書化されていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Summary
OpenCite currently generates and downloads a Zenodo metadata file using the filename .zenodo.json. However, some browsers and operating systems do not reliably preserve leading-dot filenames when downloading files from a web application. As a result, users may receive zenodo.json instead of .zenodo.json.
Current Behavior
- OpenCite generates valid Zenodo metadata.
- The application requests the filename
.zenodo.json. - Some browser/OS combinations may save the file as
zenodo.jsoninstead.
Expected Behavior
When possible, users should receive a correctly named .zenodo.json file that is compatible with GitHub and Zenodo workflows.
Potential Solutions
Option 1: Keep Current Behavior
- Continue requesting
.zenodo.json. - Document browser limitations.
- Users can rename the file manually if necessary.
Option 2: Add "Download Both" ZIP Export
Provide a single ZIP download containing:
CITATION.cff.zenodo.json
Benefits:
- Preserves the exact filename inside the archive.
- Allows users to download both metadata files at once.
Tradeoffs:
- Requires users to extract the archive before use.
- Adds additional export logic and ZIP generation dependencies.
Option 3: Add User Guidance
- Display a note explaining that some browsers may remove the leading dot.
- Provide instructions for renaming the file if needed.
Notes
- The application previews already display the generated metadata and can be copied directly by users if download behavior is inconsistent.
- This issue does not affect the validity of the generated metadata, only the downloaded filename.
- A future "Download Both" feature would likely address this issue while also improving usability.
- 主要言語
- JavaScript
- スター
- 0
- フォーク
- 0
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 5
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Imageomics/OpenCite のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Imageomics/OpenCite#66 ·
メンテナーはふだん 1 日以内に返信
-
YAML Field Apostrophe Quotes Parsing Issue対応中かも @NetZissou が今日担当しました。 オープンbug
Imageomics/OpenCite#76 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
Imageomics/OpenCite#73 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 65/100
Imageomics/OpenCite#68 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
Imageomics/OpenCite#69 ·
メンテナーはふだん 1 日以内に返信
Imageomics/OpenCite の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
Design only Leadership Survey SLFS
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
bcgov/digital-journeys#2293 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
tursodatabase/turso#9405 ·
メンテナーはふだん 1 日以内に返信
-
Toolkit
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
API Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ProjectSidewalk/SidewalkWebpage#5556 ·
メンテナーはふだん 1 日以内に返信