hg、git、bzr、svn的shell命令包装器

pyrpo的Python项目详细描述


吡咯

GitHub| PyPI| Documentation| Travis-CI

http://img.shields.io/pypi/v/pyrpo.svghttp://img.shields.io/pypi/dm/pyrpo.svghttp://img.shields.io/github/release/westurner/pyrpo.svghttp://img.shields.io/travis/westurner/pyrpo/master.svg

pyrpo:hg、git、bzr、svn的shell命令包装器

功能

  • 包装和解析shell命令(主要作为参考)
  • 浏览存储库目录
  • 为一个或多个存储库生成报告
  • 呼叫hg statusgit status等。
  • 生成汞.hgsubs
  • 生成git.gitsubmodule
  • 生成piprequirements.txt
  • 生成shell脚本(重建环境)
    • TOdo:复制分支/标记/修订版
  • 函数namedtuplesiteratorsyield-inggenerators
  • optparse参数分析(-h--help
  • cookiecutter-pypackage项目模板化

安装

PyPi

安装
pip install pyrpo

GitHub安装为可编辑(在site-packages中添加pyrpo.pth):

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

使用量

打印帮助:

pyrpo --help

扫描文件:

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

生成龟thg-reporegistry.xml文件:

pyrpo -s . --thg

生成PIP报告:

pyrpo -r pip

生成状态报告:

pyrpo -r status

生成.hgsubs文件:

pyrpo -r hgsub

生成.gitmodules文件:

pyrpo -r gitmodule

生成原点报告:

pyrpo -r origin

生成字符串报告:

pyrpo -r str

历史

0.2.2(2019-04-15)

  • python 3.7支持
  • 每种报告类型的最小测试
git log --format='* %s [%h]' master..develop
# [ ... ]

0.2.1(2015-05-24)

  • 错误:pyrpo.py:sh_完整报告:cat > %r << EOF[91d5fb7]
  • 错误,cln:pyrpo.py:logname='pyrpo'[e029abe]
  • bld:makefile:pull、push、browsercmd查找[59cbc66]
  • bld:makefile:tween[d636e15]

0.1.0(2014-05-12)

学分

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
我可以用C++代码使用java代码吗?   java使用JSR303在派生类中提供更具体的约束   java在这个查找唯一路径数算法中我做错了什么?   java如何为2个不同的服务提供商使用2个不同的SSL证书?   java在Gridview上绘制文本   java使用连接for循环构建字符串名   java StringBuilder拆分无法处理某些文件   java事件关注EditText   Java Web Start“找不到URL的缓存资源”   java程序从命令行运行的速度比在Eclipse中慢   java为什么HttpServletRequest会截断#字符上的url输入?   java自定义折叠工具栏平滑标题大小调整   使用Mockito对安卓 java中调用另一个静态函数的函数进行单元测试   http在java客户机中使用cachecontrol头   java如何使用。是否使用Delimiter从输入文件中排除标点符号和数字?   使用上下文作为参数/参数的java   java更有效地从Jar中提取文件   java为多个JButton提供相同的actionListener