Drupal 5.0 has been officially released and it is time to start contributing some themes :) This article was written to provide an essentialized walk-through focusing on the actual process involved when submitting themes to Drupal.org. This is by no means a detailed guide and I am not a CVS expert. After spending days combing through the Drupal Handbook to piece it all together, I decided this would be useful as a reference.
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.
The assumption is that a stable release will be submitted, meaning that the theme has been fine-tuned, the PHP code has been checked for security vulnerabilities, the XHMTL and CSS have been validated etc, and the theme is ready to share with the Drupal community. Let's get started...
Make sure that Password server (:pserver:) is selected for Protocol:. For CVSROOT: copy and paste or type the following line, replacing "username" with the username for your CVS account with Drupal (note: username is case-sensitive).
:pserver:username@cvs.drupal.org:/cvs/drupal-contrib
For the Module: field, copy and paste or type in the following line replacing "themename" with the name of your theme. This should match the name of the folder which contains your theme files:
contributions/themes/themename
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 theme. You can verify that the directory was created by visiting the Index of contributions.
DRUPAL-5 DRUPAL-4-7
DRUPAL-5--1-0 DRUPAL-4-7--1-0
When this is complete, the theme has been registered on Drupal CVS and the branch and tags have been designated.
http://cvs.drupal.org/viewcvs/drupal/contributions/themes/themename
After everything applicable has been filled in, click Submit.
That's it! Whew! Now your theme 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. 10 "easy" steps to add your theme 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 theme. Again, it is recommended that you read through the Drupal handbook so that you have a more complete understanding of CVS theory.
Now that the stable release for Drupal 5.0 is out, it would be great to see more people contributing themes.