You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

setup_clientmenus.mkd 2.0KB

11 years ago
11 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. ## Client App Menus
  2. *SINCE 1.3.0*
  3. Gitblit supports defining menus for native platform git client clone urls. By default, Gitblit ships with client definitions for Git, SmartGit/Hg, SourceTree, Tower, and Github for Mac & Windows. Gitblit uses the browser's user-agent to help filter the list of available clients in addition to served transports and user access permissions.
  4. You can define new client integrations and deactivate/remove the default integrations by creating a file *$(baseFolder}/clientapps.json*.
  5. ### Example definitions
  6. ```json
  7. [
  8. {
  9. "name": "SmartGit/Hg",
  10. "title": "syntevo SmartGit/Hg\u2122",
  11. "description": "a Git client for Windows, Mac, & Linux",
  12. "legal": "\u00a9 2013 syntevo GmbH. All rights reserved.",
  13. "cloneUrl": "smartgit://cloneRepo/${repoUrl}",
  14. "productUrl": "http://www.syntevo.com/smartgithg",
  15. "platforms": [ "windows", "macintosh", "linux" ],
  16. "icon": "smartgithg_32x32.png",
  17. "isActive": true
  18. },
  19. {
  20. "name": "GitHub",
  21. "title": "GitHub\u2122 for Windows",
  22. "description": "a free Git client for Windows",
  23. "legal": "\u00a9 2013 GitHub. All rights reserved.",
  24. "cloneUrl": "github-windows://openRepo/${repoUrl}",
  25. "productUrl": "http://windows.github.com",
  26. "transports": [ "http", "https" ],
  27. "platforms": [ "windows" ],
  28. "icon": "github_32x32.png",
  29. "isActive": true
  30. },
  31. {
  32. "name": "SparkleShare",
  33. "title": "SparkleShare\u2122",
  34. "description": "an open source collaboration and sharing tool",
  35. "legal": "released under the GPLv3 open source license",
  36. "cloneUrl": "sparkleshare://addProject/${baseUrl}/sparkleshare/${repoUrl}.xml",
  37. "productUrl": "http://sparkleshare.org",
  38. "platforms": [ "windows", "macintosh", "linux" ],
  39. "icon": "sparkleshare_32x32.png",
  40. "minimumPermission" : "RW+",
  41. "isActive": false
  42. }
  43. ]
  44. ```