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 # Export project with wheel
-w, --wheel Export project with wheel (recommended). Needs package wheel.
-u, --upload Upload Project.
$ ./manage.py pypi:upload # Upload project to PyPI via twine
--------------------------
[![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 # Export project with wheel
-w, --wheel Export project with wheel (recommended). Needs package wheel.
-u, --upload Upload Project.
$ ./manage.py pypi:upload # Upload project to PyPI via twine
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
Close
Hashes for django-sonic-screwdriver-0.1.2b0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 916882367eb6e543dec99d334ee4f26e68ea0e618c21d69bc4c20550870ea35e |
|
MD5 | 22c225e3273dc2a6eadcb6b16e68fa9a |
|
BLAKE2b-256 | c8eae62793e3690dc1fd03440c1327a9c252298a5ca26316b85c474a2382d669 |