microsoft / microsoft/azure-devops-python-api
Downloading a specific item from a published build artifact
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 684
- Forks
- 218
- Ø Merge
- 8 T. 10 Std.
- Gemergte PRs (30 T.)
- 1
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- azure, python
- Bereich
- api, devops
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100