For fun, I began experimenting with putting together a PHP implementation of
a Subversion client that uses the svn protocol and thought it might be a
useful addition to ZF.

 

Bill Karwin pointed out that a PECL extension already exists to provide this
functionality, though the documentation is filled with warnings about it
being experimental.

 

I suggest that it is possible in some hosting environments that developers
won't have the PECL extension installed and may not be able to install it.

 

Some uses for such a module include:

 

1.       Deployment - code can be installed or updated using PHP code

2.       Repository browsing - for tools such as bug/issue trackers

3.       Committing - for example if files can be changed in an admin area,
the changes can be committed to the repository

 

I think it should be possible to provide similar functionality for Git,
Mercurial, and other version control systems.

 

I have already started developing an adapter that uses the svn protocol, but
others could be created that use SSH or LDAP/HTTP access, or the PECL
extension.

 

Would Zend_VersionControl_Subversion be useful or is it just a waste of
time?

 

Cheers,

Steven

Reply via email to