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.1.tar.gz (809.0 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.1-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

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

Hashes for cf_job_logs-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d9479fab25f13e92edeadb07be8db9d2becc55b42b7f9079fd46dff9ecd53ed1
MD5 504918d3b8c0dcea37bc4377a5c32e6a
BLAKE2b-256 e69fe2472914d2d6f8a3202ce212437cac0d3b0714c0578a25ed6b5e6ee66f9b

See more details on using hashes here.

Provenance

The following attestation bundles were made for cf_job_logs-0.1.1.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.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

Hashes for cf_job_logs-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 424a4b84be3003039bf41651bb9c2983204814c5d19d5174c94b85cf04f55054
MD5 4caf16d0659e94852331a00ccf510633
BLAKE2b-256 ae2dc0686739ca5770fdc4f44c259e2a040269430a64edb63f0c62245d456c5f

See more details on using hashes here.

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

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