Expand description
Artifacts download (Universal Packages) Download Universal Packages from Azure DevOps Artifacts.
This module implements the dedup-based download protocol used by Azure DevOps Artifacts for universal packages.
§Protocol overview
- Discover service URLs via the ResourceAreas API
- Get package metadata (manifestId, superRootId) from the packaging endpoint
- Resolve blob IDs to download URLs via the dedup service
- Download and parse the manifest to get the file/chunk structure
- Download content chunks, decompress, and reassemble files
Structs§
- Client
- Client for downloading Universal Packages from Azure Artifacts.
- Client
Builder - Builder for creating an artifacts download
Client. - Dedup
Blob Ref - A reference to a dedup blob (hash ID + logical size).
- Manifest
- Parsed manifest listing all files in a package.
- Manifest
Item - A file entry in the dedup manifest.
- Package
Metadata - Package metadata returned by the packaging endpoint.
Functions§
- decompress_
chunk - Decompress a chunk compressed with the LZ77 encoding used by Azure DevOps blob store.