Support deduplication before upload occurs

Abierto
#1,082 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
python
Área
cli

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Python
Estrellas
44
Forks
52
Merge medio
1 d 1 h
PR fusionados (30 d)
3

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de pulp/pulp-cli

Todos los issues de pulp/pulp-cli

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.