Class GuzzleSubSplitTask

InheritanceGuzzleSubSplitTask » GitBaseTask

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$base Base of the tree RELATIVE TO .subsplit working dir GuzzleSubSplitTask
$client GitClient from VersionControl_Git GuzzleSubSplitTask
$dryRun Do everything except actually send the update. GuzzleSubSplitTask
$heads Publish for comma-separated heads instead of all heads GuzzleSubSplitTask
$noHeads Do not sync any heads. GuzzleSubSplitTask
$noTags Do not sync any tags. GuzzleSubSplitTask
$remote What git repository to pull from and publish to GuzzleSubSplitTask
$splits The splits we found in the heads GuzzleSubSplitTask
$subIndicatorFile The presence of this file will indicate that the directory it resides in is at the top level of a split. GuzzleSubSplitTask
$tags Publish for comma-separated tags instead of all tags GuzzleSubSplitTask

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
findSplits() Find the composer.json files using Phing's directory scanner GuzzleSubSplitTask
verifyRepos() Based on list of repositories we determined we should have, talk to GitHub and make sure they're all there. GuzzleSubSplitTask

Property Details

$base protected property
protected $base null
$client protected property
protected $client null
$dryRun protected property
protected $dryRun null
$heads protected property
protected $heads null
$noHeads protected property
protected $noHeads false
$noTags protected property
protected $noTags false
$remote protected property
protected $remote null
$splits protected property
protected $splits null
$subIndicatorFile protected property
protected $subIndicatorFile 'composer.json'
$tags protected property
protected $tags null

Method Details

findSplits() protected method

Find the composer.json files using Phing's directory scanner

protected array findSplits ( )
getBase() public method

public void getBase ( )
getDryRun() public method

public void getDryRun ( )
getHeads() public method

public void getHeads ( )
getNoHeads() public method

public void getNoHeads ( )
getNoTags() public method

public void getNoTags ( )
getRemote() public method

public void getRemote ( )
getSubIndicatorFile() public method

public void getSubIndicatorFile ( )
getTags() public method

public void getTags ( )
main() public method

The main entry point

public void main ( )
publish() public method

public void publish ( )
setBase() public method

public void setBase ( $str )
$str
setDryRun() public method

public void setDryRun ( $bool )
$bool
setHeads() public method

public void setHeads ( $str )
$str
setNoHeads() public method

public void setNoHeads ( $bool )
$bool
setNoTags() public method

public void setNoTags ( $bool )
$bool
setRemote() public method

public void setRemote ( $str )
$str
setSubIndicatorFile() public method

public void setSubIndicatorFile ( $str )
$str
setTags() public method

public void setTags ( $str )
$str
subsplitInit() public method

Runs git subsplit init based on the remote repository.

public void subsplitInit ( )
subsplitUpdate() public method

Runs git subsplit update

public void subsplitUpdate ( )
verifyRepos() protected method

Based on list of repositories we determined we should have, talk to GitHub and make sure they're all there.

protected void verifyRepos ( )