Skip to content

Commit edfa985

Browse files
committed
Make plug-in work with GitBucket 4.16.0
1 parent 6357eec commit edfa985

File tree

7 files changed

+32
-56
lines changed

7 files changed

+32
-56
lines changed

.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ bundle.js
22
node_modules/
33
*.class
44
*.log
5+
.vscode
6+
package-lock.json
57

68
# sbt specific
79
dist/*
@@ -24,4 +26,4 @@ project/plugins/project/
2426

2527
# Ensime
2628
.ensime
27-
.ensime_cache/
29+
.ensime_cache/

.vscode/tasks.json

-37
This file was deleted.

README.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
gitbucket-explorer-plugin
22
===
33

4-
The plugin provides a file tree of repository for [GitBucket](https://github.com/gitbucket/gitbucket).
4+
The plugin provides an explorer like file tree of GIT repositories for [GitBucket](https://github.com/gitbucket/gitbucket).
55

66
![screenshot](screenshot.png)
77

@@ -10,23 +10,27 @@ Version
1010

1111
Plugin version|GitBucket version
1212
:---|:---
13+
4.0|4.16+
1314
3.x|4.11+
1415
2.0.0| 4.10+
1516
1.0.x|4.9.x
1617

1718
Download
1819
---
1920

20-
You can download a jar file from the [Release](https://github.com/tomoki1207/gitbucket-explorer-plugin/releases).
21+
You can download the JAR file from the [Release](https://github.com/tomoki1207/gitbucket-explorer-plugin/releases) page.
2122

2223
Installation
2324
---
2425

25-
Download a jar file and put into `GITBUCKET_HOME/plugins` and then restart GitBucket.
26+
Copy the downloaded plug-in JAR file to your `GITBUCKET_HOME/plugins` directory, and then restart the GitBucket instance.
2627

2728
Release
2829
---
2930

31+
### 4.0.0 - 7 Sept 2017
32+
- Bump to GitBucket 4.16
33+
3034
### 3.0.0 - 7 Apr 2017
3135

3236
- Bump to GitBucket 4.11
@@ -49,4 +53,4 @@ Release
4953

5054
### 1.0.0 - 6 Feb 2017
5155

52-
- first release
56+
- first release

build.sbt

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name := "gitbucket-explorer-plugin"
22
organization := "io.github.gitbucket"
3-
version := "3.0.0"
4-
scalaVersion := "2.12.1"
3+
version := "4.0.0"
4+
scalaVersion := "2.12.3"
55

66
libraryDependencies ++= Seq(
7-
"io.github.gitbucket" %% "gitbucket" % "4.11.0" % "provided",
7+
"io.github.gitbucket" %% "gitbucket" % "4.16.0" % "provided",
88
"javax.servlet" % "javax.servlet-api" % "3.1.0" % "provided"
99
)
1010

1111
scalacOptions := Seq("-deprecation", "-feature", "-language:postfixOps")
12-
useJCenter := true
12+
useJCenter := true

package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gitbucket-explorer-plugin",
3-
"version": "2.0.0",
3+
"version": "4.0.0",
44
"description": "",
55
"main": "index.js",
66
"scripts": {
@@ -17,12 +17,12 @@
1717
"babelify": "^7.3.0",
1818
"browserify": "^14.0.0",
1919
"envify": "^4.0.0",
20-
"eslint": "^3.14.1",
21-
"eslint-config-airbnb": "^14.0.0",
22-
"eslint-plugin-import": "^2.2.0",
23-
"eslint-plugin-jsx-a11y": "^3.0.2",
24-
"eslint-plugin-react": "^6.9.0",
25-
"uglify-js": "^2.7.5",
20+
"eslint": "^4.0.0",
21+
"eslint-config-airbnb": "^15.0.0",
22+
"eslint-plugin-import": "^2.7.0",
23+
"eslint-plugin-jsx-a11y": "^5.1.1",
24+
"eslint-plugin-react": "^7.1.0",
25+
"uglify-js": "^3.0.28",
2626
"watchify": "^3.9.0"
2727
},
2828
"dependencies": {

project/build.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version = 0.13.13
1+
sbt.version = 0.13.15

src/main/scala/Plugin.scala

+9-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,15 @@ class Plugin extends gitbucket.core.plugin.Plugin {
1212
override val pluginId: String = "explorer"
1313
override val pluginName: String = "Project explorer Plugin"
1414
override val description: String = "Explore Files from the file tree in the repository"
15-
override val versions: List[Version] = List(new Version("1.0.0"), new Version("1.0.1"), new Version("1.0.2"), new Version("1.0.3"),
16-
new Version("2.0.0"), new Version("3.0.0"))
15+
override val versions: List[Version] = List(
16+
new Version("1.0.0"),
17+
new Version("1.0.1"),
18+
new Version("1.0.2"),
19+
new Version("1.0.3"),
20+
new Version("2.0.0"),
21+
new Version("3.0.0"),
22+
new Version("4.0.0")
23+
)
1724

1825
override val controllers = Seq(
1926
"/*" -> new ExplorerController()

0 commit comments

Comments
 (0)