« Return to Thread: Editing PEAR packages

Re: Editing PEAR packages

by Greg Beaver-2 :: Rate this Message:

Reply to Author | View in Thread

Waynn Lue wrote:
> Yeah, that's why I was hoping to maintain a separate install, since it
> would be easier to diff the patches.
>
> Shawn: Thanks for the suggestion to extend, I only wanted to make
> small changes to an existing function though, so it's harder to do it
> that way. My other thought was to refactor the underlying code base to
> make it easier.

Hi Wayne,

If you're only making changes to one function, then you should extend
the class, and override the function.  If the changes are extensive,
then check out the CVS repository, apply your changes, and use the "cvs
diff -u" command to create a patch to send back to the maintainer of the
package.

Greg

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

 « Return to Thread: Editing PEAR packages