A utility for fetching and structuring conda-forge Azure CI logs into clean, agent-readable artifacts.
Project description
cf-job-logs
A utility for fetching and structuring conda-forge Azure CI logs into clean, agent-readable artifacts.
Installation
This project is managed by pixi. You can install the package in development mode using:
git clone https://github.com/Quantco/cf-job-logs
cd cf-job-logs
pixi run pre-commit-install
pixi run postinstall
pixi run test
CLI Usage
The cf-job-logs CLI provides commands to inspect Azure CI jobs for a conda-forge PR.
List jobs
List failed jobs (default) for a PR:
cf-job-logs list-jobs https://github.com/conda-forge/some-feedstock/pull/123
List all jobs (including succeeded):
cf-job-logs list-jobs --all https://github.com/conda-forge/some-feedstock/pull/123
Download a job log
Use a job ID from the list-jobs output to download its log (sanitized by default):
cf-job-logs download-log https://github.com/conda-forge/some-feedstock/pull/123 <job_id>
Use --no-sanitize to get the raw log with timestamps:
cf-job-logs download-log --no-sanitize https://github.com/conda-forge/some-feedstock/pull/123 <job_id>
Output goes to stdout, so you can redirect it to a file:
cf-job-logs download-log <pr_url> <job_id> > build.log
Verbose mode
Add -v for debug logging:
cf-job-logs -v list-jobs https://github.com/conda-forge/some-feedstock/pull/123
Running via pixi
All commands can also be run through pixi:
pixi run cf-job-logs list-jobs <pr_url>
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cf_job_logs-0.1.1.tar.gz.
File metadata
- Download URL: cf_job_logs-0.1.1.tar.gz
- Upload date:
- Size: 809.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9479fab25f13e92edeadb07be8db9d2becc55b42b7f9079fd46dff9ecd53ed1
|
|
| MD5 |
504918d3b8c0dcea37bc4377a5c32e6a
|
|
| BLAKE2b-256 |
e69fe2472914d2d6f8a3202ce212437cac0d3b0714c0578a25ed6b5e6ee66f9b
|
Provenance
The following attestation bundles were made for cf_job_logs-0.1.1.tar.gz:
Publisher:
build.yml on Quantco/cf-job-logs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cf_job_logs-0.1.1.tar.gz -
Subject digest:
d9479fab25f13e92edeadb07be8db9d2becc55b42b7f9079fd46dff9ecd53ed1 - Sigstore transparency entry: 1050371505
- Sigstore integration time:
-
Permalink:
Quantco/cf-job-logs@77104c92cece77e6cd2bbffe9e82dda2d4928d32 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/Quantco
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@77104c92cece77e6cd2bbffe9e82dda2d4928d32 -
Trigger Event:
push
-
Statement type:
File details
Details for the file cf_job_logs-0.1.1-py3-none-any.whl.
File metadata
- Download URL: cf_job_logs-0.1.1-py3-none-any.whl
- Upload date:
- Size: 13.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
424a4b84be3003039bf41651bb9c2983204814c5d19d5174c94b85cf04f55054
|
|
| MD5 |
4caf16d0659e94852331a00ccf510633
|
|
| BLAKE2b-256 |
ae2dc0686739ca5770fdc4f44c259e2a040269430a64edb63f0c62245d456c5f
|
Provenance
The following attestation bundles were made for cf_job_logs-0.1.1-py3-none-any.whl:
Publisher:
build.yml on Quantco/cf-job-logs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cf_job_logs-0.1.1-py3-none-any.whl -
Subject digest:
424a4b84be3003039bf41651bb9c2983204814c5d19d5174c94b85cf04f55054 - Sigstore transparency entry: 1050371506
- Sigstore integration time:
-
Permalink:
Quantco/cf-job-logs@77104c92cece77e6cd2bbffe9e82dda2d4928d32 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/Quantco
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@77104c92cece77e6cd2bbffe9e82dda2d4928d32 -
Trigger Event:
push
-
Statement type: