Questions about file selection

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

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
25/100
issue の種類
ドキュメント
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
ruby
領域
cli

調査の方向性

rdoc コマンドのデフォルトのファイル選択パスから始め、ruby/rdoc/ で引数なしの実行を再現します。bin/、exe/、man/、rakelib/ の除外がどこで適用されるかを追跡します。制御しているロジックを特定し、追加の除外を文書化できれば完了です。

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

説明

I'm looking at file selection for the rdoc command.

I see in the code that certain files and directories are excluded by default:

  • Each file whose name ends with ~, .orig, .rej, .bak, .gemspec.
  • Each file or directory whose name begins with ..
  • Each directory named test or spec.

When I run rdoc (no arguments or options) in ruby/rdoc/, certain other files (and possibly directories) are excluded:

  • console in bin/.
  • rdoc and ri in exe/.
  • ri.1 in man/.
  • epock.rake in rakelib/.

Questions:

  • Where is the code that controls these?
  • Are there other exclusions that I'm not (yet) seeing?
主要言語
Ruby
スター
928
フォーク
471
平均マージ
2日 4分
マージ済み PR(30日)
13

環境構築

はじめの一歩

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

ruby/rdoc のほかの issue

ruby/rdoc の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

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

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