ptlis/vcs

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Tools for working with version control systems.

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

This package is auto-updated.

Last update: 2021-06-06 17:37:12 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).