[contributions(DRUPAL-6--2):marvil07] /modules/versioncontrol_git/includes VersioncontrolGitBackend.php VersioncontrolGitItem.php VersioncontrolGitRepository.php /modules/versioncontrol_git versioncontrol_git.log.inc
User: marvil07 Branch: DRUPAL-6--2 Date: Wed, 01 Dec 2010 20:30:09 +0000 Modified files: /modules/versioncontrol_git/includes VersioncontrolGitBackend.php VersioncontrolGitItem.php VersioncontrolGitRepository.php /modules/versioncontrol_git versioncontrol_git.log.inc Log message: task #965930: Get the log parser finished. Really. - Process commits before tags. A tag in git in a reference to a commit, so we should process new commits to before to make sure we can process the tags correctly. - Remove no more used _versioncontrol_git_log_get_commit() function. - Add type to commit operation objects. - Pass parameter to VersioncontrolGitBackend constructor as it parent. - Pass --reverse on commit fetching to process commits in a more natural way. - Overwrite VersioncontrolItem::determineSourceItemRevisionID() to include git logic about which items can be considered equal. - minor: New way to access backend outside child class context. - Reorganize _versioncontrol_git_log_parse_and_insert_commit() - Make clear(avoid reusing) which data arrays are passed to each entity build() method. - Pass backend at entities creation. - Use nested save at VersioncontrolOperation::itemRevisions saving. - Minor touches to _versioncontrol_git_parse_items(). - Pass backend to item constructor. - Add a type to created item objects before save. - Call _versioncontrol_git_fill_source_item() again. - Re-work _versioncontrol_git_fill_source_item(). - Now VCS API assumes there is only one source item, so merges can not be tracked propertly there, and we are neither tracking on git backend for now. - Use git-log instead of git-rev-list because it can see file copies/moves by using --follow. - Detect merges only until 4 parents, anyway merging with more than 4 parents is not usual and it is almost insane :-p - Include logic to avoid duplicates. This is probably going to be removed in favour of plain nested saving soon. - Remove item inserts/updates on parsing, all is going to happen at op->save() nested. Links: http://cvs.drupal.org/diff.php?path=contributions/modules/versioncontrol_git... http://cvs.drupal.org/diff.php?path=contributions/modules/versioncontrol_git... http://cvs.drupal.org/diff.php?path=contributions/modules/versioncontrol_git... http://cvs.drupal.org/diff.php?path=contributions/modules/versioncontrol_git...
participants (1)
-
drupal-cvs@drupal.org