Skip to main content

Some command line utilities for Ibutsu

Project description

https://img.shields.io/github/v/release/ibutsu/ibutsu-utils https://img.shields.io/pypi/v/ibutsu-utils.svg https://img.shields.io/pypi/pyversions/ibutsu-utils.svg

Ibutsu Utilities

Some command line utilities for Ibutsu. There are currently two tools:

Installation

These utilities are available on PyPI and can be installed with pip:

$ pip install ibutsu-utils

Download Tool

The ibutsu-download command line tool downloads an artifact from Ibutsu.

$ ibutsu-download -h
usage: ibutsu-download [-h] -H HOST [-t API_TOKEN] [-o OUTPUT] artifact_id

A tool to download an artifact from an Ibutsu server

positional arguments:
  artifact_id           The ID of the artifact to download

options:
  -h, --help            show this help message and exit
  -H HOST, --host HOST  The Ibutsu instance for uploading, e.g. https://my.ibutsu.com/api
  -t API_TOKEN, --api-token API_TOKEN
                        An API token for authentication
  -o OUTPUT, --output OUTPUT
                        The destination to save the file. If omitted will use the current directory and the artifact file name

Upload Tool

The ibutsu-upload command line tool uploads JUnit XML or Ibutsu archives to Ibutsu.

$ ibutsu-upload --help
usage: ibutsu-upload [-h] -H HOST -p PROJECT [-t API_TOKEN] [-s SOURCE] [-m METADATA] [-w] input [input ...]

A tool to upload a jUnit XML or Ibutsu archive to Ibutsu

positional arguments:
  input                 The file(s) to upload

options:
  -h, --help            show this help message and exit
  -H HOST, --host HOST  The Ibutsu instance for uploading, e.g. https://my.ibutsu.com/api
  -p PROJECT, --project PROJECT
                        The project for the upload
  -t API_TOKEN, --api-token API_TOKEN
                        An API token for authentication
  -s SOURCE, --source SOURCE
                        The source used in the test results
  -m METADATA, --metadata METADATA
                        Additional metadata to set when uploading, in the format of dotted.key.path=value
  -w, --wait            Wait for the upload to complete (by default this command does not wait)

Combine Tool

Some test runners output multiple JUnit XML files for a single test run. The ibutsu-xmerge utility will combine multiple XML files into a single file.

$ ibutsu-xmerge --help
usage: ibutsu-xmerge [-h] [-o OUTPUT] input [input ...]

positional arguments:
  input                 Input files

options:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        Output to a file. Defaults to stdout without this.

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

ibutsu_utils-0.2.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

ibutsu_utils-0.2.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file ibutsu_utils-0.2.0.tar.gz.

File metadata

  • Download URL: ibutsu_utils-0.2.0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.23.0

File hashes

Hashes for ibutsu_utils-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a86d6343dbf6bdfe1f3986a1132a85c13e0ed858b362ec30a46db53c6e66021b
MD5 8c0e5385ccdcf9138b7c54b596439bf6
BLAKE2b-256 9dc57ef1ce5d888d68340653e66880685515d3f1e6a30d2f86bc7ba85f83e4b3

See more details on using hashes here.

File details

Details for the file ibutsu_utils-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ibutsu_utils-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3282c8f33bb71831de90ee414857c52fb92f7ce1bb4a532eab13b7eb8e56ab33
MD5 9ec694569d14d03f063ea88da7fec2cb
BLAKE2b-256 cca62bfced9c1a096ac1092bc53c76107cff33a6a483983a9450bd20819f6d24

See more details on using hashes here.

Supported by

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