WP-CLI as a backend for steps
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Bắt đầu với tài liệu lệnh WP-CLI được liên kết và cuộc thảo luận về plugin, lượt tải xuống và lệnh shell. Công việc được xem là hoàn tất khi đạt được và ghi lại một phạm vi tích hợp đã được thống nhất, có giới hạn cho các bước Blueprint, thay vì cung cấp mọi lệnh WP-CLI.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
How many of WP-CLI commands could Blueprints reuse instead of reinventing the same logic?
- plugin install
- Could potentially power the installPlugin step
- Accepts a plugin slug, a path to a local zip file, or a URL to a remote zip file.
- config set – could power the defineWpConfigConsts step
- core multisite-convert – could power the enableMultisite step
- config shuffle-salts
- export and import – could handle WXR processing
- language – we could support installing language packs
- server – could potentially run the server on native PHP and maybe in Node.js
- theme, plugin, user
- scaffold post types, taxonomies etc code generation
Discussion
- Should all Blueprint steps become just plugins to wp-cli?
- No, simple steps like cp, mv etc don't warrant loading the entire wp-cli machinery and could be handled higher up in the stack.
- Should all wp-cli commands be available as Blueprint steps?
- It seems like a bad idea. This would inflate the scope, tightly couple the Blueprint library to wp-cli, and require inventing ways to express shell commands as JSON.
- Let's handle all downloads outside of WP-CLI. WP-CLI is sequential in nature (download plugin X, then download plugin Y), and Blueprints need to parallelize the downloads (download plugins X and Y at the same time).
cc @schlessera @swissspidy @danielbachhuber
- Ngôn ngữ chính
- PHP
- Star
- 62
- Fork
- 23
- Merge trung bình
- 4 giờ 12 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của WordPress/php-toolkit
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
WordPress/php-toolkit#313 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 58/100
WordPress/php-toolkit#306 ·
-
WPCS complianceĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
WordPress/php-toolkit#157 · 1 reaction ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
WordPress/php-toolkit#138 · 7 bình luận · 2 reaction ·
-
[Blueprints v2] Constraint the Blueprint bundle formatCó thể đã có người làm @JanJakes đã nhận 445 ngày trước. Đang mởBlueprints enhancement
WordPress/php-toolkit#132 · 4 bình luận · 1 người được giao ·
Tất cả issue của WordPress/php-toolkit
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Featured image not passed to checks in the Tasks column or publish blocksCó thể đã có người làm @roborourke đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
humanmade/publication-checklist#100 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug customer-reported
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
MagnaCapax/PMSS#1072 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
hestiacp/hestiacp#5800 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 68/100
components-web-app/docs#244 ·