Support new setting since Pulp 3.124 `--sha256sums` to enable auto-generated SHA256SUM files on file repositories

未关闭 适合新手
#1,497 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
70/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
python
领域
cli

调研方向

先找到 file repository create 和 file repository update 命令的定义位置,以及将命令选项转换为 file plugin 的 API 字段的层;issue 中列出了确切的标志以及添加该字段的上游 pulpcore 变更(pulp/pulpcore#8127)。参照这些命令上已有的选项,使新的 --sha256sums 值在 create 和 update 时被传递。当两个命令都接受该选项,并且 file plugin 的 CLI 测试覆盖新标志时,即完成。

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

描述

easy fix feature request

Hello,

Pulp 3.124 added support for auto-generating SHA256SUM files on file repositories in pulp/pulpcore#8127. Would be fantastic to have a flag to enable that feature on a file repository via CLI when creating/updating a file repository:

pulp --domain mydomain file repository create --sha256sums=directory
pulp --domain mydomain file repository update --sha256sums=directory

For now you can use this script to activate it on all repositories: https://gist.github.com/fabiang/c4e3d6b48e8f73a4617bb3969cb028df

Thanks

主要语言
Python
星标
44
派生
52
平均合并
1 天 1 小时
30 天内合并 PR
3

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

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

pulp/pulp-cli 的其他 Issue

查看 pulp/pulp-cli 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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