Repository navigation
tools: 動かないもの・旧 RD ソース専用のものを削除する - #346
Merged
Merged
Conversation
bc-rdoc.rb と update-database.rb は require する rdoc/ri/ri_reader と net/smtp が現行環境に無く LoadError になる。bc-checkparams.rb・ check-signature.rb・statrefm.rb・stattodo.rb・bc-convert.rb は旧 RD ソース(refm)専用で Markdown ソースには効かない。insert-canonical.rb は statichtml が layout で canonical link を出すようになって以降不要。 これらを削除し、bc-rdoc.rb 専用だった lib/bitclust/ridatabase.rb と それを使う bitclust methods の -c/--ri-database、stattodo.rb 専用だった Preprocessor の LineCollector も外す。bitclust-dev.gemspec の reject は 存在しないファイルを指していたので単純化し、usage.md の記載を揃える。 Refs rurema#345 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
znz
added a commit
to znz/bitclust
that referenced
this pull request
Sep 28, 2026
v1.7.0 以降の変更を収録する。 - rurema#332 DB 無し時のリモート検索フォールバック - rurema#331 front matter のゲート付きリストの #%else/#%version 対応(rurema#333) - rurema#335 出力監査で見つかった server/query/epub/chm/highlighter/extract の 不具合修正(rurema#336〜rurema#342)と経緯コメントの整理(rurema#343) - rurema#345 動かないもの・旧 RD ソース専用の tools の削除(rurema#346) 新規 gem は無いので trusted publisher の追加登録は不要。 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #345(提案 1)
概要
tools/のうち、現行環境で動かないものと旧 RD ソース(refm)専用のもの、役目を終えたものを削除します。あわせて、それらだけが使っていたライブラリ側のコードとオプションを外します。削除するもの
rdoc/ri/ri_readerが現行 rdoc に無く LoadError(2010 年が最終更新)net/smtpが無く LoadError。refm を cron で再構築する 2006 年のスクリプトで、日次ビルドは generated-documents が担っている---シグネチャと@paramの突き合わせ。旧 RD ソース専用。同種の検査は rurema/doctree#3589 で rake タスクとして作り直す---行の検査。旧 RD ソース専用(gem の executables からは既に除外されていた).rdのファイルしか数えず、前提の ToDoHistory も削除済み併せて外すもの
lib/bitclust/ridatabase.rb(bc-rdoc.rb 専用。同じ LoadError で壊れていた)と、それを使うbitclust methodsの-c・--ri-databasePreprocessorのLineCollector(stattodo.rb 専用)bitclust-dev.gemspecの reject リスト(存在しないToDoHistoryと、削除するcheck-signature.rbを指していた)doc/usage.mdの bc-rdoc・bc-convert・methods -cの記載変更しないもの
md-*.rbは refm/ブリッジ削除時に扱う(tools/ の棚卸し: 動かないもの・refm 専用・移行専用の整理 #345 の提案 3)検証
test/test_methods_command.rbを追加(-c・--ri-databaseが受け付けられないこと、--diff・--rubyは残ること)。全 18,095 テスト green・rake sig/steep checkOK🤖 Generated with Claude Code