Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

feat: return older versions of models / keyboards for downlevel Keyman versions

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

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
30/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
php
领域
api, backend

调研方向

首先跟踪 issue 中提到的模型搜索、在线更新和键盘搜索 API,然后检查如何从 downloads.keyman.com 收集部署数据。定义应如何表示旧版本以及已弃用或重命名的键盘,并确认有哪些元数据可用,然后再概述实现和验证范围。

由索引模型根据 Issue 内容生成。

描述

common/ feat

We have data available to return older versions of models and keyboards for downlevel Keyman versions. This would be an improvement on not returning anything if a keyboard/model is too new.

This would impact e.g.

  • model search api api.keyman.com/model?q=bcp47:...
  • online update api
  • keyboard search api

Things to consider:

  • how do we handle deprecated keyboards, e.g. renamed keyboards
  • data collection during keyboard/model deployment from downloads.keyman.com - currently the data is all retrieved from the current commit snapshot of the keyboards/lexical-models repositories, and finding older versions would be expensive. Given we cannot easily calculate min version from source but need to use .keyboard_info/.model_info, the only really viable method is to have a helper on downloads.keyman.com that returns all .keyboard_info/.model_info files (which could maybe be returned dynamically as an array in a JSON response?)
主要语言
PHP
星标
3
派生
3
平均合并
11 分钟
30 天内合并 PR
5

环境准备

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

从这里开始

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

keymanapp/api.keyman.com 的其他 Issue

查看 keymanapp/api.keyman.com 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

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