Superfluous spaces in `match` of some GFDL-1.x-* standard header templates

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞

調査の方向性

ライセンス標準ヘッダーテンプレートで、一覧にある12個のGFDL-1.x-*名とパターン the Invariant Sections being を検索します。各 var/match 式を対応するヘッダーテキストと比較し、そのうえで、影響を受ける12個すべてのテンプレートでスペースが一致しており、その他のGFDLの詳細が変更されていないことを確認します。

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

説明

The following GFDL license standard header templates contain a var/match with rather superfluous spaces in the regex:

  • GFDL-1.1-invariants-only
  • GFDL-1.1-invariants-or-later
  • GFDL-1.1-only
  • GFDL-1.1-or-later
  • GFDL-1.2-invariants-only
  • GFDL-1.2-invariants-or-later
  • GFDL-1.2-only
  • GFDL-1.2-or-later
  • GFDL-1.3-invariants-only
  • GFDL-1.3-invariants-or-later
  • GFDL-1.3-only
  • GFDL-1.3-or-later
    The other GFDL license details (e.g. GFDL-1.3) are fine.

For example, the GFDL-1.3-only standard header template (line wraps for posterity by me) looks like this:

Copyright (c) 
<<var;name=\"copyright\";original=\"YEAR YOUR NAME\";match=\".+\">> 
 Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3; with
<<var;name=\"invariantSections\";original=\"the Invariant Sections being LIST THEIR TITLES\";match=\"the Invariant Sections       being .+|no Invariant Sections\">> 
 , with
<<var;name=\"frontCoverTexts\";original=\"the Front-Cover Texts being LIST\";match=\"the Front-Cover Texts being .+|no Front-Cover Texts\">> 
 , and with
<<var;name=\"backCoverTexts\";original=\"the Back-Cover Texts being LIST\";match=\"the Back-Cover Texts being .+|no Back-Cover Texts\">> 
 . A copy of the license is included in the section entitled \"GNU Free Documentation License\".

The 2nd var has the match with the pattern the Invariant Sections being .+|no Invariant Sections (notice the many spaces), which doesn't match the corresponding part of standard header template text ("the Invariant Sections being LIST THEIR TITLES"), which has only one space.

主要言語
Java
スター
23
フォーク
28
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

spdx/LicenseListPublisher のほかの issue

spdx/LicenseListPublisher の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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