从仓库生成外部链接
项目描述
使用 –help 选项查看使用详情
usage: repoexternals [options] url_or_path
Recursively retrieves subversion directory listings from the url or
path and matches directories against a previous set of svn:externals
if provided then against regular expressions and generates
qualifying svn:externals lines. The defaults generate a set of
svn:externals for all the trunks in a repository and keeps them up
to date with the repository as new trunks are added when the
previous externals are provided thereafter.
options:
-h, --help show this help message and exit
-v, --verbose Output logging to standard error. Set twice
to log debugging messages.
-p FILE, --previous=FILE
If provided, only URLs in the repository not
included in the previous externals will be
included. If the filename is '-', use
standard input. Valid svn:externals lines
beginning with one comment character, '#',
will also affect output. This is useful,
for example, to prevent lengthy recursions
into directories that are known not to
contain any desired matches. The file is
read completely and closed before anything
is output, so it is safe to append output to
the previous file:
"repoexternals -p EXTERNALS.txt http://svn.foo.org/repos/main >>EXTERNALS.txt".
-i REGEXP, --include=REGEXP
Directory names matching this python regular
expression will be included in output and
will not be descended into.
[default: (?i)^((.*)/.+?|.*)/trunk$]
-e REGEXP, --exclude=REGEXP
Directory names matching this python regular
expression will be excluded from output and
will not be descended into. Include
overrides exclude. [default:
(?i)^.*/(branch(es)?|tags?|releases?|vendor|bundles?|sandbox|build|dist)$]
-m TEMPLATE, --matched-template=TEMPLATE
The result of expanding previous file URL
matches with the include regular expression
through this template is added to the set of
previous URLs excluded from output and
descending. The default will add the
parents of trunks to the set of previous
URLs excluded. [default: \1]
-t TEMPLATE, --parent-template=TEMPLATE
The result of expanding previous file URL
matches with the include regular expression
through this template is removed from the
set of matched previous URLs excluded from
output and descending. The default ensures
that directories containing trunks within a
directory that contains a trunk are not
excluded. [default: \2]
-d INT, --depth=INT The maximum directory depth to descend to.
WARNING: large values can greatly increase
run time. [default: 5]
-s INT, --pool-size=INT
The number of concurrent svn clients.
WARNING: large values can DOS the
repository. [default: 5]
源代码发行版也是一个 zc.buildout,它会将脚本本地安装以供使用,而不会影响系统Python安装
$ easy_install --editable --build-directory=foo z3c.repoexternals $ cd foo $ python bootstrap/bootstrap.py -v $ ./bin/buildout -v $ ./bin/repoexternals --help
项目详情
下载文件
下载适用于您平台的文件。如果您不确定选择哪个,请了解有关安装包的更多信息。
源代码发行版
z3c.repoexternals-0.3.tar.gz (9.7 kB 查看哈希值)
构建发行版
z3c.repoexternals-0.3-py2.4.egg (19.3 kB 查看哈希值)
关闭
z3c.repoexternals-0.3.tar.gz的哈希值
| 算法 | 哈希摘要 | |
|---|---|---|
| SHA256 | 74133408572c53091057cbe0b00f2490cd1772d2de76155d25199e8ed5cb2a7e |
|
| MD5 | 0d201abf4f73897a3d1d9eaacdd0b710 |
|
| BLAKE2b-256 | 85cfd5723a8ba9b444ebbdd82586fbd4e9a8666e75fa07459a804d2a36d9dc86 |
关闭
z3c.repoexternals-0.3-py2.4.egg的哈希值
| 算法 | 哈希摘要 | |
|---|---|---|
| SHA256 | 9e26c0f6a231f5ca58af1e0acd3849a6d96e230bb0df577ce1648ea1181e24da |
|
| MD5 | 51a5e0bd9ff23d4f5dd14cce47b8d3a7 |
|
| BLAKE2b-256 | 5f7a70bd80967e473081b6258946a74ceca893afd3f3883b97a26882bbbca2ed |