Skip to content

Commit 22765cc

Browse files
committed
Update to GitBucket 4.16.0
1 parent ef7539c commit 22765cc

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README.MD

+6-6
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ The plugin provides 2 ways to backup the H2 database:
1717
- via an administration page and a backup button
1818
- via an HTTP call to http://YOUR_GITBUCKET/database/backup
1919

20-
Default backup file points to `GITBUCKET_DATA/gitbucket-database-backup-YYYY-MM-DD-hhmm.zip` where:
20+
The default backup file points to `GITBUCKET_DATA/backup/gitbucket-db-YYYY-MM-DD-hhmm.zip` where:
2121

22-
- _GITBUCKET_DATA_ is on a standard gitbucket installation `~/.gitbucket`
23-
- _YYYY-MM-DD-hhmm_ represents a date with hour
22+
- _GITBUCKET_DATA_ is the standard GitBucket data directory. If not specified, default it's `~/.gitbucket`
23+
- _YYYY-MM-DD-hhmm_ represents a date with hour and minutes
2424

2525
### UI usage
2626

@@ -32,7 +32,7 @@ Default backup file points to `GITBUCKET_DATA/gitbucket-database-backup-YYYY-MM-
3232

3333
### HTTP call usage
3434

35-
Using your preferred tool (curl, wget, ...) it is possible fire a backup of the H2 database.
35+
Using your preferred tool (curl, wget, ...) it is possible start a backup of the H2 database.
3636

3737
The URL to call looks like `http://YOUR_GITBUCKET/database/backup`.
3838

@@ -45,7 +45,7 @@ On success, you will receive a `HTTP 200` answer with a body containing `done: F
4545

4646
Plugin version | GitBucket version
4747
:--------------|:-----------------
48-
1.5.x | >= 4.12.y
48+
1.5.x | >= 4.16.y
4949
1.4.x | >= 4.10.y
5050
1.3.x | >= 4.3.y
5151
1.2.x | 4.x.y
@@ -66,7 +66,7 @@ sbt clean package
6666
## Release Notes
6767

6868
### 1.5.0
69-
- compatibility with gitbucket 4.12.1 and scala 2.12
69+
- compatibility with gitbucket 4.16.0 and scala 2.12
7070

7171
### 1.4.0
7272

build.sbt

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ lazy val h2_backup_plugin = (project in file(".")).enablePlugins(SbtTwirl)
77
organization := Organization
88
name := ProjectName
99
version := ProjectVersion
10-
scalaVersion := "2.12.2"
10+
scalaVersion := "2.12.3"
1111

1212

1313
libraryDependencies ++= Seq(
14-
"io.github.gitbucket" %% "gitbucket" % "4.12.1" % "provided",
14+
"io.github.gitbucket" %% "gitbucket" % "4.16.0" % "provided",
1515
"io.github.gitbucket" % "solidbase" % "1.0.2" % "provided",
1616
"com.typesafe.play" %% "twirl-compiler" % "1.3.0" % "provided",
1717
"javax.servlet" % "javax.servlet-api" % "3.1.0" % "provided"
1818
)
1919

20-
scalacOptions := Seq("-deprecation", "-feature", "-language:postfixOps", "-Ydelambdafy:method", "-target:jvm-1.8")
21-
javacOptions in compile ++= Seq("-target", "7", "-source", "7")
20+
scalacOptions := Seq("-deprecation", "-feature", "-language:postfixOps")
21+
javacOptions in compile ++= Seq("-target", "8", "-source", "8")
2222

2323
useJCenter := true

0 commit comments

Comments
 (0)