User: jpetso Branch: HEAD Date: Fri, 11 Jan 2008 05:06:32 +0000 Added files: /modules/versioncontrol_cvs versioncontrol_cvs.log.inc Modified files: /modules/versioncontrol_cvs versioncontrol_cvs.module Log message: After weeks and weeks of being lazy, I present to you the long-awaited port of cvs.module's log parsing functionality. It's completely untested at this point, so it will almost certainly not work at all. Nevertheless, there's no syntax error, the site still shows, and it doesn't hurt anyone, so I'd rather get this off my harddisk. After a little debugging, we should get rather nice results. Major changes compared to the cvs.module version: * Changed stuff to Version Control API calls and data structures, obviously. * Better recognition of commits, either with the new "commitid" info or by employing neat heuristics. * Removed the $only_tags parameter and functionality, as that doesn't apply to Version Control API anymore. We'll need other functionality that implements a couple more API functions and directly queries CVS for branches and tags. * You knew that I would double the code size, didn't you? Sorry for that :P In return, the majority of the log fetching code is now in an include file which is only loaded when the actual fetching is done. TODO: Call this from hook_cron(), and lots of testing and debugging. Links: http://cvs.drupal.org/diff.php?path=contributions/modules/versioncontrol_cvs... http://cvs.drupal.org/diff.php?path=contributions/modules/versioncontrol_cvs...