Git Product home page Git Product logo

vcstools's Introduction

vcstools

The vcstools module provides a Python API for interacting with different version control systems (VCS/SCMs).

See http://www.ros.org/doc/independent/api/vcstools/html/

Installing

Install the latest release on Ubuntu using apt-get:

$ sudo apt-get install vcstools

On other Systems, use the pypi package:

$ pip install vcstools

Developer Environment

When testing or doing development on vcstools, use a virtualenv:

$ virtualenv ~/vcstools_venv
$ source ~/vcstools_venv/bin/activate
$ pip install --editable /path/to/vcstools_source

At this point in any shell where you run source ~/vcstools_venv/bin/activate, you can use vcstools and evny edits to files in the vcstools source will take effect immediately. This is the effect of pip install --editable, see pip install --help.

To setup a virtualenv for Python3 simply do this (from a clean terminal):

$ virtualenv --python=python3 ~/vcstools_venv_py3
$ source ~/vcstools_venv_py3

When you're done developing, you can exit any shells where you did source .../bin/activate and delete the virtualenv folder, e.g. ~/vcstools_venv.

Testing

Use the python library nose to test:

$ python setup.py test

To test with coverage, make sure to have python-coverage installed and run:

$ python setup.py test -n  # this installs test dependencies only
$ nosetests --with-coverage --cover-package vcstools

To run python3 compatibility tests, run:

$ python3 setup.py test

Test Status

image

vcstools's People

Contributors

tfoote avatar wjwwood avatar tkruse avatar dirk-thomas avatar wkentaro avatar asmodehn avatar jbohren avatar cottsay avatar mikaelarguedas avatar bteeter avatar esteve avatar ekalinin avatar jspricke avatar niedbalski avatar k-okada avatar kwc avatar jamuraa avatar richmattes avatar

Watchers

John Vandenberg avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.