Django Sonic Screwdriver.
Project description
# Django Sonic Screwdriver
--------------------------
[![build status](https://gitlabci.ifeelaffinity.com/projects/8/status.png?ref=master)](https://gitlabci.ifeelaffinity.com/projects/8?ref=master)
[![Coverage Status](https://coveralls.io/repos/rhazdon/django-sonic-screwdriver/badge.svg?branch=master&service=github)](https://coveralls.io/github/rhazdon/django-sonic-screwdriver?branch=master)
[![Code Climate](https://codeclimate.com/github/rhazdon/django-sonic-screwdriver/badges/gpa.svg)](https://codeclimate.com/github/rhazdon/django-sonic-screwdriver)
[![PyPI version](https://badge.fury.io/py/django-sonic-screwdriver.svg)](http://badge.fury.io/py/django-sonic-screwdriver)
## !!! Still in Development !!!
Django Sonic Screwdriver is a collection of very useful commands and will make your life easier.
## Installation
You can download the latest version from the Python Package Index [PyPI](https://pypi.python.org/pypi/django-sonic-screwdriver).
$ pip install django-sonic-screwdriver
Add the package to your settings.py:
INSTALLED_APPS = (
...
'django_sonic_screwdriver',
...
)
## Settings
SONIC_SCREWDRIVER = {
# Returns file where the version number is located
'VERSION_FILE': 'setup.py',
'PRE_RELEASE_SEPARATOR': '', # '_', '-', '.'
'PATCH_AUTO_TAG': False,
'PATCH_AUTO_TAG_PUSH': False,
'PATCH_AUTO_COMMIT': False,
# Git Tagging
'GIT_TAG_AUTO_COMMIT': False,
'GIT_TAG_AUTO_TAG_PUSH': False,
'GIT_STAGING_PRE_TAG': 'staging',
'GIT_ACTIVATE_PRE_TAG': 'activate',
}
## Commands
$ ./manage.py patch
-M, --major Set major number
-m, --minor Set minor number
-p, --patch Set patch number
-d, --dev Set dev release (e.g. 1.2.1dev1)
-a, --alpha Set alpha release (e.g. 1.2.1a1)
-b, --beta Set beta release (e.g. 1.2.1b1)
-r, --release-candidate
Set release candidate release (e.g. 1.2.1rc1).
-f, --force
$ ./manage.py git:tag
--default (is default)
--staging Create a staging tag (e.g. staging-v1.2.3)
--activate Create a activate tag (e.g. activate-v1.2.3)
-d, --delete-last Delete last tag
--push Push tags
$ ./manage.py pypi:export
-u, --upload Export project (wheel) and upload to PyPI
--------------------------
[![build status](https://gitlabci.ifeelaffinity.com/projects/8/status.png?ref=master)](https://gitlabci.ifeelaffinity.com/projects/8?ref=master)
[![Coverage Status](https://coveralls.io/repos/rhazdon/django-sonic-screwdriver/badge.svg?branch=master&service=github)](https://coveralls.io/github/rhazdon/django-sonic-screwdriver?branch=master)
[![Code Climate](https://codeclimate.com/github/rhazdon/django-sonic-screwdriver/badges/gpa.svg)](https://codeclimate.com/github/rhazdon/django-sonic-screwdriver)
[![PyPI version](https://badge.fury.io/py/django-sonic-screwdriver.svg)](http://badge.fury.io/py/django-sonic-screwdriver)
## !!! Still in Development !!!
Django Sonic Screwdriver is a collection of very useful commands and will make your life easier.
## Installation
You can download the latest version from the Python Package Index [PyPI](https://pypi.python.org/pypi/django-sonic-screwdriver).
$ pip install django-sonic-screwdriver
Add the package to your settings.py:
INSTALLED_APPS = (
...
'django_sonic_screwdriver',
...
)
## Settings
SONIC_SCREWDRIVER = {
# Returns file where the version number is located
'VERSION_FILE': 'setup.py',
'PRE_RELEASE_SEPARATOR': '', # '_', '-', '.'
'PATCH_AUTO_TAG': False,
'PATCH_AUTO_TAG_PUSH': False,
'PATCH_AUTO_COMMIT': False,
# Git Tagging
'GIT_TAG_AUTO_COMMIT': False,
'GIT_TAG_AUTO_TAG_PUSH': False,
'GIT_STAGING_PRE_TAG': 'staging',
'GIT_ACTIVATE_PRE_TAG': 'activate',
}
## Commands
$ ./manage.py patch
-M, --major Set major number
-m, --minor Set minor number
-p, --patch Set patch number
-d, --dev Set dev release (e.g. 1.2.1dev1)
-a, --alpha Set alpha release (e.g. 1.2.1a1)
-b, --beta Set beta release (e.g. 1.2.1b1)
-r, --release-candidate
Set release candidate release (e.g. 1.2.1rc1).
-f, --force
$ ./manage.py git:tag
--default (is default)
--staging Create a staging tag (e.g. staging-v1.2.3)
--activate Create a activate tag (e.g. activate-v1.2.3)
-d, --delete-last Delete last tag
--push Push tags
$ ./manage.py pypi:export
-u, --upload Export project (wheel) and upload to PyPI
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-sonic-screwdriver-0.1.2a6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0a54957ca5aab1bad79eec75ef0eed488c8cc8e8e946a89aeab63b49cf93ad1 |
|
MD5 | 86ac49183b41fa3828dbd482d1f6f970 |
|
BLAKE2b-256 | aab8c6f9fc6ee7cb18c04c4b185ba4c79bfa0dac1e267f2d23dd86ba3c3ffeb0 |
Close
Hashes for django_sonic_screwdriver-0.1.2a6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe5776cb73a547892aabedf25625ae8fd5f6e91131bb0128ddfe9c306421d718 |
|
MD5 | 0ef1a76d73fbedc6cd436f9e6d6b8ad4 |
|
BLAKE2b-256 | 2c32ab3e1d36e1f33aeb01fe6420bf429cf45253b30e2c4f91ff381c98857a42 |