|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- module.exports = ((name, options)=>{
-
-
- var users = [
- { username : `${options.username}`, password : `${options.password}` }
- , { username : `chess` }
-
-
- ]
-
-
-
-
-
- var remotes = {
-
- 'chess' : {
- server : `${options.reposerver}`, user : 'chess', path : ``, get url(){ return `${this.server}/${this.user}/${this.path}`}
- , push : 'no-pushing' }
- , 'baptistdev-public' : {
- server : `https://github.com`, user : 'baptistdev', path : ``, get url(){ return `${this.server}/${this.user}/${this.path}`}
- , push : 'no-pushing' }
-
-
-
-
-
-
- , 'origin' : {
- server : `${options.reposerver}`, user : '${options.username}', path : ``, get url(){ return `${this.server}/${this.user}/${this.path}`}
- }
- , 'origin-public' : {
- server : `https://git.bbh.org.in`, user : 'chess', path : ``, get url(){ return `${this.server}/${this.user}/${this.path}`}
- , push : {
- server : `${options.reposerver}`, user : `${options.username}`, path : ``, get url(){ return `${this.server}/${this.user}/${this.path}`}
- }
- }
- , 'origin-unc' : {
- server : `//172.16.0.27/repos`, user : '${options.username}', path : ``, get url(){ return `${this.server}/${this.user}/${this.path}`}
- }
-
- }
-
-
-
-
-
-
-
-
-
-
-
-
-
- var reposerverinstances = {
- 'http://git.bbh' : { users, remotes }
- , 'https://git.bbh.org.in' : { users, remotes, external : true }
- , '//172.16.0.27/repos' : { users, remotes }
- , 'https://github.com' : {
-
- get users() { return [{ username : `${this.username}` }]}, username : `baptistdev`
- , remotes : {
- 'baptistdev-public' : {
- server : `https://github.com`, user : 'baptistdev', path : ``, get url(){ return `${this.server}/${this.user}/${this.path}`}
- , push : 'no-pushing' }
-
- }
- , external : true, public : true
- }
- }
- return {
- reposervers : Object.keys(reposerverinstances)
- , reposerverinstances
-
- , repos : [
- { repo : 'elxr' }
- ]
- }
- })
|