浏览代码

Merge branch 'master' of http://git.bbh.org.in/chess/elxr

master
Aksha Thomas 3 年前
父节点
当前提交
713bc1e660
共有 3 个文件被更改,包括 736 次插入300 次删除
  1. 2
    1
      cliverse.js
  2. 727
    293
      index.js
  3. 7
    6
      repo-manifest.js

+ 2
- 1
cliverse.js 查看文件

@@ -51,7 +51,7 @@ function nodeShellExec() {
child.stderr.on('data', (chunk) => {
if(messages.join('').indexOf('fatal: not a git repository') > -1) opts.haserrors = true;
messages.push(chunk);
process.stdout.write( chunk )
// process.stdout.write( chunk )
// console.error('stderr e: ' + chunk)
});
}
@@ -90,6 +90,7 @@ function nodeShellExec() {
}

var prompt = function(choices, label, defaultchoice){
// prompt accepts either an array or an object as choices.
var choices = choices || [];
return this.prompter.ask(
`${label} \n` + Object.keys(choices).map(choice => { return ` ${(+choice) + 1}) ${choices[choice]} `}).join('\n') + `\n default ( <= ${ defaultchoice || choices[0]} ) : `

+ 727
- 293
index.js
文件差异内容过多而无法显示
查看文件


+ 7
- 6
repo-manifest.js 查看文件

@@ -13,21 +13,22 @@ module.exports = ((name, options)=>{
, remotes : [
// these are both fetch and push remotes. Use push - remotes to override push.
{ 'chess' : `${options.reposerver}/chess/elxr.git` }
, { 'public-github-baptistdev' : 'https://github.com/baptistdev/elxr.git' }
, { 'baptistdev-public' : 'https://github.com/baptistdev/elxr.git' }
// Multiple urls dont tell us the current origin which may be
// different based on currently available/accessible based on device and client.
// We just treat them as different remotes and merge as needed.
//
, { 'origin' : `${options.reposerver}/${options.repouser}/elxr.git` }
, { 'origin-public' : `https://git.bbh.org.in/${options.repouser}/elxr.git` }
, { 'origin-unc' : `//172.16.0.27/repos/${options.repouser}/elxr.git` }
, { 'origin' : `${options.reposerver}/${options.username}/elxr.git` }
, { 'origin-public' : `https://git.bbh.org.in/${options.username}/elxr.git` }
, { 'origin-unc' : `//172.16.0.27/repos/${options.username}/elxr.git` }
// , { `${options.username}` : `https://git.bbh.org.in/${options.username}/elxr.git` }
]

, 'push-remotes' : [
{ 'chess' : 'no-pushing' }
, { 'public-baptistdev' : 'no-pushing' }
, { 'public-origin' : 'no-pushing' }
, { 'baptistdev-public' : 'no-pushing' }
, { 'origin-public' : 'no-pushing' }
]

正在加载...
取消
保存