Logilab使用的开发工具集
项目描述
一套旨在帮助开发过程的工具,包括
一套elisp好工具,包括
pycover文件的emacs模式
ChangeLog文件的emacs模式
在logilab使用的少量emacs快捷键
ingrsh.(z)sh
一个shell库,可以source。它提供了一个ingrsh命令,将当前工作目录移动到指定的shell存储库,并相应地设置PYTHONPATH和CDPATH环境变量。
环境变量GUESTREPODIR定义了在哪里搜索shell(默认为$HOME/hg/grshells/)
hgext/jpl.py
一个简化与JPL forge交互的Mercurial扩展。
扩展应从Mercurial配置文件中启用
[extensions] jpl = path/to/hgext/jpl/ # or, if it has been installed via the debian package: jpl = [jpl] endpoint = http://www.cubicweb.org
端点(endpoint)指的是您在 cwclientlib 配置设置中的一个配置条目。有关更多信息,请参阅 cwclientlib 文档。
命令
- ask-review:
允许您为由更改集生成的补丁请求审查,例如。
$ hg ask-review # default to working directory's parent revision $ hg ask-review -r "draft() and ::."
- assign:
将对应于指定修订版本的补丁分配给提交者。
- backlog:
显示指定提交者的积压(草稿更改集)。
- list-tc:
列出与存储库关联的项目可用的 TestConfig。
- make-ticket:
为指定的修订版本创建新的票据。
- show-review:
显示对应于指定修订版本的补丁的审查状态,例如。
$ hg show-review -r 82071f767cb8 -T https://www.cubicweb.org/5457568 82071f767cb8 [applied] abegey [schemas] cwuri should be read-only #82071f767cb8 nologin env/quick: partial #82071f767cb8 cubicweb-newsaggregator env/quick: failure #82071f767cb8 ner test env/quick: partial #82071f767cb8 person env/quick: success
- start-test:
开始给定修订版本的 Apycot 测试,例如。
$ hg start-test -r . -l "buildexp cwo" -o publish_host=publish -o upload_host=upload \ -o debian.repository=apycot -o lgp_sign=yes -o lgp_suffix=yes
- tasks:
显示在 forge 上对补丁请求的审查者请求的任务。
Revset 函数
这些谓词从项目 forge(cubicweb-jpl 实例)检索信息,并作为 revset 函数公开。
- tasks:
与待办任务链接的更改集。
- reviewed:
与 forge 中审查过的补丁链接的更改集
- inversion:
与给定版本+项目的票据链接的补丁链接的更改集
示例
$ hg log -r "reviewed()" $ hg log -r "inversion(3.18.0)" $ # display tasks on patches that are meant to be in next 3.20.8 version: $ hg tasks -r "tasks() and inversion(3.20.8)" $ # display patches ready for integration in 3.20.8: $ hg show-review -r "reviewed() and inversion(3.20.8)" $ # are there any pending commit on my branch that is not at his place? $ hg log -r "draft() and ::. keyword(closes) and not inversion(3.20.8)"
模板
- tasks:
字符串列表。补丁的任务和注释的文本。
示例
显示每个补丁的所有任务(和注释)
$ hg log --template='{tasks}\n'
显示描述的第一行和每个尚未完成的任务的第一行,对于由 alain 编写的草稿更改集,这些任务尚未审查
$ hg log -G \ --rev 'draft() and author(alain) and tasks() and not(reviewed())' \ --template='{desc|firstline}\n{tasks % "{task|firstline}\n"}'
项目详情
关闭
logilab-devtools-0.26.0.tar.gz 的散列
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 46f10435e15c0b291586901312db39d277d0c0f546255236b6bc81bf651e81f8 |
|
MD5 | ad044ed087149f0cd50f156bb1695af6 |
|
BLAKE2b-256 | e6adab77053d2c1e89431ce503a3aff509a9e4f4c1f95f53205fc360d62839de |