Changes

Jump to: navigation, search

Delta debugging framework

2,403 bytes added, 19:52, 24 October 2006
Project Bottlenecks
We need to focus on one of these circumstances. Judging from the project description, we should work on the first case, while perhaps opening the door to future expansion.
== Project Bottlenecks Points of Confusion ==
([[#top|↑ top]])
# [[Bonsai issue]] -- '''unresolved'''  When I get confused, I draw diagrams.  [[Image:Dd_partialclassdiagram.PNG]]  '''The Clear: Seemingly Straight Forward''' The RCS tree is straight forward. It will encapsulate the data and operations related to the revision control system. SVN wraps the operations of the SVN revision control system, CVS will wrap the operations of the CVS revision control system, etc. The Build tree is straight forward. It wraps the build tool used to build the source tree. '''The Blurry: Current Points of Confusion''' RCS's can remember the changes (deltas) that occurred in previous versions of a file, the history of changes that occur between revisions, etc. A Changeset and its subclasses will encapsulate the idea of a set of changes. A set of changes could be broken down into various categories such as a specific revision, a list of directories, a list of files, a list of blocks of code, and finally a line of code. A ChangesetFactory is supposed to return a change set based on the type of change set requested. To get the requested change set, one needs to know the type of revision control system (SVN, CVS, other, etc.) and/or the data required to connect to it. So there obviously need a link between RCS and ChangesetFactory/Changeset. The question is how? What is the proper/best way to link them together? One way is to pass in an RCS object to the ChangesetFactory which would then pass that object to the appropriate Changeset subclass. I don't like that solution but it's the simplest. Also, the method to get a change set for SVN may be different from CVS. So there may be a Changeset hierarchy for SVN and another one for CVS. I don't like the idea of that at all. There must be another way. '''The Blind: Future Points of Confusions''' * Applying a change in a changeset. Should the Changeset subclasses be able to do that? Are they the information expert? They know about the changes. Should they know how to apply them? How would we go abouts applying a subset of changes in a changeset? For example, there may have been changes in 10 different directories, how would we apply the changes from say 4 of the 10 directories and not the others?* Connecting all 3 hierarchies together. Need to be able to connect to SVN, need to be able to get and apply changes, need to be able to build the source tree. * The actual delta debugging algorithm.  But that's all for the future.
== Project News ==
1
edit

Navigation menu