Add support for missing types of changes on the ProjectV2Item
还没有人认领这个 Issue。
评估
调研方向
从 intbot/core/integrations/github.py 的第 168-199 行开始,检查现有的 date 和 single-choice ProjectV2Item 变更解析逻辑。查看 issue 评论中的 webhook 示例以及相关 issue #16、#17 和 #18,然后参考 intbot/tests/test_integrations/test_github.py 第 182-249 行附近的内容来指导测试覆盖。完成的标准是:已解析并测试所请求的其他变更类型。
由索引模型根据 Issue 内容生成。
描述
We currently support changes in date fields (like start_date, end_date), and single choice fields (like status)
Would be great to add support for at least the following:
- #18
- #17
- #16
This can be added here: https://github.com/EuroPython/internal-bot/blob/main/intbot/core/integrations/github.py#L168-L199
And the tests for this are here: https://github.com/EuroPython/internal-bot/blob/main/intbot/tests/test_integrations/test_github.py#L182-L249
Would be also great to refactor that changes parsing code, but that could be something for later :)
The example of the webhooks with different types of data are in the comments.
- 主要语言
- Python
- 星标
- 5
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
EuroPython/internal-bot 的其他 Issue
-
enhancement
难度 3/5 1-2 天 新手友好度 42/100
EuroPython/internal-bot#21 ·
-
难度 5/5 一周以上 新手友好度 20/100
EuroPython/internal-bot#18 ·
-
难度 5/5 一周以上 新手友好度 20/100
EuroPython/internal-bot#17 ·
-
难度 5/5 一周以上 新手友好度 15/100
EuroPython/internal-bot#16 ·
-
难度 5/5 一周以上 新手友好度 35/100
EuroPython/internal-bot#12 · 1 条评论 ·
查看 EuroPython/internal-bot 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
stephrobert/dsoxlab#238 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100
sublimehq/package_control#1780 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 70/100
nwg-piotr/nwg-displays#145 ·