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

Top-level LICENSE/NOTICE: bundled JavaScript copyright notices belong in LICENSE, and several are inaccurate

オープン 初心者向け
#267 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
84/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
javascript
領域
documentation

調査の方向性

PRE-BUILT JAVASCRIPT を対象とするトップレベルの LICENSE と NOTICE のセクションから始め、次に、一覧にあるパッケージの著作権表示の行を、バンドルされたバージョンに対応する upstream の LICENSE ファイルと比較します。参照されているバンドル oplugins/util/upload.js と oplugins/admin/usage/usage.js を確認し、パッケージの範囲を確認します。LICENSE のパッケージエントリの横に修正済みの upstream の通知があり、MinIO を含む bundled-JavaScript セクションが NOTICE から削除されていれば完了です。

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

説明

In the 0.9.0-incubating-RC7 source release, the copyright notices of the npm packages embedded in the pre-built JavaScript bundles (oplugins/util/upload.js, oplugins/admin/usage/usage.js) are in the top-level NOTICE rather than in LICENSE, and several of them do not match the upstream packages.

1. The notices are in NOTICE instead of LICENSE

The top-level LICENSE section "BUNDLED COMPONENTS -- PRE-BUILT JAVASCRIPT" lists each package by name and version, and reproduces the MIT, ISC and BSD-3-Clause licence texts once each. It does not include the packages' copyright lines. Those licences require "the above copyright notice" to be kept with the permission notice, so the copyright lines belong with the licence texts in LICENSE.

Instead, the copyright lines are in the top-level NOTICE (lines 69-162, about 90 lines: MinIO, the 24 MIT packages, the ISC and BSD-3-Clause packages, and yaml).

The ASF licensing guide says this is the wrong place:

Under normal circumstances, there is no need to modify NOTICE to mention a bundled dependency [under a permissive licence].

Do not add anything to NOTICE which is not legally required.

https://infra.apache.org/licensing-howto.html#permissive-deps and https://infra.apache.org/licensing-howto.html#mod-notice

It also notes that the copyright notices embedded in BSD and MIT licences do not need to be duplicated in NOTICE.

The MinIO entry in NOTICE is not needed either: minio-js 8.0.1 is Apache-2.0 but ships no NOTICE file, so there is nothing to propagate.

2. Copyright lines that differ from upstream

Checked against each package's own LICENSE at the bundled version (via unpkg):

Package (version) Top-level NOTICE says Upstream LICENSE says
fast-xml-parser (4.5.0) Copyright (c) 2021 Natural Intelligence Copyright (c) 2017 Amit Kumar Gupta
mime-db (1.52.0) Copyright (c) 2014 Jonathan Ong Copyright (c) 2014 Jonathan Ong; Copyright (c) 2015-2022 Douglas Christopher Wilson
mime-types (2.1.35) Copyright (c) 2014 Jonathan Ong Copyright (c) 2014 Jonathan Ong; Copyright (c) 2015 Douglas Christopher Wilson
readable-stream (3.6.2), string_decoder (1.3.0) Copyright Joyent, Inc. and other Node contributors Copyright Node.js contributors. All rights reserved.; Copyright Joyent, Inc. and other Node contributors. All rights reserved.
sax (1.4.1) Copyright (c) Isaac Z. Schlueter and Contributors Copyright (c) 2010-2024 Isaac Z. Schlueter and Contributors; Copyright (c) 2010-2024 Mathias Bynens
stream-chain (2.2.5) Copyright (c) 2005-2024, Eugene Lazutkin Copyright 2019 Eugene Lazutkin
stream-json (1.8.0) Copyright (c) 2005-2024, Eugene Lazutkin Copyright (c) 2005-2018, Eugene Lazutkin
decode-uri-component (0.2.2) Copyright (c) Sam Verschueren Copyright (c) 2017, Sam Verschueren

The others match, or differ only in omitted e-mail addresses. block-stream2 2.1.0 has no copyright line in its LICENSE, so "Copyright (c) James Halliday" (its package.json author) is a reasonable choice.

Suggested fix

  1. In the top-level LICENSE "PRE-BUILT JAVASCRIPT" section, put each package's upstream copyright line(s) next to its name, corrected as in the table above. The licence texts already there can stay.
  2. Remove the bundled-JavaScript section (lines 69-162) from the top-level NOTICE, including the MinIO entry.

Related: #260.

主要言語
Python
スター
576
フォーク
29
平均マージ
3時間 26分
マージ済み PR(30日)
12

環境構築

はじめの一歩

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

apache/openserverless のほかの issue

apache/openserverless の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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