From: Brian A. <br...@ta...> - 2003-07-29 19:09:25
|
When I looked at this, I wanted to make a patch tool. My tool works off a data file that looks like this: <updates> <patch> <id>2322</id> <comment>Sample Comment</comment> <author>Brian</author> <sql>SELECT now()</sql> </patch> <patch> <id>2322</id> <comment>Sample Comment</comment> <author>Brian</author> <sql>SELECT now()</sql> <sql>ALTER MORE CRAP</sql> </patch> The thing is that is that each plugin should have its own XML update file that can be used, which is something that mine does not do yet. For what it is worth, the livejournal code base uses a really cool tool to diff schema and then apply patches. -Brian -- _______________________________________________________ Brian "Krow" Aker, br...@ta... Seattle, Washington http://krow.net/ http://askbrian.org/ _______________________________________________________ You can't grep a dead tree. |