microsoft / microsoft/azure-devops-python-api
Downloading a specific item from a published build artifact
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Python
- Star
- 684
- Fork
- 218
- Merge trung bình
- 8 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 1
Mô tả
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.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- azure, python
- Lĩnh vực
- api, devops
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100