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!

OME tools for managing the git(hub) workflow

Project Description
Snoopy Crime Copy (SCC)
=======================

|Build Status|
|Pypi|

Introduction
------------

The scc command provides tools for simplifying the Git(Hub) workflow.

Dependencies
------------

Direct dependencies of scc are:

- `PyGithub`_
- `argparse`_

Installation
------------

To install ``scc``, run::

$ python setup.py install

or using pip, run::

$ pip install scc

To upgrade your pip installation, run::

$ pip install -U scc

Usage
-----

The list of available commands can be listed with::

$ scc -h

For each subcommand, additional help can be queried, e.g.::

$ scc merge -h

Contributing
------------

PyGithub follows `PEP 8`_, the Style Guide for Python Code. Please check your
code with pep8_ or flake8_, the Python style guide checkers, by running
``flake8 -v .`` or ``pep8 -v .``.

.. _PEP 8: http://www.python.org/dev/peps/pep-0008/


Running tests
-------------

The tests are located under the `test` directory. To run all the tests, use
the `test` target of `setup.py`::

python setup.py test

Unit tests
^^^^^^^^^^

Unit tests are stored under the `test/unit` folder and can be run by calling::

python setup.py test -t test/unit

Unit tests are also run by the Travis_ build on every Pull Request opened
against the main repository.

Integration tests
^^^^^^^^^^^^^^^^^

Integration tests are stored under `test/integration`. Many integration tests
use snoopys-sandbox_ and snoopys-sandbox-2_ as sandbox repositories to test the
scc commands.

Running the integration test suite requires:

- a GitHub account
- a token-based GitHub connection, i.e. a global ``github.token`` stored under
the global Git configuration file::

$ git config --global github.token xxxx

- the user authenticated by the token defined above needs to own forks of
snoopys-sandbox_ and snoopys-sandbox-2_

Once this is set up, the integration tests can be run by calling::

python setupy.py test -s test/integration

Integration tests are run daily on the OME Continuous Integration
infrastructure under the SCC-self-merge_ job using the token-authenticated
`snoopycrimecop user <https://github.com/snoopycrimecop>`_

License
-------

snoopycrimecop is released under the GPL.

Copyright
---------

2012-2016, The Open Microscopy Environment

.. _SCC-self-merge: http://hudson.openmicroscopy.org.uk/view/Mgmt/job/SCC-self-merge/
.. _PyGithub: https://github.com/jacquev6/PyGithub
.. _argparse: http://pypi.python.org/pypi/argparse
.. _pep8: https://pypi.python.org/pypi/pep8
.. _flake8: https://pypi.python.org/pypi/flake8
.. _snoopys-sandbox: https://github.com/openmicroscopy/snoopys-sandbox
.. _snoopys-sandbox-2: https://github.com/openmicroscopy/snoopys-sandbox-2
.. _Travis: http://travis-ci.org/openmicroscopy/snoopycrimecop

.. |Build Status| image:: https://travis-ci.org/openmicroscopy/snoopycrimecop.png
:target: http://travis-ci.org/openmicroscopy/snoopycrimecop

.. |Pypi| image:: https://badge.fury.io/py/scc.svg
:target: https://badge.fury.io/py/scc
Release History

Release History

This version
History Node

0.7.0

History Node

0.6.7

History Node

0.6.6

History Node

0.6.5

History Node

0.6.4

History Node

0.6.3

History Node

0.6.2

History Node

0.6.1

History Node

0.6.0

History Node

0.5.6

History Node

0.5.5

History Node

0.5.4

History Node

0.5.3

History Node

0.5.2

History Node

0.5.1

History Node

0.5.0

History Node

0.4.5

History Node

0.4.4

History Node

0.4.3

History Node

0.4.2

History Node

0.4.1

History Node

0.4.0

History Node

0.3.11

History Node

0.3.10

History Node

0.3.9

History Node

0.3.8

History Node

0.3.7

History Node

0.3.6

History Node

0.3.5

History Node

0.3.4

History Node

0.3.3

History Node

0.3.2

History Node

0.3.1

History Node

0.3.7-10-g41e5

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
scc-0.7.0.tar.gz (42.1 kB) Copy SHA256 Checksum SHA256 Source Feb 16, 2017

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