Mozilla Mercurial存储库的快速缓存
mo-hg的Python项目详细描述
更多汞!
>使用elasticsearch作为mozilla的mercurial存储库的快速缓存。
>>>+-----------+
>
>
>
>
==========================================================================================================————+
dev生成状态||
+——+——+————+————————————————————————————————————————————————————————————————————————————————————————————————————代码::python
hg=hg mozilla org({
“使用缓存”:true,
“hg”:{
“url”:“https://hg.mozilla.org”
},
“分支”:{
“主机”:“http://localhost”,
“端口”:9200,
“索引”:“分支”,“类型”:“分支”,
“timeout”:300,
“schema”:{
“$ref”:“/./resources/branch.json”
},
“debug”:false,
“limit_replicas”:false
},
“repo”:{
“host”:“http://localhost”,
“port”:9200,
“index”:“repo”,
“type”:“revision”,
“timeout”:300,
“schema”:{
“$ref”:“//./resources/revision.json”
},
“debug”:false,
“limit_replicas”:false
}
}
,然后在需要修订时调用“get_revision()”:
……代码::python
rev=hg.get_revision({
“changeset”:{“id”:“b3649fd5cd7a76506d2cf04f45e39cbc972fb553”},
“branch”:{“name”:“mozilla inbound”}
……是的,调用确实需要一个“复杂”的dict
参数:目的是将部分修订对象转换为
已完成的修订对象。|构建状态图像::https://travis-ci.org/klahnakoski/mo-hg.svg?branch=master
:目标:https://travis ci.org/klahnakoski/mo hg
…|构建状态图像::https://travis-ci.org/klahnakoski/mo-hg.svg?branch=dev
:目标:https://travis ci.org/klahnakoski/mo hg
…|构建状态图像::https://travis-ci.org/klahnakoski/mo-hg.svg?branch=master
:目标:https://travis ci.org/klahnakoski/mo hg
…|构建状态图像::https://travis-ci.org/klahnakoski/mo-hg.svg?branch=dev
:目标:https://travis-ci.org/klahnakoski/mo-hg
>使用elasticsearch作为mozilla的mercurial存储库的快速缓存。
>>>+-----------+
>
>
>
>
==========================================================================================================————+
dev生成状态||
+——+——+————+————————————————————————————————————————————————————————————————————————————————————————————————————代码::python
hg=hg mozilla org({
“使用缓存”:true,
“hg”:{
“url”:“https://hg.mozilla.org”
},
“分支”:{
“主机”:“http://localhost”,
“端口”:9200,
“索引”:“分支”,“类型”:“分支”,
“timeout”:300,
“schema”:{
“$ref”:“/./resources/branch.json”
},
“debug”:false,
“limit_replicas”:false
},
“repo”:{
“host”:“http://localhost”,
“port”:9200,
“index”:“repo”,
“type”:“revision”,
“timeout”:300,
“schema”:{
“$ref”:“//./resources/revision.json”
},
“debug”:false,
“limit_replicas”:false
}
}
,然后在需要修订时调用“get_revision()”:
……代码::python
rev=hg.get_revision({
“changeset”:{“id”:“b3649fd5cd7a76506d2cf04f45e39cbc972fb553”},
“branch”:{“name”:“mozilla inbound”}
……是的,调用确实需要一个“复杂”的dict
参数:目的是将部分修订对象转换为
已完成的修订对象。|构建状态图像::https://travis-ci.org/klahnakoski/mo-hg.svg?branch=master
:目标:https://travis ci.org/klahnakoski/mo hg
…|构建状态图像::https://travis-ci.org/klahnakoski/mo-hg.svg?branch=dev
:目标:https://travis ci.org/klahnakoski/mo hg
…|构建状态图像::https://travis-ci.org/klahnakoski/mo-hg.svg?branch=master
:目标:https://travis ci.org/klahnakoski/mo hg
…|构建状态图像::https://travis-ci.org/klahnakoski/mo-hg.svg?branch=dev
:目标:https://travis-ci.org/klahnakoski/mo-hg