Support deduplication before upload occurs

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

还没有人认领这个 Issue。

评估

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

调研方向

The issue does not name files, tests, or an entry point. Start by locating pulp-cli’s upload actions and the existing two-step checksum/object lookup, then clarify the checksum size threshold, repository scope, and expected behavior. Done means upload actions consistently avoid sending objects already present on the server.

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

描述

feature request

Summary

when using any of the upload actions pulp-cli should check if an object with the same checksum already exists on the server

This can already be done as 2 step process but i see no reason why this shouldn’t be the default behaviour

  • the md5checksum is a bit expensive so constrain it so file size is larger that some configured value

  • Potentially limit the asset search to a give repo

Maybe this is a design decision to keep the calls 1:1 with the API but in this case its a client side activity that needs to occur

Versions

n/a

Examples

n/a

主要语言
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 摘要。