First published module
This weekend I got my first CVS submission to Drupal accepted. It's the aforementioned CCK Field Definitions module, available here.
With this, I am officially an initiated drupaler, but first I had to get it actually committed to the repositories.
I'm not too well versed in CVS. I don't think anyone is. There was so much information on the Drupal website that it was actually dizzying. I read page after page in the CVS section of the Drupal handbook until I stumbled upon the CVS reference guide for module maintainers. This guide walked me through actually creating the CVS folder and committing my first version of the module. It's a step-by-step guide that solves all your problems for committing a module for the first time.
Notice I said for the first time.
I spent the better part of a day trying to figure out how to update a module to create a new release. Maybe I did it wrong. I started using Eclipse, thinking that, since Eclipse has such a good CVS integration, it will all work out of the box. Wrong. Good thing I read in some blog which I cannot remember that you cannot use Eclipse to create a new branch to commit an updated version of your module...or something like that. Which was a good thing, otherwise I would still be trying to do it with Eclipse.
I ended up committing a new version which was exactly like the previous one. With an official release and all. Crap. Good thing no one uses this module.
Two identical commits later I got it working: by using the command line. Still. If I were asked to do it again, I would punch a kitten.

Comments
I have these exact problems
I have these exact problems with CVS, a majority of my commits are just trying to fix problems I've caused via CVS. I've been using it for over a year and it is just not intuitive.
I would love some sort of web front end, where I can just upload the latest version of my module, and it will just figure the revisioning out itself.
Thank you for having the time
Thank you for having the time and determination to contribute your module!
For what it's worth, you now belong to a rather exclusive club. I've spoken with countless Drupalistas over the years who want to contribute their code but have simply given up after hitting one wall after another.
There's hope on the horizon for a different project upload system. Right now, though, it is currently targeted towards theme developers and not module maintainers.
http://groups.drupal.org/node/9552
It doesn't make a whole lot of sense to me since themes have version numbers and project releases just like modules do.
Thank you, christefano! I'm
Thank you, christefano!
I'm trying, little by little, to give back the useful portions of my code to the world, since Drupal has given me much more than that.
Thanks for the link. I'll certainly check it out, although CVS is not half bad once you do it a few times.
Post new comment