From f97bf09263fe8ef7ba4dcf231dfe7b8265b1e0df Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Wed, 27 Apr 2011 21:22:12 -0400
Subject: [PATCH] Centralized markdown transforms. Moved config ops to GitBlit.
---
src/com/gitblit/Constants.java | 20 ++++++++++++++++++--
1 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/src/com/gitblit/Constants.java b/src/com/gitblit/Constants.java
index 5de10cd..d5fc1a4 100644
--- a/src/com/gitblit/Constants.java
+++ b/src/com/gitblit/Constants.java
@@ -4,9 +4,25 @@
public final static String NAME = "Git:Blit";
- public final static String VERSION = "0.11.3";
+ public final static String VERSION = "0.1.0-SNAPSHOT";
+
+ public final static String ADMIN_ROLE = "admin";
+
+ public final static String PULL_ROLE = "pull";
+
+ public final static String PUSH_ROLE = "push";
+
+ public final static String PROPERTIES_FILE = "gitblit.properties";
+
+ public static String getGitBlitVersion() {
+ return NAME + " v" + VERSION;
+ }
+
+ public static String getJGitVersion() {
+ return "JGit 0.11.3";
+ }
public static String getRunningVersion() {
- return NAME + " v" + VERSION;
+ return getGitBlitVersion();
}
}
--
Gitblit v1.9.1