ptlis / vcs
Tools for working with version control systems.
dev-master
2015-08-24 00:06 UTC
Requires
- php: >=5.3.0
- ptlis/diff-parser: ~0.3
- ptlis/shell-command: ~0.7
Requires (Dev)
- pdepend/pdepend: ~1.1
- phploc/phploc: ~2.0
- phpmd/phpmd: @dev
- phpunit/phpunit: ~4.0
- sebastian/phpcpd: ~2.0
- squizlabs/php_codesniffer: ~1.5
This package is auto-updated.
Last update: 2024-12-07 01:17:37 UTC
README
A simple VCS wrapper for PHP attempting to offer a consistent API across VCS tools.
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).