Skip to main content

A utility for fetching and structuring conda-forge Azure CI logs into clean, agent-readable artifacts.

Project description

cf-job-logs

CI conda-forge pypi-version python-version

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

cf_job_logs-0.1.0.tar.gz (808.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cf_job_logs-0.1.0-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file cf_job_logs-0.1.0.tar.gz.

File metadata

  • Download URL: cf_job_logs-0.1.0.tar.gz
  • Upload date:
  • Size: 808.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cf_job_logs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 83b891796bb7ed9d7949ebb95831324eb3ade18bd976b56e45e346f03f4b51aa
MD5 39cb51c0bc17bc38f705d1971d849950
BLAKE2b-256 a4c98af38f3d35eb55131dec95c891549b6e393d5080f630e630325b73f083f7

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_job_logs-0.1.0.tar.gz:

Publisher: build.yml on Quantco/cf-job-logs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cf_job_logs-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: cf_job_logs-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cf_job_logs-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2851582e8579fc4b677a7c3c931f2b15a30e9ce6ea25e18eec382869889f719f
MD5 ca67644cb84eb874a21cac6d74879562
BLAKE2b-256 2bb857a1cc033420ec69688768238a667cc0fc9d7f6824d88c7224b7150de1f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_job_logs-0.1.0-py3-none-any.whl:

Publisher: build.yml on Quantco/cf-job-logs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page