Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install vcsdeploy

How to install vcsdeploy

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install vcsdeploy
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.3 Available View build log
Windows (64-bit)
0.3 Available View build log
Mac OS X (10.5+)
0.3 Available View build log
Linux (32-bit)
0.3 Available View build log
Linux (64-bit)
0.3 Available View build log
 
Author
License
BSD
Dependencies
Imports
Lastest release
version 0.3 on May 23rd, 2012

vcsdeploy

Easily deploy your applications through your VCS

vcsdeploy allows you to easily deploy updates of your application to your customers through your favorite Version Control System. So far, only mercurial is supported, but it should be very easy to add support for additional VCSs.

The idea is that the application is installed by cloning the repository. Every version of the application is represented as a Mercurial tag: when vcsdeploy runs, it pulls changes from the designed remote repository, and it displays a window showing all the available versions. The user can then select the appropriate version and update the application to it.

Example of usage

Suppose your application myapp is installed in c:\\myapp. You need to write a basic config file, say myapp-config.py:

class Config(object):
    path = 'c:\\myapp'
    version_regex = '^Version'

path contains the local repository which contains the application. The repository must be configured in a way that hg pull pulls the remote repository without asking the user for any password, e.g. by using the ssh protocol or by storing the http password.

version_regex is a regular expression which is tested against all the tags found in the repository, to make sure that the user will see only the tags that start with Version. This way, we can still use Mercurial tags for internal development reasons, without cluttering what is displayed to the final user.

Then, we just need to launch vcsdeploy.pyw /path/to/myapp-config.py to start vcsdeploy.

Requirements

To run vcsdeploy you need:

  • PyQt4
  • mercurial installed as a Python package (i.e., you need to be able to do import mercurial from Python)
  • the py lib (easy_install py)

Subscribe to package updates

Last updated May 23rd, 2012

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.