Note: You are currently viewing documentation for Moodle 3.1. Up-to-date documentation for the latest stable version of Moodle is probably available here: contrib.

Development:contrib: Difference between revisions

From MoodleDocs
No edit summary
 
No edit summary
Line 20: Line 20:


There are branches in contrib CVS for each stable branch in the core moodle module. The Auto-packaging system understands them. This lets you have different versions of your plugin, if necessary, to work with different versions of core Moodle.
There are branches in contrib CVS for each stable branch in the core moodle module. The Auto-packaging system understands them. This lets you have different versions of your plugin, if necessary, to work with different versions of core Moodle.
* [[Development:CVS_for_developers|CVS for developers]
[[Category:Developer|CVS for developers]]
[[Category:Developer tools]]

Revision as of 14:12, 16 April 2007

contrib is an area in the Moodle CVS repository where developers can work on plugins and share them with other people. It is less tightly restricted that the core moodle CVS module, which just contains the official moodle release.

Browsing contrib

You can browse the contrib area of CVS here: http://moodle.cvs.sourceforge.net/moodle/contrib/

Most of the interesting code is in the plugins folder. It is organised like the main Moodle codebase, so, for example, if you are looking for an activity module called gallery, look in plugins/mod/gallery.

A more user-friendly list of the available plugins is available in the Modules and Plugins database on Moodle.org.

Getting write access to contrib

If you are a developer working on plugins for Moodle, you can request write access to contrib by asking Martin. Follow these instructions, making it clear that you want contrib access.

Auto-packaging of contrib modules

In the Modules and plugins database, you will see that a lot of the plugins have download URLs like http://download.moodle.org/plugins/question/type/TEMPLATE.zip. This is because, every night, downloadable copies of every plugin in contrib are automatically build and made available. The download URL is based on the path in the contrib repository. The code for TEMPLATE.zip is in the plugins/question/type/TEMPLATE folder.

Branches in contrib

There are branches in contrib CVS for each stable branch in the core moodle module. The Auto-packaging system understands them. This lets you have different versions of your plugin, if necessary, to work with different versions of core Moodle.

  • [[Development:CVS_for_developers|CVS for developers]