This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A shell command wrapper for hg, git, bzr, svn

Project Description

pyrpo

GitHub | PyPi | Warehouse | Documentation | Travis-CI

pyrpo: a shell command wrapper for hg, git, bzr, svn

Features

  • Wrap and parse shell commands (largely as a reference)
  • Walk for repository directories
  • Generate reports for one or more repositories
  • Call hg status, git status, etc.
  • Generate mercurial .hgsubs
  • Generate git .gitsubmodule
  • Generate pip requirements.txt
  • Generate shell script (to rebuild environment)
    • TODO: replicate branches/tags/revisions
  • Functional namedtuples, iterators yield -ing generators
  • optparse argument parsing (-h, --help)
  • cookiecutter-pypackage project templating

Installing

Install from PyPi:

pip install pyrpo

Install from GitHub as editable (add a pyrpo.pth in site-packages):

pip install -e git+https://github.com/westurner/pyrpo#egg=pyrpo

Usage

Print help:

pyrpo --help

Scan for files:

# Scan and print a shell report
pyrpo -s . -r sh
pyrpo

Generate a TortoiseHG thg-reporegistry.xml file:

pyrpo -s . --thg

Generate a pip report:

pyrpo -r pip

Generate a status report:

pyrpo -r status

Generate an .hgsubs file:

pyrpo -r hgsub

Generate a .gitmodules file:

pyrpo -r gitmodule

Generate an origin report:

pyrpo -r origin

Generate a string report:

pyrpo -r str

History

git log --format='* %s [%h]' master..develop
# [ ... ]

0.2.1 (2015-05-24)

  • BUG: pyrpo.py: sh_full report: cat > %r << EOF [91d5fb7]
  • BUG,CLN: pyrpo.py: logname=’pyrpo’ [e029abe]
  • BLD: Makefile: pull, push, BROWSERCMD lookups [59cbc66]
  • BLD: Makefile: twine [d636e15]

0.1.0 (2014-05-12)

Credits

Release History

Release History

This version
History Node

0.2.1

History Node

0.2.0

History Node

0.1.6

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyrpo-0.2.1-py2.py3-none-any.whl (18.4 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel May 25, 2015
pyrpo-0.2.1.tar.gz (27.4 kB) Copy SHA256 Checksum SHA256 Source May 25, 2015

Supported By

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