This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
What this package does?

This package provides an easy half-manual and controlled way to define and run SQL, Python and Shell script for your project.

Supported backends

- PostgreSQL

Supported Django versions

- Django >= 1.8

Supported OS

- Linux
- Ubuntu 14.04
- Ubuntu 16.04

Why to use this package if there is django-migrations and South?

The differencies between Django migrations and ua2.patch are in purpose:

- django-migrations primary purpose is to propogate changes you make to your models into your database
- ua2.patch purpose is to create & maintain patches, written by big development team

This package could be used in parallel to existing django-migrations module, or it can completely replace the job done by migrations. You, as developer, decide where you should use one or another.

We are not going to replicate all migration features, the core idea of this package is to provide easy to use tool to create and maintain (SQL|Python|Shell) patches for big team of people, working in parallel on different branches.

What are benefits of using ua2.patch ?

Simple way to automate running custom patches

It is very easy to create patches for your data.


Install package from pip

First, install package via pip:

``` example
pip install ua2.patch

And then, add it to your Django INSTALLED<sub>APPS</sub>:

``` example

Usage examples

Create SQL patch

``` example
./ patch next
File .../patches/00002-johnsmith-014.sql has been created
size: 0

Now, you can open & edit the file. *Note*: until file size is zero, it would not be applied, but will be treated as *reserved* patch for future use.

Create Python patch

``` example
./ patch next -e py
File .../patches/ has been created
size: 0

*Note:* patch body should have function main() which returns True. If you don't return True, the system will run the patch and exit on this place, preventing other scripts to run.

Create Shell patch

``` example
./ patch next -e sh
File .../patches/ has been created
size: 0
Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ua2.patch-2.0.0-py2.py3-none-any.whl (12.1 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Jul 25, 2016
ua2.patch-2.0.0.tar.gz (8.4 kB) Copy SHA256 Checksum SHA256 Source Jul 25, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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