Skip to content

Commit beb0407

Browse files
committed
Remove default plugins (#70)
Default plugins should be installed only using the blueprint mechanism from the ecosystem. With the old list of default plugins, this was not really usable, because the old list of default plugins always installed nearly all plugins available, so that the user had no way to create a smaller default set. So with this, we completely remove the default plugin list. All necessary plugins like the legacy plugins for CAS will still be installed by the dependency checks.
1 parent b25835c commit beb0407

File tree

2 files changed

+3
-33
lines changed

2 files changed

+3
-33
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
### Added
99
- [#72] Configuration options for resource requirements
1010
- [#72] Defaults for CPU and memory requests
11+
### Removed
12+
- Default Plugins ([#70](https://github.com/cloudogu/scm/pull/70/files))
13+
1114

1215
## [2.44.2-1]
1316
### Changed

resources/var/tmp/scm/init.script.d/040-install-plugins.groovy

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,6 @@ import sonia.scm.plugin.PluginManager;
44
import groovy.json.JsonSlurper;
55

66
// configuration
7-
def defaultPlugins = [
8-
"scm-mail-plugin",
9-
"scm-review-plugin",
10-
"scm-tagprotection-plugin",
11-
"scm-jira-plugin",
12-
"scm-activity-plugin",
13-
"scm-statistic-plugin",
14-
"scm-pathwp-plugin",
15-
"scm-branchwp-plugin",
16-
"scm-notify-plugin",
17-
"scm-authormapping-plugin",
18-
"scm-groupmanager-plugin",
19-
"scm-pushlog-plugin",
20-
"scm-support-plugin",
21-
"scm-directfilelink-plugin",
22-
"scm-readme-plugin",
23-
"scm-editor-plugin",
24-
"scm-landingpage-plugin",
25-
"scm-repository-template-plugin",
26-
"scm-commit-message-checker-plugin",
27-
"scm-trace-monitor-plugin",
28-
"scm-markdown-plantuml-plugin",
29-
"scm-repository-avatar-plugin",
30-
"scm-ssl-context-plugin",
31-
"scm-repository-mirror-plugin"
32-
];
33-
347
def plugins = []
358
def pluginsFromOldInstallation = []
369

@@ -137,12 +110,6 @@ if (isDoguInstalled("gotenberg")) {
137110
plugins.add("scm-gotenberg-plugin")
138111
}
139112

140-
// install default plugins
141-
if (isFirstStart()) {
142-
System.out.println("First start detected; installing default plugins.");
143-
plugins.addAll(defaultPlugins)
144-
}
145-
146113
addMissingDefaultPluginsFromEtcd(plugins)
147114

148115
File pluginListFile = new File(sonia.scm.SCMContext.getContext().getBaseDirectory(), "installed_plugins_before_update.lst")

0 commit comments

Comments
 (0)