Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Declarative Blueprints

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

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

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

評価

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

調査の方向性

実装ファイルやテストは指定されていません。まず、提案されている JSON 形式、記載されている機能の網羅範囲、未解決の質問を確認してください。宣言型 API の形式とスコープについて合意され、重要な Blueprint の機能がカバーされれば完了です。

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

説明

enhancement

Blueprints offer an imperative step-by-step API which is powerful but also complex.

Hypothesis: 99% of Blueprints will only need to declare the necessary ingredients, regardless of the order in which they're applied.

Here's what it could look like:

{
	"landingPage": "/wp-admin/post-new.php",
	"plugins": [ 
		"gutenberg", 
		"classic-editor",
		"https://mysite.com/plugin.zip",
		{ "resource": "url", "https://mysite.com/plugin.zip" }
	],
	"themes": [ "adventurer", "twentytwentyfour" ],
	"activeTheme": "adventurer",
	"login": true,
	"siteOptions": {
		"blogname": "My site!"
	}
}

Let's use this issue to discuss, explore, and iterate on different formats.

Done is

The most important Playground features are covered by the declarative API. In particular:

  • Plugins
  • Themes
  • Site options
  • PHP constants
  • Importing content
  • Importing SQL (? to be determined)
  • PHP.ini entries
  • Writing a file tree from a URL/filesystem to a directory
  • ...anything else?

Open questions

  • Should this data format attempt to accept data like posts, custom post types, user meta, and so on? Would that be a feature creep? Or would a rudimentary support be useful, and for more features devs could switch to WXZ, SQL, or PHP code?

Benefits

主要言語
PHP
スター
61
フォーク
23
平均マージ
20時間 9分
マージ済み PR(30日)
7

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

WordPress/php-toolkit のほかの issue

WordPress/php-toolkit の issue をすべて見る

似ている issue

PHP の issue をもっと見る

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

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