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

Revisiting `reset_all` and `reset_all_tagged`

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
重构
描述清晰度
需要澄清
活跃度
活跃
技术栈
rust
领域
api

调研方向

阅读 dpd-api/src/lib.rs 的第 1544-1573 行附近,并跟踪 reset_all 和 reset_all_tagged 端点。然后检查它们在 tfportd/src/main.rs 第 296-302 行附近唯一已识别的使用处。完成的标准是确定对这些端点进行版本迁移还是删除,解决对 tfportd 的影响,并替换 TODO 注释或完成删除。

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

描述

dpd-api currently marks both these with "TODO-security: This endpoint should probably not exist."

https://github.com/oxidecomputer/dendrite/blob/247502812015b409d33240b836d5bf242817453d/dpd-api/src/lib.rs#L1544-L1573

I'm making adjacent changes to resource tagging, and I'd like to know whether to version-migrate the tagged endpoints or sunset them both. If the former, I'd like to replace the TODO comments. If the latter, I'll open a PR for removal.

tfportd is the only user I've found so far. Not clear to me how to migrate this if we decide to delete the endpoints. Open to suggestions.

https://github.com/oxidecomputer/dendrite/blob/247502812015b409d33240b836d5bf242817453d/tfportd/src/main.rs#L296-L302

主要语言
Rust
星标
20
派生
3
平均合并
8 小时 29 分钟
30 天内合并 PR
2

环境准备

我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

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

oxidecomputer/dendrite 的其他 Issue

查看 oxidecomputer/dendrite 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

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