Skip to content

Commit 80f9b3d

Browse files
committed
[docs] Add notes about plugin removal from core
1 parent abaeb7d commit 80f9b3d

File tree

1 file changed

+81
-0
lines changed

1 file changed

+81
-0
lines changed
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
---
2+
title: Plugin Removal
3+
tags:
4+
- Processes
5+
- Core development
6+
- Deprecation
7+
- Plugins
8+
- Removal
9+
---
10+
11+
We regularly assess the standard plugins that are included in Moodle and will, from time-to-time, remove some of these.
12+
13+
When this happens we will announce to the community that this will be happening.
14+
15+
## Why plugins are removed from Moodle LMS
16+
17+
A plugin may be considered for removal from Moodle LMS for a range of reasons, including:
18+
19+
- we no longer feel that it is relevant to the community;
20+
- it is no longer possible to maintain for some reason (for example it uses unsupported libraries); and
21+
- it contains integrations which are no longer active.
22+
23+
## What happens when the plugin is removed
24+
25+
In most cases a plugin is removed because it is either no longer possible to support it, or because we do not believe it is widely used.
26+
27+
Typically the following takes places:
28+
29+
- the code for the plugin is extracted from Moodle LMS and placed into its own Git repository, usually under the https://github.com/moodlehq namespace;
30+
- the GitHub repository is marked as archived; and
31+
- the plugin is not placed into the Plugins Database.
32+
33+
## Why is the plugin not placed into the Plugins database?
34+
35+
If the plugin is no longer suited to Moodle LMS, in most cases it is unlikely to be useful in the plugins database either.
36+
37+
Where there are cases where the community feels that it should be moved to the plugins database instead, then we look for volunteers from the community to take over the maintenance of the plugin.
38+
39+
:::warning Plugins without a maintainer
40+
41+
Plugins without a maintainer will not be accepted into the plugins database.
42+
43+
:::
44+
45+
## I want to maintain a removed plugin
46+
47+
If you wish to volunteer to maintain a plugin which has been removed from core, you can [create an MDLSITE issue](https://tracker.moodle.org/secure/CreateIssue.jspa?issuetype=4&pid=10020) on the Moodle Tracker.
48+
49+
You will need to include:
50+
51+
- your Matrix username so that we can contact you;
52+
- your GitHub username; and
53+
- your username on moodle.org.
54+
55+
We will then assess whether the plugin can be transferred to you.
56+
57+
## If you do not have the ability to maintain a plugin
58+
59+
If you feel that an archived plugin should be in the plugins database but you do not have the ability to maintain it yourself then you may:
60+
61+
- look for support amongst the Moodle community; or
62+
- pay a Moodle partner to maintain it for you.
63+
64+
## Useful notes for developers extract plugins
65+
66+
The following approach it typically used to extract a plugin, complete with its entire Git history into the plugins database.
67+
68+
:::danger
69+
70+
This *must* be performed on a clean and dedicated repository. Do *not* run `git filter-branch` or `git filter-repo` on a development repository.
71+
72+
:::
73+
74+
```sh title="Extracting the content"
75+
git clone --no-local https://git.in.moodle.com/moodle/moodle.git moodle-plugin_name
76+
cd moodle-plugin_name
77+
git filter-repo --subdirectory-filter path/to/plugin/name
78+
git remote add origin [email protected]:moodlehq/moodle-plugin_name.git
79+
git push -u origin main
80+
git push origin --tags
81+
```

0 commit comments

Comments
 (0)