Properties

$remote

$remote : 

What git repository to pull from and publish to

Type

$heads

$heads : 

Publish for comma-separated heads instead of all heads

Type

$tags

$tags : 

Publish for comma-separated tags instead of all tags

Type

$base

$base : 

Base of the tree RELATIVE TO .subsplit working dir

Type

$subIndicatorFile

$subIndicatorFile : 

The presence of this file will indicate that the directory it resides in is at the top level of a split.

Type

$dryRun

$dryRun : 

Do everything except actually send the update.

Type

$noHeads

$noHeads : 

Do not sync any heads.

Type

$noTags

$noTags : 

Do not sync any tags.

Type

$splits

$splits : 

The splits we found in the heads

Type

$client

$client : 

GitClient from VersionControl_Git

Type

Methods

setRemote()

setRemote(  $str) 

Parameters

$str

getRemote()

getRemote() 

setHeads()

setHeads(  $str) 

Parameters

$str

getHeads()

getHeads() 

setTags()

setTags(  $str) 

Parameters

$str

getTags()

getTags() 

setBase()

setBase(  $str) 

Parameters

$str

getBase()

getBase() 

setSubIndicatorFile()

setSubIndicatorFile(  $str) 

Parameters

$str

getSubIndicatorFile()

getSubIndicatorFile() 

setDryRun()

setDryRun(  $bool) 

Parameters

$bool

getDryRun()

getDryRun() 

setNoHeads()

setNoHeads(  $bool) 

Parameters

$bool

getNoHeads()

getNoHeads() 

setNoTags()

setNoTags(  $bool) 

Parameters

$bool

getNoTags()

getNoTags() 

main()

main() 

The main entry point

publish()

publish() 

subsplitUpdate()

subsplitUpdate() 

Runs `git subsplit update`

subsplitInit()

subsplitInit() 

Runs `git subsplit init` based on the remote repository.

findSplits()

findSplits() : array

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

Returns

array

verifyRepos()

verifyRepos() 

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