Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

ohconvert integrates ohcount into Jenkins.

Project Description

Overview

ohconvert integrates ohcount into Jenkins.

This script invokes ohcount, parses its output and converts it into the format understood by the SLOCCountPlugin for Jenkins. This is equivalent to calling sloccount with the options:

sloccount --duplicates --wide --details path ...

Prerequisites

You need to have ohcount 3.0.0 or later installed and it needs to be directly executable from the path. You can check by calling ohcount --help. ohcount can be built manually or is available from some system package management tools. For example it’s available as ohcount in the latest macports.

Usage

You can call the script via:

ohconvert path ...

Output Jenkins SLOCCountPlugin compatible data collected with ohcount.

Options:

  • -h, --help show this help message and exit
  • -o sloccount.sc, --output=sloccount.sc Output filename (instead of stdout)

Development

The source code can be found at: https://github.com/hannosch/ohconvert

Changelog

1.0 - 2011-03-20

  • Fixed reStructuredText and updated code location. [hannosch]

1.0b1 - 2011-03-20

UPGRADE NOTE: ohconvert now outputs to stdout by default.

  • Refer to Jenkins instead of Hudson. [hannosch]
  • A fix for handling empty files turned into a complete refactoring. [lrowe]

1.0a1 - 2010-03-14

  • Initial functional release. [hannosch]
Release History

Release History

This version
History Node

1.0

History Node

1.0b1

History Node

1.0a1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ohconvert-1.0.zip (7.1 kB) Copy SHA256 Checksum SHA256 Source Mar 20, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting