Streamline `contribution` commands

未关闭
#1,066 1 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@homersimpsons 已经在做这个了。

开始于 2026年11月7日。

评估

这个 Issue 还没有评估数据。

描述

x:knowledge/advanced x:module/generator x:status/claimed x:type/coding

This is a plan to stramline our contribution/ commands.

  1. Create a structured command directory (#1067)
  2. Move checkDeprecatedExercises.php as a command (#1067)
  3. Move contribution/generator as a command (currently a fully fledged symfony application) (#1068)
  4. Move exercises/concept/bootstrap.sh as a command (or delete it if it is a duplicate of 3.) (#1068)
  5. Make a test generator from templates (#674)
  6. Make contribution commands more discoverable (documentation in README) (#1071)

Going further:

  1. test generator: Run in CI to check files outputs are consistent with template
  2. test generator: Run in CI on a monthly basis to re-generate the tests (capturing their upstream updates)
  3. test generator: Write more tests
  4. test generator: convert more exercises
  5. exercise generator: make it generate template file
  6. automatically fetch configlet
  7. kickstart documentation, ideally a ./main.php exercism:init <slug> would give enough information and generate enough files
  8. maintain documentation, ideally a ./main.php exercism:sync would give enough information and generate enough files (kind of linked to point 2)
主要语言
PHP
星标
167
派生
151
平均合并
2 天 6 小时
30 天内合并 PR
8

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

exercism/php 的其他 Issue

查看 exercism/php 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。