microsoft / microsoft/azure-devops-python-api

Downloading a specific item from a published build artifact

Abierto
#328 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Lenguaje dominante
Python
Estrellas
684
Forks
218
Merge medio
8 d 10 h
PR fusionados (30 d)
1

Descripción

Hi,

Is there a way of downloading a specific item from an artifact resource without having to read the entire artifact contents as a zip file?

I'd like to be able to do something like the following:

artifacts = build_client.get_artifacts(build_id=summary.id, project=project_id)

for artifact in artifacts:
    if is_artifact_we_are_interested_in(artifact):
        # download desired file from artifact

But I couldn't find any function that would achieve that in this repository, neither in Azure Devops REST API documentation.

Thanks.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

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.

Línea de trabajo

Start with the build_client.get_artifacts(build_id=summary.id, project=project_id) entry point and compare the available artifact operations with the Azure DevOps REST API documentation. Determine whether downloading one item is supported and identify the repository changes needed if it is not; done means a clearly scoped API capability or documented limitation.

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

Evaluación

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

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.