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

Add some more generated metadata files

未关闭
#1,920 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
32/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
python
领域
security

调研方向

首先阅读 #1915 及其中保存的预期 metadata 结果,以了解当前生成的 collection。然后检查相关测试中的 RepositorySimulator 和 --dump 选项,因为正如 issue 所建议的那样,它们可能提供可复现的 repository 数据。完成标准是扩展 metadata 的变化范围,并考虑已确认的 repository 示例,同时不重复 updater-test 数据。

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

描述

backlog testing

#1915 adds metadata generation (with stored expected results). We should expand the collection in two directions:

  • The current metadata is basically all with default values: Add More variation on the metadata (different key types, delegations, targets, etc)
  • Include actual repositories (that are confirmed to work as repositories), possibly with several versions of the same repository: Note that we should be careful not to duplicate the code in RepositorySimulator based updater tests: possibly we could just make RepositorySimulator generated data reproducible and store the results of the RepositorySimulator runs (see the --dump option for related tests)

I'll assign to myself: I'll probably handle the first item and file a new issue on the second but let's see...

主要语言
Python
星标
1.7k
派生
304
平均合并
1 天 2 小时
30 天内合并 PR
17

环境准备

从这里开始

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

theupdateframework/python-tuf 的其他 Issue

查看 theupdateframework/python-tuf 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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