From b2d7f418bf289e5fa6149ac1b5744cfb03b60dea Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Mon, 23 Sep 2013 10:55:19 -0400
Subject: [PATCH] Eliminate redundant read() and use accessor instead of direct cache access
---
src/main/distrib/data/clientapps.json | 67 ++++++++++++++++++++++++++-------
1 files changed, 53 insertions(+), 14 deletions(-)
diff --git a/src/main/distrib/data/clientapps.json b/src/main/distrib/data/clientapps.json
index 95e45f9..2b15cd3 100644
--- a/src/main/distrib/data/clientapps.json
+++ b/src/main/distrib/data/clientapps.json
@@ -1,42 +1,81 @@
[
{
+ "name": "Git",
+ "title": "Git",
+ "description": "a fast, open-source, distributed VCS",
+ "legal": "released under the GPLv2 open source license",
+ "command": "git clone ${repoUrl}",
+ "productUrl": "http://git-scm.com",
+ "icon": "git-black_32x32.png",
+ "isActive": true
+ },
+ {
"name": "SmartGit/Hg",
- "cloneUrl": "smartgit://cloneRepo/{0}",
+ "title": "syntevo SmartGit/Hg\u2122",
+ "description": "a Git client for Windows, Mac, & Linux",
+ "legal": "\u00a9 2013 syntevo GmbH. All rights reserved.",
+ "cloneUrl": "smartgit://cloneRepo/${repoUrl}",
"productUrl": "http://www.syntevo.com/smartgithg",
- "attribution": "Syntevo SmartGit/Hg\u2122",
"platforms": [ "windows", "macintosh", "linux" ],
- "isActive": false
+ "icon": "smartgithg_32x32.png",
+ "isActive": true
},
{
"name": "SourceTree",
- "cloneUrl": "sourcetree://cloneRepo/{0}",
+ "title": "Atlassian SourceTree\u2122",
+ "description": "a free Git client for Windows or Mac",
+ "legal": "\u00a9 2013 Atlassian. All rights reserved.",
+ "cloneUrl": "sourcetree://cloneRepo/${repoUrl}",
"productUrl": "http://sourcetreeapp.com",
- "attribution": "Atlassian SourceTree\u2122",
"platforms": [ "windows", "macintosh" ],
+ "icon": "sourcetree_32x32.png",
"isActive": true
},
{
"name": "Tower",
- "cloneUrl": "gittower://openRepo/{0}",
+ "title": "fournova Tower\u2122",
+ "description": "a Git client for Mac",
+ "legal": "\u00a9 2013 fournova Software GmbH. All rights reserved.",
+ "cloneUrl": "gittower://openRepo/${repoUrl}",
"productUrl": "http://www.git-tower.com",
- "attribution": "fournova Tower\u2122",
"platforms": [ "macintosh" ],
+ "icon": "tower_32x32.png",
"isActive": true
},
{
- "name": "GitHub for Macintosh",
- "cloneUrl": "github-mac://openRepo/{0}",
+ "name": "GitHub",
+ "title": "GitHub\u2122 for Mac",
+ "description": "a free Git client for Mac OS X",
+ "legal": "\u00a9 2013 GitHub. All rights reserved.",
+ "cloneUrl": "github-mac://openRepo/${repoUrl}",
"productUrl": "http://mac.github.com",
- "attribution": "GitHub\u2122 for Macintosh",
+ "transports": [ "http", "https" ],
"platforms": [ "macintosh" ],
- "isActive": false
+ "icon": "github_32x32.png",
+ "isActive": true
},
{
- "name": "GitHub for Windows",
- "cloneUrl": "github-windows://openRepo/{0}",
+ "name": "GitHub",
+ "title": "GitHub\u2122 for Windows",
+ "description": "a free Git client for Windows",
+ "legal": "\u00a9 2013 GitHub. All rights reserved.",
+ "cloneUrl": "github-windows://openRepo/${repoUrl}",
"productUrl": "http://windows.github.com",
- "attribution": "GitHub\u2122 for Windows",
+ "transports": [ "http", "https" ],
"platforms": [ "windows" ],
+ "icon": "github_32x32.png",
+ "isActive": true
+ },
+ {
+ "name": "SparkleShare",
+ "title": "SparkleShare\u2122",
+ "description": "an open source collaboration and sharing tool",
+ "legal": "released under the GPLv3 open source license",
+ "cloneUrl": "sparkleshare://addProject/${baseUrl}/sparkleshare/${repoUrl}.xml",
+ "productUrl": "http://sparkleshare.org",
+ "platforms": [ "windows", "macintosh", "linux" ],
+ "icon": "sparkleshare_32x32.png",
+ "minimumPermission" : "RW+",
"isActive": false
}
]
\ No newline at end of file
--
Gitblit v1.9.1