This article is largely taken from http://drupal.org/node/112902<. The following is essentially a walk-through focusing on the actual process involved when submitting modules to Drupal.org. This is by no means a detailed CVS guide and I am not a CVS expert. After spending days combing through the Drupal Handbook (and asking the experts) to put it all together, I decided to write it all down for my own reference and share it with others.
It is highly recommended that you read the detailed CVS instructions in the Drupal Handbook at some point. This guide is for Windows users and a CVS client is used, so you don't have to use command-line. There are decent instructions already available for Linux users.
I also recommend that you familiarize yourself with the Drupal coding standards<. I then suggest you download and install the Coder module< for checking your application of the standards. Then it's always nice to at least lay the groundwork for translation of your module, so check out the Translation Template Extractor module<. There will be more on this later.
The assumption is that a stable release will be submitted, meaning that the module has been tested thoroughly (preferably by others), the PHP code has been checked for security vulnerabilities, the CSS has been validated etc, and the module is ready to share with the Drupal community.
Once your account is approved you will be able to add projects. But first, you will want to upload your module to the Drupal CVS server. There are several CVS GUI clients< available. I chose to use TortoiseCVS per recommendation from a Drupal developer. You can download TortoiseCVS here<.
:pserver:username@cvs.drupal.org:/cvs/drupal-contrib<
contributions/modules/modulename<
Press OK. TortoiseCVS will do it's thing and should report that the operation was successful. This has created a directory in Drupal CVS to contain the files for your module. You can verify that the directory was created by visiting the Index of contributions<.
DRUPAL-6
DRUPAL-5
DRUPAL-4-7<
DRUPAL-6--1-0
DRUPAL-5--1-0
DRUPAL-4-7--1-0<
When this is complete, the module has been registered on Drupal CVS and the branch and tags have been designated.
http://cvs.drupal.org/viewcvs/drupal/contributions/modules/modulename<
After everything applicable has been filled in, click Submit. Don't worry, you can come back and fill in missing details later.
That's it! Whew! Now your module is officially managed through Drupal CVS and included as a project on Drupal.org. If you want to add a screenshot, first read the Theme screenshot guidelines<. You will need to Submit an issue< with the Drupal.org webmasters in order to have your screenshot added.
So there you have it. Ten "easy" steps to add your module to Drupal. Perhaps not that easy, but it is to be expected that there will be some tedious procedures to deal with in order to keep the quality of contributions high while maintaining a community effort like Drupal. Hopefully this has been informative and will save some time and headache for people who aren't familiar with CVS but would like to contribute a Drupal module. Again, it is recommended that you read through the Drupal handbook so that you have a more complete understanding of CVS; here is a good place to start<.
Recent comments
12 years 5 weeks ago
12 years 5 weeks ago
12 years 16 weeks ago
12 years 21 weeks ago
12 years 44 weeks ago
13 years 2 weeks ago
13 years 9 weeks ago
13 years 9 weeks ago
13 years 15 weeks ago
13 years 18 weeks ago