Skip to content

Commit 7a02fa7

Browse files
committed
enhance repository API with feedback from gitbucket/gitbucket#1468
add projectURL to Plugin add gitbucketCompileVersion add gitbucketCompatibleRange
1 parent b04b196 commit 7a02fa7

File tree

5 files changed

+56
-8
lines changed

5 files changed

+56
-8
lines changed

registry/plugins.json

+8-4
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22
{
33
"id": "h2-backup",
44
"name": "H2 Database Backup Plugin",
5-
"description": "Allows to export h2 database of gitbucket"
5+
"description": "Allows to export h2 database of gitbucket",
6+
"projectURL": "https://github.com/gitbucket-plugins/gitbucket-h2-backup-plugin"
67
},
78
{
89
"id": "announce",
910
"name": "Announce Plugin",
10-
"description": "Provide announces for gitbucket users and groups"
11+
"description": "Provide announces for gitbucket users and groups",
12+
"projectURL": "https://github.com/gitbucket-plugins/gitbucket-announce-plugin"
1113
},
1214
{
1315
"id": "commitgraphs",
@@ -17,12 +19,14 @@
1719
{
1820
"id": "emoji",
1921
"name": "Emoji Plugin",
20-
"description": "Provides Emoji support for GitBucket."
22+
"description": "Provides Emoji support for GitBucket.",
23+
"projectURL": "https://github.com/gitbucket/gitbucket-emoji-plugin"
2124
},
2225
{
2326
"id": "gist",
2427
"name": "Gist Plugin",
25-
"description": "Provides Gist feature on GitBucket."
28+
"description": "Provides Gist feature on GitBucket.",
29+
"projectURL": "https://github.com/gitbucket/gitbucket-gist-plugin"
2630
},
2731
{
2832
"id": "rst",

registry/plugins.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22
id: h2-backup
33
name: H2 Database Backup Plugin
44
description: Allows to export h2 database of gitbucket
5+
projectURL: https://github.com/gitbucket-plugins/gitbucket-h2-backup-plugin
56
-
67
id: announce
78
name: Announce Plugin
89
description: Provide announces for gitbucket users and groups
10+
projectURL: https://github.com/gitbucket-plugins/gitbucket-announce-plugin
911
-
1012
id: commitgraphs
1113
name: Commit Graphs
@@ -14,10 +16,12 @@
1416
id: emoji
1517
name: Emoji Plugin
1618
description: Provides Emoji support for GitBucket.
19+
projectURL: https://github.com/gitbucket/gitbucket-emoji-plugin
1720
-
1821
id: gist
1922
name: Gist Plugin
2023
description: Provides Gist feature on GitBucket.
24+
projectURL: https://github.com/gitbucket/gitbucket-gist-plugin
2125
-
2226
id: rst
2327
name: ReSTructured text Plugin

registry/plugins/emoji/versions

+20-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,28 @@
11
[
22
{
33
"version": "4.4.0",
4-
"downloadURL": "https://github.com/gitbucket/gitbucket-emoji-plugin/releases/download/4.4.0/gitbucket-emoji-plugin_2.12-4.4.0.jar"
4+
"downloadURL": "https://github.com/gitbucket/gitbucket-emoji-plugin/releases/download/4.4.0/gitbucket-emoji-plugin_2.12-4.4.0.jar",
5+
"gitbucketCompileVersion": "4.10.0",
6+
"gitbucketCompatibleRange": {
7+
"lower": {
8+
"bound": "4.10.0",
9+
"included": true
10+
}
11+
}
512
},
613
{
714
"version": "4.3.0",
8-
"downloadURL": "https://github.com/gitbucket/gitbucket-emoji-plugin/releases/download/4.3.0/gitbucket-emoji-plugin_2.11-4.3.0.jar"
15+
"downloadURL": "https://github.com/gitbucket/gitbucket-emoji-plugin/releases/download/4.3.0/gitbucket-emoji-plugin_2.11-4.3.0.jar",
16+
"gitbucketCompileVersion": "4.3.0",
17+
"gitbucketCompatibleRange": {
18+
"lower": {
19+
"bound": "4.3.0",
20+
"included": true
21+
},
22+
"upper": {
23+
"bound": "4.10.0",
24+
"included": false
25+
}
26+
}
927
}
1028
]

registry/plugins/emoji/versions.json

+20-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,28 @@
11
[
22
{
33
"version": "4.4.0",
4-
"downloadURL": "https://github.com/gitbucket/gitbucket-emoji-plugin/releases/download/4.4.0/gitbucket-emoji-plugin_2.12-4.4.0.jar"
4+
"downloadURL": "https://github.com/gitbucket/gitbucket-emoji-plugin/releases/download/4.4.0/gitbucket-emoji-plugin_2.12-4.4.0.jar",
5+
"gitbucketCompileVersion": "4.10.0",
6+
"gitbucketCompatibleRange": {
7+
"lower": {
8+
"bound": "4.10.0",
9+
"included": true
10+
}
11+
}
512
},
613
{
714
"version": "4.3.0",
8-
"downloadURL": "https://github.com/gitbucket/gitbucket-emoji-plugin/releases/download/4.3.0/gitbucket-emoji-plugin_2.11-4.3.0.jar"
15+
"downloadURL": "https://github.com/gitbucket/gitbucket-emoji-plugin/releases/download/4.3.0/gitbucket-emoji-plugin_2.11-4.3.0.jar",
16+
"gitbucketCompileVersion": "4.3.0",
17+
"gitbucketCompatibleRange": {
18+
"lower": {
19+
"bound": "4.3.0",
20+
"included": true
21+
},
22+
"upper": {
23+
"bound": "4.10.0",
24+
"included": false
25+
}
26+
}
927
}
1028
]

registry/plugins/emoji/versions.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
-
22
version: 4.4.0
33
downloadURL: 'https://github.com/gitbucket/gitbucket-emoji-plugin/releases/download/4.4.0/gitbucket-emoji-plugin_2.12-4.4.0.jar'
4+
gitbucketCompileVersion: 4.10.0
5+
gitbucketCompatibleRange: {lower: {bound: 4.10.0, included: true}}
46
-
57
version: 4.3.0
68
downloadURL: 'https://github.com/gitbucket/gitbucket-emoji-plugin/releases/download/4.3.0/gitbucket-emoji-plugin_2.11-4.3.0.jar'
9+
gitbucketCompileVersion: 4.3.0
10+
gitbucketCompatibleRange: {lower: {bound: 4.3.0, included: true}, upper: {bound: 4.10.0, included: false}}

0 commit comments

Comments
 (0)