Skip to content

Commit 6ef2fca

Browse files
committed
Release 0.9.1
1 parent 80415e1 commit 6ef2fca

File tree

3 files changed

+18
-11
lines changed

3 files changed

+18
-11
lines changed

docs/04_releases.mkd

+13-7
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44

55
**%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]   *released %BUILDDATE%*
66

7+
#### fixes
8+
9+
- Lucene folder was stored in working copy instead of in .git folder
10+
11+
**0.9.0** *released 2012-03-27*
12+
713
#### security
814

915
- Fixed session fixation vulnerability where the session identifier was not reset during the login process (issue 62)
@@ -75,7 +81,7 @@ Push requests to these repositories will be rejected.
7581

7682
<hr/>
7783

78-
**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*
84+
**0.8.1** &nbsp; *released 2012-01-11*
7985

8086
#### fixes
8187

@@ -84,7 +90,7 @@ Push requests to these repositories will be rejected.
8490

8591
<hr/>
8692

87-
**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*
93+
**0.8.0** &nbsp; *released 2012-01-11*
8894

8995
#### additions
9096

@@ -139,7 +145,7 @@ This change helps adoption of GO in environments without an internet connection
139145

140146
<hr/>
141147

142-
**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*
148+
**0.7.0** &nbsp; *released 2011-11-11*
143149

144150
- **security**: fixed security hole when cloning clone-restricted repository with TortoiseGit (issue 28)
145151
- improved: updated ui with Twitter's Bootstrap CSS toolkit
@@ -175,7 +181,7 @@ This change helps adoption of GO in environments without an internet connection
175181

176182
<hr/>
177183

178-
**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*
184+
**0.6.0** &nbsp; *released 2011-09-27*
179185

180186
- 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.
181187
**New:** *federation.name =*
@@ -196,7 +202,7 @@ This change helps adoption of GO in environments without an internet connection
196202

197203
<hr/>
198204

199-
**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*
205+
**0.5.2** &nbsp; *released 2011-07-27*
200206

201207
- fixed: active repositories with a HEAD that pointed to an empty branch caused internal errors (issue 14)
202208
- fixed: bare-cloned repositories were listed as (empty) and were not clickable (issue 13)
@@ -214,15 +220,15 @@ This change helps adoption of GO in environments without an internet connection
214220

215221
<hr/>
216222

217-
**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*
223+
**0.5.1** &nbsp; *released 2011-06-28*
218224

219225
- clarified SSL certificate generation and configuration for both server-side and client-side
220226
- added some more troubleshooting information to documentation
221227
- replaced JavaService with Apache Commons Daemon
222228

223229
<hr/>
224230

225-
**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*
231+
**0.5.0** &nbsp; *released 2011-06-26*
226232

227233
- initial release
228234

src/com/gitblit/Constants.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ public class Constants {
3030

3131
// The build script extracts this exact line so be careful editing it
3232
// and only use A-Z a-z 0-9 .-_ in the string.
33-
public static final String VERSION = "1.0.0-SNAPSHOT";
33+
public static final String VERSION = "0.9.1";
3434

3535
// The build script extracts this exact line so be careful editing it
3636
// and only use A-Z a-z 0-9 .-_ in the string.
37-
public static final String VERSION_DATE = "PENDING";
37+
public static final String VERSION_DATE = "2012-03-27";
3838

3939
// The build script extracts this exact line so be careful editing it
4040
// and only use A-Z a-z 0-9 .-_ in the string.

src/com/gitblit/LuceneExecutor.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
import org.eclipse.jgit.lib.ObjectLoader;
7474
import org.eclipse.jgit.lib.ObjectReader;
7575
import org.eclipse.jgit.lib.Repository;
76+
import org.eclipse.jgit.lib.RepositoryCache.FileKey;
7677
import org.eclipse.jgit.revwalk.RevCommit;
7778
import org.eclipse.jgit.revwalk.RevTree;
7879
import org.eclipse.jgit.revwalk.RevWalk;
@@ -1042,8 +1043,8 @@ private IndexSearcher getIndexSearcher(String repository) throws IOException {
10421043
* @throws IOException
10431044
*/
10441045
private IndexWriter getIndexWriter(String repository) throws IOException {
1045-
IndexWriter indexWriter = writers.get(repository);
1046-
File repositoryFolder = new File(repositoriesFolder, repository);
1046+
IndexWriter indexWriter = writers.get(repository);
1047+
File repositoryFolder = FileKey.resolve(new File(repositoriesFolder, repository), FS.DETECTED);
10471048
File indexFolder = new File(repositoryFolder, LUCENE_DIR);
10481049
Directory directory = FSDirectory.open(indexFolder);
10491050

0 commit comments

Comments
 (0)