microsoft / microsoft/azure-devops-python-api
Downloading a specific item from a published build artifact
Ninguém assumiu esta issue ainda.
- Linguagem predominante
- Python
- Estrelas
- 684
- Forks
- 218
- Merge médio
- 8d 10h
- PRs com merge (30d)
- 1
Descrição
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.
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- azure, python
- Domínio
- api, devops
- Tipo de issue
- Funcionalidade
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Status de atividade
- Estagnada
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 25/100