mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-15 18:05:50 +01:00
Fix typo
This commit is contained in:
@@ -63,7 +63,7 @@ Release Notes
|
|||||||
### 3.10 - 30 Dec 2015
|
### 3.10 - 30 Dec 2015
|
||||||
- Move to Bootstrap3
|
- Move to Bootstrap3
|
||||||
- New URL for raw contents (`raw/master/doc/activity.md` instead of `blob/master/doc/activity.md?raw=true`)
|
- New URL for raw contents (`raw/master/doc/activity.md` instead of `blob/master/doc/activity.md?raw=true`)
|
||||||
- Update xsbt-web-pligin
|
- Update xsbt-web-plugin
|
||||||
- Update H2 database
|
- Update H2 database
|
||||||
|
|
||||||
### 3.9 - 5 Dec 2015
|
### 3.9 - 5 Dec 2015
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ To release a new version of GitBucket, add the version definition to the [gitbuc
|
|||||||
object AutoUpdate {
|
object AutoUpdate {
|
||||||
...
|
...
|
||||||
/**
|
/**
|
||||||
* The history of versions. A head of this sequence is the current BitBucket version.
|
* The history of versions. A head of this sequence is the current GitBucket version.
|
||||||
*/
|
*/
|
||||||
val versions = Seq(
|
val versions = Seq(
|
||||||
Version(1, 0)
|
Version(1, 0)
|
||||||
@@ -20,7 +20,7 @@ Next, add a SQL file which updates database schema into [/src/main/resources/upd
|
|||||||
|
|
||||||
GitBucket stores the current version to ```GITBUCKET_HOME/version``` and checks it at start-up. If the stored version differs from the actual version, it executes differences of SQL files between the stored version and the actual version. And ```GITBUCKET_HOME/version``` is updated by the actual version.
|
GitBucket stores the current version to ```GITBUCKET_HOME/version``` and checks it at start-up. If the stored version differs from the actual version, it executes differences of SQL files between the stored version and the actual version. And ```GITBUCKET_HOME/version``` is updated by the actual version.
|
||||||
|
|
||||||
We can also add any Scala code for upgrade GitBucket which modifies resources other than database. Override ```Version.update``` like below:
|
We can also add any Scala code for upgrade GitBucket which modifies resources other than database. Override ```Version.update``` like below:
|
||||||
|
|
||||||
```scala
|
```scala
|
||||||
val versions = Seq(
|
val versions = Seq(
|
||||||
|
|||||||
@@ -8,10 +8,10 @@ This directory has following structure:
|
|||||||
* /HOME/gitbucket
|
* /HOME/gitbucket
|
||||||
* /repositories
|
* /repositories
|
||||||
* /USER_NAME
|
* /USER_NAME
|
||||||
* / REPO_NAME.git (substance of repository. GitServlet sees this directory)
|
* /REPO_NAME.git (substance of repository. GitServlet sees this directory)
|
||||||
* / REPO_NAME
|
* /REPO_NAME
|
||||||
* /issues (files which are attached to issue)
|
* /issues (files which are attached to issue)
|
||||||
* / REPO_NAME.wiki.git (wiki repository)
|
* /REPO_NAME.wiki.git (wiki repository)
|
||||||
* /data
|
* /data
|
||||||
* /USER_NAME
|
* /USER_NAME
|
||||||
* /files
|
* /files
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ object MyBuild extends Build {
|
|||||||
object AutoUpdate {
|
object AutoUpdate {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The history of versions. A head of this sequence is the current BitBucket version.
|
* The history of versions. A head of this sequence is the current GitBucket version.
|
||||||
*/
|
*/
|
||||||
val versions = Seq(
|
val versions = Seq(
|
||||||
new Version(3, 3), // <---- add this line!!
|
new Version(3, 3), // <---- add this line!!
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ import gitbucket.core.util.Directory
|
|||||||
object AutoUpdate {
|
object AutoUpdate {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The history of versions. A head of this sequence is the current BitBucket version.
|
* The history of versions. A head of this sequence is the current GitBucket version.
|
||||||
*/
|
*/
|
||||||
val versions = Seq(
|
val versions = Seq(
|
||||||
new Version(3, 11),
|
new Version(3, 11),
|
||||||
@@ -156,7 +156,7 @@ object AutoUpdate {
|
|||||||
)
|
)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The head version of BitBucket.
|
* The head version of GitBucket.
|
||||||
*/
|
*/
|
||||||
val headVersion = versions.head
|
val headVersion = versions.head
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user