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

Audit trail for state and delegate changes

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

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
python
领域
backend, databases

调研方向

未指定文件、测试或入口点。首先定位应用状态并委派变更的代码,然后确定应如何定义和查询提议的审计记录。完成标准是达成一致的设计和实现,并针对相关变更记录补丁 ID、用户、先前值和新值。

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

描述

Greetings,

I hope I am not creating a duplicate here, but I would like to ask if there is a plan for implementing logs for field changes connected with the user performing that action.
Why do we need this? Patches can easily "disappear" from the system when an incorrect state change is performed, like when a patch is declared completed it will disappear from the list of items where an action is required. Nobody will regularly look through other states on the off chance of finding an incorrectly modified item. Now at some point, these errors will be uncovered when the submitter of a patch complains and at that point, we want to know how that error could have happened. Was it an error from a bot handling patches? Was it an unintended or malicious change by a maintainer?
It would be optimal if a database table is filled with the field changes, containing the ID of the patch, the name of the user, the previous field value, and the new field value. Then it would be easy to find the offending action.

What do you think about this?

Regards,
Sebastian

主要语言
Python
星标
317
派生
91
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

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

getpatchwork/patchwork 的其他 Issue

查看 getpatchwork/patchwork 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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