Skip to main content

Minimal GUI to deploy updates through a VCS repository

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vcsdeploy-0.4.tar.gz (14.1 kB view details)

Uploaded Source

File details

Details for the file vcsdeploy-0.4.tar.gz.

File metadata

  • Download URL: vcsdeploy-0.4.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for vcsdeploy-0.4.tar.gz
Algorithm Hash digest
SHA256 7838a8a43925dab06eed330afbfd383de88a83451586dcfe90e4c2b0d47a4207
MD5 addc5625b018a14b70e47583d6e44765
BLAKE2b-256 af2858ed5ce5b5acdf13061dfaee66aea36617e2379d16688c525634650a00ea

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page