Skip to content

Commit 30b009d

Browse files
committed
Remove default plugins
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 37cd03f commit 30b009d

File tree

2 files changed

+4
-33
lines changed

2 files changed

+4
-33
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## Unreleased
8+
### Removed
9+
- Default Plugins
10+
711
## [2.42.1-1]
812
### Changed
913
- Upgrade SCM-Manager to version 2.42.1 ([Changelog](https://github.com/scm-manager/scm-manager/blob/2.42.1/CHANGELOG.md))

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)