Skip to main content

OME tools for managing the git(hub) workflow

Project description

Build Status Pypi

Introduction

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

Dependencies

Direct dependencies of scc are:

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 ..

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

License

snoopycrimecop is released under the GPL.

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

scc-0.9.3.tar.gz (43.4 kB view details)

Uploaded Source

Built Distribution

scc-0.9.3-py2.py3-none-any.whl (40.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file scc-0.9.3.tar.gz.

File metadata

  • Download URL: scc-0.9.3.tar.gz
  • Upload date:
  • Size: 43.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for scc-0.9.3.tar.gz
Algorithm Hash digest
SHA256 fa15ade358d5edf23785376931e5accd4f7d8d326fb521663556f9a5e7ea9f09
MD5 394baacad0d3ba5868f80d5637f70b07
BLAKE2b-256 a4465df7a4d8987a1738e37007b13e4ecd5812d5b857b7d9a5c331b977ddfe8f

See more details on using hashes here.

File details

Details for the file scc-0.9.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for scc-0.9.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ebb7f12a62b7f0084680d37709e3a7209d46704aa616e4b79bac5ef2cc26f58b
MD5 2bd3fea0a79f759f46770adc74185472
BLAKE2b-256 894c5f3961cce68e1a8350f306c3313f3f5a8af725028d72fed3d66881deac6d

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