Changes between Version 3 and Version 4 of ComponentDependencyPlugin
- Timestamp:
- Sep 22, 2009, 4:47:07 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ComponentDependencyPlugin
v3 v4 3 3 == Description == 4 4 5 ComponentDependencyPlugin allows a `Component` to state a dependency on other plugin, via the `IRequireComponents` interface:5 ComponentDependencyPlugin allows a [trac:TracDev/ComponentArchitecture Component] to state a dependency on another `Component`, via the `IRequireComponents` interface from `componentdependencies.interface`: 6 6 7 7 {{{ … … 27 27 == Source == 28 28 29 You can check out ComponentDependencyPlugin from [http://trac-hacks.org/svn/componentdependencyplugin here] using Subversion, or [source:componentdependencyplugin browse the source] with Trac.29 You can check out ComponentDependencyPlugin from [http://trac-hacks.org/svn/componentdependencyplugin/0.11 here] using Subversion, or [source:componentdependencyplugin browse the source] with Trac. 30 30 31 31 == Example == 32 32 33 The files in `test.py`illustrate how to use the plugin. Enable the `ComponentDependencyPlugin` (`componentdependencies.componentdependency.componentdependencyplugin = enabled`) and enable the `TestDependencyPlugin` (`componentdependencies.test.testdependencyplugin = enabled`). Trac will then require an upgrade. The `FooBarTest` component will be enabled in the upgrade.33 The files in [source:componentdependencyplugin/0.11/componentdependencies/test.py test.py] illustrate how to use the plugin. Enable the `ComponentDependencyPlugin` (`componentdependencies.componentdependency.componentdependencyplugin = enabled`) and enable the `TestDependencyPlugin` (`componentdependencies.test.testdependencyplugin = enabled`). Trac will then require an upgrade. The `FooBarTest` component will be enabled in the upgrade. 34 34 35 35 You can also enable the AutoUpgradePlugin prior to this to allow for automatic upgrades. 36 36 37 37 == Recent Changes ==