Reconcile itemrequests and requestitems
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先检查 db/migrate/20240601155348_dedup_item_requests_in_requests.rb,并跟踪当前使用 RequestItem 的分发打印代码。在更改调用方之前,确认 issue 中注明的生产数据约定,然后评估所需的迁移和测试。完成的标准是打印输出使用 ItemRequest、覆盖全面,并且可以安全地移除 RequestItem。
由索引模型根据 Issue 内容生成。
描述
Summary
ItemRequests and RequestItems seem to have largely the same information We should just use one of them
Why?
This is cleanup -- I'm pretty sure it's a legacy of when we had two apps
Details
It looks like the way to go with this will be to rework the distribution printout to use ItemRequest instead of RequestItem -- then we should be able to get rid of RequestItem
Job for the core team
-- confirm that ItemRequest and RequestItem are in agreement in the prod data. If not - how long ago is the discrepency?
Context from the RubyForGood 2024 event
Migration on branch from event to attempt to synchronize these in prod data: https://github.com/rubyforgood/human-essentials/blob/kp/merge-line-items-at-request-save__data-migration/db/migrate/20240601155348_dedup_item_requests_in_requests.rb
(the event was 24 weekend if you want to see the conversation (that's the weekend before memorial day weekend for the US folk…e.g., see comments in human-essentials channel leading up to this one: https://rubyforgood.slack.com/archives/C6WLZL0DD/p1717184706390639)
Criteria for completion
- confirm that the info is in agreement between item requests and requestitems
- rework code using RequestItem to use ItemRequest. Thorough testing.
- migration to remove RequestItem
- 主要语言
- Ruby
- 星标
- 594
- 派生
- 596
- 平均合并
- 1 天 10 小时
- 30 天内合并 PR
- 11
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
rubyforgood/human-essentials 的其他 Issue
-
Export button on annual report should revert to "Export Report" from "Please Wait..." once report generated.可能已有人在做 @costajohnt 于 13 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100
rubyforgood/human-essentials#5691 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
stale
难度 2/5 1-3 小时 新手友好度 68/100
rubyforgood/human-essentials#5603 · 7 条评论 ·
维护者通常 1 天内回复
-
Fix typos in comments, docs and spec descriptions可能已有人在做 @geographybuff 于 1 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 25/100
rubyforgood/human-essentials#5741 · 1 条评论 ·
维护者通常 1 天内回复
-
Proposal: forecast-based reorder points and shortage allocation ("Replenishment Planner")可能已有人在做 @arnavt687 于 16 天前认领。 未关闭
难度 5/5 一周以上 新手友好度 25/100
rubyforgood/human-essentials#5728 · 3 条评论 ·
维护者通常 1 天内回复
-
Ruby for Good 2026 DC stale
rubyforgood/human-essentials#5694 · 2 条评论 ·
维护者通常 1 天内回复
查看 rubyforgood/human-essentials 的全部 Issue
相似的 Issue
-
Local evaluation buckets percentage splits with the server key, so results differ from Flagsmith未关闭
难度 2/5 1-3 小时 新手友好度 75/100
-
Add Prestashop未关闭request
难度 2/5 1-3 小时 新手友好度 72/100
endoflife-date/endoflife.date#11303 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
-
难度 2/5 1-3 小时 新手友好度 66/100
FreeTubeApp/FreeTube-Docs#245 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复