Fix WP-CLI global --path collisions in markdown import/export
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
markdown-database-integration.php と inc/class-wp-markdown-cli.php のコマンドドキュメントから始め、次に wp --path= markdown-db import と export で警告を再現します。文書化されている content-root オプションを一貫して更新し、登録レベルの CLI テストを追加します。完了条件は、両方のコマンドがグローバルオプションに関する警告なしで登録され、明示的な content-root の選択が維持されることです。
索引モデルが issue の本文から書いたものです。
説明
Problem
Every WP-CLI invocation on an installation with Markdown Database Integration active emits registration warnings for both markdown-db import and markdown-db export because each command declares a custom --path argument, which conflicts with WP-CLI global WordPress-root selector.
This was reproduced with a read-only wp intelligence --help invocation. The warnings are unrelated to the requested command and occur during plugin command registration.
Evidence
markdown-database-integration.php registers markdown-db import and markdown-db export during WP-CLI bootstrap. Their command documentation in inc/class-wp-markdown-cli.php declares [--path=] for a Markdown content root. WP-CLI also reserves global --path= for the WordPress installation root, producing the warning for both registrations.
Acceptance criteria
- Import and export use a non-conflicting, consistently named content-root option.
- wp --path= markdown-db import and export register without warnings and retain explicit content-root selection.
- Command help and examples document the global root selector separately from the content-root option.
- Add a registration-level CLI test that fails on global-option collisions for these commands.
AI assistance
OpenAI gpt-5.6-terra via OpenCode reproduced the sanitized bootstrap warnings, inspected the installed runtime and repository registration paths, checked existing Markdown Database Integration trackers, and drafted this report under Chris Huber direction.
- 主要言語
- PHP
- スター
- 5
- フォーク
- 1
- 平均マージ
- 1時間 41分
- マージ済み PR(30日)
- 159
環境構築
このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Automattic/markdown-database-integration のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
Automattic/markdown-database-integration#424 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 78/100
Automattic/markdown-database-integration#420 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
Automattic/markdown-database-integration#415 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 78/100
Automattic/markdown-database-integration#414 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
Automattic/markdown-database-integration#377 ·
メンテナーはふだん 1 日以内に返信
Automattic/markdown-database-integration の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Automattic/static-site-importer#1879 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
521xueweihan/HelloGitHub#3790 ·
-
[Bug] Feed date, title and author too long to fit inside article box on smaller screens, mobileオープンBug (unconfirmed) Good first issue 1️⃣ help wanted UI :art:
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
FreshRSS/FreshRSS#9360 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信