555
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

repo-manifest.js 1.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 override push.
  13. { 'chess' : `${options.reposerver}/chess/elxr.git` }
  14. , { 'public-github-baptistdev' : 'https://github.com/baptistdev/elxr.git' }
  15. // Multiple urls dont tell us the current origin which may be
  16. // different based on currently available/accessible based on device and client.
  17. // We just treat them as different remotes and merge as needed.
  18. //
  19. , { 'origin' : `${options.reposerver}/${options.username}/elxr.git` }
  20. , { 'origin-public' : `https://git.bbh.org.in/${options.username}/elxr.git` }
  21. , { 'origin-unc' : `//172.16.0.27/repos/${options.username}/elxr.git` }
  22. ]
  23. , 'push-remotes' : [
  24. { 'chess' : 'no-pushing' }
  25. , { 'public-baptistdev' : 'no-pushing' }
  26. , { 'public-origin' : 'no-pushing' }
  27. ]
  28. // , 'fetch-remotes' : [] // Multiple fetch remotes are not supported by git.
  29. // We therefore need to use
  30. // - a pullall
  31. // - or branch alias for multiple remote branch tracking branch strategy.
  32. // -- This is however limited to corresponding branch names
  33. // tracking branches.
  34. // We at least need one branch for each remote that we wish to track.
  35. // , 'tracking-branches' : [
  36. // { master : ['origin/master', 'chess/master'] }
  37. // ]
  38. }
  39. })