]> source.dussan.org Git - gitblit.git/commitdiff
Release 0.9.1 v0.9.1
authorJames Moger <james.moger@gitblit.com>
Tue, 27 Mar 2012 23:40:27 +0000 (19:40 -0400)
committerJames Moger <james.moger@gitblit.com>
Tue, 27 Mar 2012 23:40:27 +0000 (19:40 -0400)
docs/04_releases.mkd
src/com/gitblit/Constants.java
src/com/gitblit/LuceneExecutor.java

index 5726f737e676fcd86f83f32b0f3ac5f6ba261f41..51d3a1ac1d87ce4173419f9b778a65560d6000ed 100644 (file)
@@ -4,6 +4,12 @@
 \r
 **%VERSION%** ([go](http://code.google.com/p/gitblit/downloads/detail?name=%GO%) | [war](http://code.google.com/p/gitblit/downloads/detail?name=%WAR%) | [express](http://code.google.com/p/gitblit/downloads/detail?name=%EXPRESS%) | [fedclient](http://code.google.com/p/gitblit/downloads/detail?name=%FEDCLIENT%) | [manager](http://code.google.com/p/gitblit/downloads/detail?name=%MANAGER%) | [api](http://code.google.com/p/gitblit/downloads/detail?name=%API%)) based on [%JGIT%][jgit] &nbsp; *released %BUILDDATE%*\r
 \r
+#### fixes\r
+\r
+- Lucene folder was stored in working copy instead of in .git folder\r
+\r
+**0.9.0** *released 2012-03-27*\r
+\r
 #### security\r
 \r
 - Fixed session fixation vulnerability where the session identifier was not reset during the login process (issue 62)\r
@@ -75,7 +81,7 @@ Push requests to these repositories will be rejected.
 \r
 <hr/>\r
 \r
-**0.8.1** ([go](http://code.google.com/p/gitblit/downloads/detail?name=gitblit-0.8.1.zip) | [war](http://code.google.com/p/gitblit/downloads/detail?name=gitblit-0.8.1.war) | [express](http://code.google.com/p/gitblit/downloads/detail?name=express-0.8.1.zip) | [fedclient](http://code.google.com/p/gitblit/downloads/detail?name=fedclient-0.8.1.zip) | [manager](http://code.google.com/p/gitblit/downloads/detail?name=manager-0.8.1.zip) | [api](http://code.google.com/p/gitblit/downloads/detail?name=gbapi-0.8.1.zip)) based on [JGit 1.2.0 (201112221803-r)][jgit] &nbsp; *released 2012-01-11*\r
+**0.8.1** &nbsp; *released 2012-01-11*\r
 \r
 #### fixes\r
 \r
@@ -84,7 +90,7 @@ Push requests to these repositories will be rejected.
 \r
 <hr/>\r
 \r
-**0.8.0** ([go](http://code.google.com/p/gitblit/downloads/detail?name=gitblit-0.8.0.zip) | [war](http://code.google.com/p/gitblit/downloads/detail?name=gitblit-0.8.0.war) | [express](http://code.google.com/p/gitblit/downloads/detail?name=express-0.8.0.zip) | [fedclient](http://code.google.com/p/gitblit/downloads/detail?name=fedclient-0.8.0.zip) | [manager](http://code.google.com/p/gitblit/downloads/detail?name=manager-0.8.0.zip) | [api](http://code.google.com/p/gitblit/downloads/detail?name=gbapi-0.8.0.zip)) based on [JGit 1.2.0 (201112221803-r)][jgit] &nbsp; *released 2012-01-11*\r
+**0.8.0** &nbsp; *released 2012-01-11*\r
 \r
 #### additions\r
 \r
@@ -139,7 +145,7 @@ This change helps adoption of GO in environments without an internet connection
 \r
 <hr/>\r
 \r
-**0.7.0** ([go](http://code.google.com/p/gitblit/downloads/detail?name=gitblit-0.7.0.zip) | [war](http://code.google.com/p/gitblit/downloads/detail?name=gitblit-0.7.0.war) | [fedclient](http://code.google.com/p/gitblit/downloads/detail?name=fedclient-0.7.0.zip) | [manager](http://code.google.com/p/gitblit/downloads/detail?name=manager-0.7.0.zip) | [api](http://code.google.com/p/gitblit/downloads/detail?name=gbapi-0.7.0.zip)) based on [JGit 1.1.0 (201109151100-r)][jgit] &nbsp; *released 2011-11-11*\r
+**0.7.0** &nbsp; *released 2011-11-11*\r
 \r
 - **security**: fixed security hole when cloning clone-restricted repository with TortoiseGit (issue 28)\r
 - improved: updated ui with Twitter's Bootstrap CSS toolkit  \r
@@ -175,7 +181,7 @@ This change helps adoption of GO in environments without an internet connection
 \r
 <hr/>\r
 \r
-**0.6.0** ([go](http://code.google.com/p/gitblit/downloads/detail?name=gitblit-0.6.0.zip) | [war](http://code.google.com/p/gitblit/downloads/detail?name=gitblit-0.6.0.war) | [fedclient](http://code.google.com/p/gitblit/downloads/detail?name=fedclient-0.6.0.zip)) based on [JGit 1.1.0 (201109151100-r)][jgit] &nbsp; *released 2011-09-27*\r
+**0.6.0** &nbsp; *released 2011-09-27*\r
 \r
 - added: federation feature to allow gitblit instances (or gitblit federation clients) to pull repositories and, optionally, settings and accounts from other gitblit instances.  This is something like [svn-sync](http://svnbook.red-bean.com/en/1.5/svn.ref.svnsync.html) for gitblit.  \r
     **New:** *federation.name =*  \r
@@ -196,7 +202,7 @@ This change helps adoption of GO in environments without an internet connection
 \r
 <hr/>\r
 \r
-**0.5.2** ([go](http://code.google.com/p/gitblit/downloads/detail?name=gitblit-0.5.2.zip) | [war](http://code.google.com/p/gitblit/downloads/detail?name=gitblit-0.5.2.war)) based on [JGit 1.0.0 (201106090707-r)][jgit] &nbsp; *released 2011-07-27*\r
+**0.5.2** &nbsp; *released 2011-07-27*\r
 \r
 - fixed: active repositories with a HEAD that pointed to an empty branch caused internal errors (issue 14)\r
 - fixed: bare-cloned repositories were listed as (empty) and were not clickable (issue 13)\r
@@ -214,7 +220,7 @@ This change helps adoption of GO in environments without an internet connection
 \r
 <hr/>\r
 \r
-**0.5.1** ([go](http://code.google.com/p/gitblit/downloads/detail?name=gitblit-0.5.1.zip) | [war](http://code.google.com/p/gitblit/downloads/detail?name=gitblit-0.5.1.war)) based on [JGit 1.0.0 (201106090707-r)][jgit] &nbsp; *released 2011-06-28*\r
+**0.5.1** &nbsp; *released 2011-06-28*\r
 \r
 - clarified SSL certificate generation and configuration for both server-side and client-side\r
 - added some more troubleshooting information to documentation\r
@@ -222,7 +228,7 @@ This change helps adoption of GO in environments without an internet connection
 \r
 <hr/>\r
 \r
-**0.5.0** ([go](http://code.google.com/p/gitblit/downloads/detail?name=gitblit-0.5.0.zip) | [war](http://code.google.com/p/gitblit/downloads/detail?name=gitblit-0.5.0.war)) based on [JGit 1.0.0 (201106090707-r)][jgit] &nbsp; *released 2011-06-26*\r
+**0.5.0** &nbsp; *released 2011-06-26*\r
 \r
 - initial release\r
 \r
index bbb986b25cbd29abaf3b5dad4e43fc92fbf8f54a..dc541b0773b07ba58178b0ec2011f784c63c2a17 100644 (file)
@@ -30,11 +30,11 @@ public class Constants {
 \r
        // The build script extracts this exact line so be careful editing it\r
        // and only use A-Z a-z 0-9 .-_ in the string.\r
-       public static final String VERSION = "1.0.0-SNAPSHOT";\r
+       public static final String VERSION = "0.9.1";\r
 \r
        // The build script extracts this exact line so be careful editing it\r
        // and only use A-Z a-z 0-9 .-_ in the string.\r
-       public static final String VERSION_DATE = "PENDING";\r
+       public static final String VERSION_DATE = "2012-03-27";\r
 \r
        // The build script extracts this exact line so be careful editing it\r
        // and only use A-Z a-z 0-9 .-_ in the string.\r
index 961267b272cd8bc9101064196b940e8ca7121720..afd1cc5aeb7510c6a9f35846792a2f3051ebbff3 100644 (file)
@@ -73,6 +73,7 @@ import org.eclipse.jgit.lib.ObjectId;
 import org.eclipse.jgit.lib.ObjectLoader;\r
 import org.eclipse.jgit.lib.ObjectReader;\r
 import org.eclipse.jgit.lib.Repository;\r
+import org.eclipse.jgit.lib.RepositoryCache.FileKey;\r
 import org.eclipse.jgit.revwalk.RevCommit;\r
 import org.eclipse.jgit.revwalk.RevTree;\r
 import org.eclipse.jgit.revwalk.RevWalk;\r
@@ -1042,8 +1043,8 @@ public class LuceneExecutor implements Runnable {
         * @throws IOException\r
         */\r
        private IndexWriter getIndexWriter(String repository) throws IOException {\r
-               IndexWriter indexWriter = writers.get(repository);              \r
-               File repositoryFolder = new File(repositoriesFolder, repository);\r
+               IndexWriter indexWriter = writers.get(repository);                              \r
+               File repositoryFolder = FileKey.resolve(new File(repositoriesFolder, repository), FS.DETECTED);\r
                File indexFolder = new File(repositoryFolder, LUCENE_DIR);\r
                Directory directory = FSDirectory.open(indexFolder);            \r
 \r