Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Extra git tasks for phing (extending the GitBaseTask provided by recent phing releases)
PHP
Failed to load latest commit information.
GitDescribeTask.php Added GitDescribeTask and a build target demonstrating its usage
GitDiffTask.php Added GitDiffTask and a build target demonstrating its usage
GitLogTask.php Added outputProperty for GitLogTask and GitTagTask; added examples fo…
GitRemoteShowTask.php Added GitRemoteShowTask and a build target demonstrating its usage
GitTagTask.php
README.md Clarified point in the installation instructions
build.xml Added GitRemoteShowTask and a build target demonstrating its usage

README.md

What?

Additional git related tasks for the phing build tool.

Why?

Phing currently comes with several tasks for interacting with git repositories, but it also lacks some that I have a need for. Thus, I am implementing them myself by extending phing's provided GitBaseTask class. I've implemented them more or less, and have submitted them to the phing maintainers for inclusion in a future release.

How?

Installing these extra tasks is fairly straightforward, but first you need to locate your phing installation. In my case, I installed phing via pear, which was installed as part of Zend Server CE; my phing installation is therefore located in /usr/local/zend/share/pear/phing. Simply copy the Git*Task.php files from this repository into $PHING/tasks/ext/git/ and define them in your build.xml file as taskdef entries (similar to what is done in this repo).

Something went wrong with that request. Please try again.