Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update javadoc | James Moger | 2014-04-17 | 1 | -0/+20 |
| | |||||
* | Add plugin (un)install lifecycle methods | James Moger | 2014-04-17 | 1 | -1/+1 |
| | |||||
* | Enforce plugin-requires attribute | James Moger | 2014-04-15 | 1 | -0/+8 |
| | |||||
* | Upgrade plugin command | James Moger | 2014-04-13 | 1 | -0/+11 |
| | |||||
* | Allow user to disable checksum verification on plugin registry refresh | James Moger | 2014-04-11 | 1 | -1/+3 |
| | |||||
* | Improve plugin manager based on upstreamed contributions to pf4j | James Moger | 2014-04-10 | 1 | -11/+92 |
| | |||||
* | Implement simple JSON-based plugin registry and install command | James Moger | 2014-04-10 | 1 | -2/+46 |
| | |||||
* | Split administration commands into a plugin, enhance plugin manager | James Moger | 2014-04-10 | 1 | -12/+11 |
| | |||||
* | Add plugins/extension infrastructure | David Ostrovsky | 2014-04-10 | 1 | -0/+39 |
Plugins are stored in `${baseFolder}/plugins` and are loaded during startup by the PluginManager. A plugin defines it's metadata in META-INF/MANIFEST.MF: Plugin-Class: com.gitblit.plugins.cookbook.CookbookPlugin Plugin-Dependencies: foo, bar Plugin-Id: gitblit-plugin Plugin-Provider: John Doe Plugin-Version: 1.0 Plugins can define extension points that can be implemented by other plugins and they can depend on other plugins: Plugin-Dependencies: foo, bar During the load phase, a directed acyclic graph is built and the loading order of the dependency chain is reversed using a topological sort; parent followed by children. The parent plugin classloader is the combined classloader of all parent plugins. Change-Id: I738821fa2bff02a5dbe339a944cc7e3c4dd8e299 |