Allow rdoc to be an optional dependency?

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
静か
技術スタック
ruby
領域
cli

調査の方向性

まず、IRB における rdoc 統合と、その依存関係が Gemfile でどのように指定されているかを確認します。rdoc と ERB をオプション扱いにしつつ、それを必要とするユーザー向けの統合を維持する方法を定義します。統合が必要ない場合に、これらの依存関係をインストールせずに IRB を使用できれば完了です。

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

説明

While an rdoc integration into irb has definite advantages, there are circumstances where the rdoc integration is more of a hinderance, e.g. wenn used as a console in production-like environment.

This also extends to the rdocs dependencies - if e.g. the project in question does not otherwise use ERB, we will always need to install it in the production environments anyway. And then be confronted with handling security issues for ERB, even if they aren't really pertinent to the project in question.

I'm not aware of an easy way to mark dependencies as optional with the current gemfile specification, so this issue might need to be put on the back burner until such a time that this can be specified in the gemfile. :)

主要言語
Ruby
スター
477
フォーク
165
平均マージ
1日 19時間
マージ済み PR(30日)
5

環境構築

はじめの一歩

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

ruby/irb のほかの issue

ruby/irb の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

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

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