library vcs
Tools for working with version control systems.
ptlis/vcs
Tools for working with version control systems.
- Monday, August 24, 2015
- by ptlis
- Repository
- 1 Watchers
- 3 Stars
- 95 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
ptlis/vcs
A simple VCS wrapper for PHP attempting to offer a consistent API across VCS tools., (*1)
, (*2)
Cautions
- None of this is utf-8 safe - there's a bunch of manual string manipulation done in a really unsafe way - investigate feasbility of requiring mbstring (or similar).
TODO
- XML all the (svn) things!
- Add wrapper to safely parse - see http://stackoverflow.com/a/4583190 for example
- Split tests - integration & unit tests
- Integration svn tests require access to svnserve & co.
- Check for presence of git & svn binaries (try to autodetect?)
- Validate repository paths.
Known limitations
- Information about adding or removing an empty file is not handled (Unified Diff doesn't seem have a representation for this, SVN disallows this).
dev-master
9999999-dev
Tools for working with version control systems.
Sources
Download
MIT
The Requires
The Development Requires
vcs
version
version control