ptlis/vcs

Tools for working with version control systems.

dev-master 2015-08-24 00:06 UTC

This package is auto-updated.

Last update: 2024-04-06 23:52:33 UTC


README

A simple VCS wrapper for PHP attempting to offer a consistent API across VCS tools.

Build Status Code Coverage Scrutinizer Quality Score Latest Stable Version

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!
  • 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).