Python module to generate scm-source JSON objects according to STUPS docs
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
scm_source
tests
.gitignore
.travis.yml
LICENSE
MAINTAINERS
MANIFEST.in
README.rst
release.sh
requirements.txt
setup.py
tox.ini

README.rst

Python SCM Source Generator

Build Status Code Coverage PyPI Downloads Latest PyPI version License

A simple command line tool to generate scm-source.json files according to the STUPS documentation.

Installation

$ sudo pip3 install --upgrade scm-source

Usage

$ scm-source # generate scm-source.json in current directory
$ scm-source -f target/scm-source.json
$ scm-source --author "John Doe"
$ scm-source my/path/to/git/repo -f output/scm-source.json

You can also use it from your Python scripts:

from scm_source import generate_scm_source
generate_scm_source('foo/bar/scm-source.json', 'John Doe')

Releasing

Uploading a new version to PyPI:

$ ./release.sh <NEW-VERSION>