This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
Diff Helper for Continuous Integration (CI) Services

For an open source project, running unit tests, system tests, torture tests, fuzz tests, integration tests, code quality checks, etc. can quickly become a large task.

In order to limit the amount of time and resources that these jobs require, this tool provides a way to determine which files have changed and provides a Python API for these changes. In addition, this library provides the corresponding commit SHA (or other artifact) that is used as the diffbase.

The library supports (planned)

Install

$ pip install --upgrade ci-diff-helper

See It In Action

The test-app branch is set up to run every time a change is made. Check out the latest Travis builds in test-app, the latest CircleCI builds and the latest AppVeyor builds to see the computed values at work.

For example, in a Travis PR build:

Config object: <Travis (active=True)>
----------------------------------------
    active: True
      base: 'test-app'
    branch: 'test-app'
event_type: <TravisEventType.pull_request: 'pull_request'>
     in_pr: True
  is_merge: True
 merged_pr: None
        pr: 10
      slug: 'dhermes/ci-diff-helper'
       tag: None
       ...

and in a Travis push build:

Config object: <Travis (active=True)>
----------------------------------------
    active: True
      base: u'4a02445642735ba0d3ce5b944f4b2647b4c55813'
    branch: 'test-app'
event_type: <TravisEventType.push: 'push'>
     in_pr: False
  is_merge: True
 merged_pr: 10
        pr: None
      slug: 'dhermes/ci-diff-helper'
       tag: None
       ...

A CircleCI push build:

Config object: <CircleCI (active=True)>
----------------------------------------
    active: True
    branch: 'test-app'
  is_merge: True
       tag: None
       ...

An AppVeyor push build:

Config object: <AppVeyor (active=True)>
----------------------------------------
    active: True
    branch: 'test-app'
  is_merge: True
  provider: <AppVeyorRepoProvider.github: 'github'>
       tag: None
       ...

License

Apache 2.0 - See LICENSE for more information.

Release History

Release History

0.2.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ci_diff_helper-0.2.0-py2.py3-none-any.whl (41.1 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Nov 16, 2016
ci-diff-helper-0.2.0.tar.gz (25.2 kB) Copy SHA256 Checksum SHA256 Source Nov 16, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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