microsoft / microsoft/azure-devops-python-api

Downloading a specific item from a published build artifact

オープン
#328 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Python
スター
684
フォーク
218
平均マージ
8日 10時間
マージ済み PR(30日)
1

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
azure, python
領域
api, devops
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。