Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

repo-manifest.js 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. module.exports = ((name, options)=>{
  2. return {
  3. reposervers : [
  4. 'http://git.bbh'
  5. , 'https://git.bbh.org.in'
  6. , '//172.16.0.27/repos'
  7. , 'https://github.com'
  8. ]
  9. // User can always add more branches and remotes as needed. Mainifest only occupies
  10. // well defined namespaces
  11. , remotes : [
  12. // these are both fetch and push remotes. Use push - remotes to overrid.
  13. { 'chess' : 'http://git.bbh/chess/elxr.git' }
  14. , { 'public-baptistdev' : 'https://github.com/baptistdev/elxr.git' }
  15. // Multiple urls as an array doesn't tell us the current origin which may be different in
  16. // different based on currently available/accessible to client.
  17. // This is just a list of possible equivalent options.
  18. , { 'origin' : [
  19. `http://git.bbh/${options.gituser}/elxr.git`
  20. , 'https://git.bbh.org.in/${options.gituser}/elxr.git'
  21. , `//172.16.0.27/repos/${options.gituser}/elxr.git`
  22. ]
  23. }
  24. ]
  25. , 'push-remotes' : [
  26. { 'chess' : 'no-pushing' }
  27. , { 'public-baptistdev' : 'no-pushing' }
  28. , { 'public-origin' : 'no-pushing' }
  29. ]
  30. // , 'fetch-remotes' : [] // Multiple fetch remotes are not supported by git.
  31. // We therefore need to use
  32. // - a pullall
  33. // - or branch alias for multiple remote branch tracking branch strategy.
  34. // -- This is however limited to corresponding branch names
  35. // tracking branches.
  36. // We at least need one branch for each remote that we wish to track.
  37. , 'tracking-branches' : [
  38. { master : ['origin/master', 'chess/master'] }
  39. ]
  40. }
  41. })