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

Investigate .zenodo.json Download Behavior and Download-Both Option

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
静か
技術スタック
javascript
領域
frontend, web-dev

調査の方向性

まず既存のダウンロード動作と生成されたメタデータのプレビューを確認し、その後、先頭がドットのファイル名が各ブラウザーおよびオペレーティングシステムでどのように扱われるかを再現します。受け入れ可能な結果がドキュメント、ユーザー向けガイダンス、または 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.json instead.

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

環境構築

はじめの一歩

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

Imageomics/OpenCite のほかの issue

Imageomics/OpenCite の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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