Open Journal Systems
3.3.0
|
Public Member Functions | |
getBase () | |
getDryRun () | |
getHeads () | |
getNoHeads () | |
getNoTags () | |
getRemote () | |
getSubIndicatorFile () | |
getTags () | |
main () | |
publish () | |
setBase ($str) | |
setDryRun ($bool) | |
setHeads ($str) | |
setNoHeads ($bool) | |
setNoTags ($bool) | |
setRemote ($str) | |
setSubIndicatorFile ($str) | |
setTags ($str) | |
subsplitInit () | |
subsplitUpdate () | |
Protected Member Functions | |
findSplits () | |
verifyRepos () | |
Protected Attributes | |
$base = null | |
$client = null | |
$dryRun = null | |
$heads = null | |
$noHeads = false | |
$noTags = false | |
$remote = null | |
$splits | |
$subIndicatorFile = 'composer.json' | |
$tags = null | |
Phing wrapper around git subsplit.
Definition at line 14 of file GuzzleSubSplitTask.php.
|
protected |
Find the composer.json files using Phing's directory scanner
Definition at line 269 of file GuzzleSubSplitTask.php.
References $base, $heads, $splits, getBase(), and getHeads().
Referenced by main().
GuzzleSubSplitTask::getBase | ( | ) |
Definition at line 97 of file GuzzleSubSplitTask.php.
References $base.
Referenced by findSplits(), and publish().
GuzzleSubSplitTask::getDryRun | ( | ) |
Definition at line 117 of file GuzzleSubSplitTask.php.
References $dryRun.
GuzzleSubSplitTask::getHeads | ( | ) |
Definition at line 77 of file GuzzleSubSplitTask.php.
References $heads.
Referenced by findSplits(), publish(), and verifyRepos().
GuzzleSubSplitTask::getNoHeads | ( | ) |
Definition at line 127 of file GuzzleSubSplitTask.php.
References $noHeads.
Referenced by publish().
GuzzleSubSplitTask::getNoTags | ( | ) |
GuzzleSubSplitTask::getRemote | ( | ) |
Definition at line 67 of file GuzzleSubSplitTask.php.
References $remote.
Referenced by main(), and subsplitInit().
GuzzleSubSplitTask::getSubIndicatorFile | ( | ) |
Definition at line 107 of file GuzzleSubSplitTask.php.
References $subIndicatorFile.
GuzzleSubSplitTask::getTags | ( | ) |
GuzzleSubSplitTask::main | ( | ) |
The main entry point
Definition at line 150 of file GuzzleSubSplitTask.php.
References $remote, findSplits(), getRemote(), publish(), subsplitInit(), subsplitUpdate(), and verifyRepos().
GuzzleSubSplitTask::publish | ( | ) |
Definition at line 183 of file GuzzleSubSplitTask.php.
References $base, $heads, $splits, getBase(), getHeads(), getNoHeads(), getNoTags(), and getTags().
Referenced by main().
GuzzleSubSplitTask::setBase | ( | $str | ) |
Definition at line 92 of file GuzzleSubSplitTask.php.
GuzzleSubSplitTask::setDryRun | ( | $bool | ) |
Definition at line 112 of file GuzzleSubSplitTask.php.
GuzzleSubSplitTask::setHeads | ( | $str | ) |
Definition at line 72 of file GuzzleSubSplitTask.php.
GuzzleSubSplitTask::setNoHeads | ( | $bool | ) |
Definition at line 122 of file GuzzleSubSplitTask.php.
GuzzleSubSplitTask::setNoTags | ( | $bool | ) |
Definition at line 132 of file GuzzleSubSplitTask.php.
GuzzleSubSplitTask::setRemote | ( | $str | ) |
Definition at line 62 of file GuzzleSubSplitTask.php.
GuzzleSubSplitTask::setSubIndicatorFile | ( | $str | ) |
Definition at line 102 of file GuzzleSubSplitTask.php.
GuzzleSubSplitTask::setTags | ( | $str | ) |
Definition at line 82 of file GuzzleSubSplitTask.php.
GuzzleSubSplitTask::subsplitInit | ( | ) |
Runs git subsplit init
based on the remote repository.
Definition at line 241 of file GuzzleSubSplitTask.php.
References $remote, and getRemote().
Referenced by main().
GuzzleSubSplitTask::subsplitUpdate | ( | ) |
Runs git subsplit update
Definition at line 222 of file GuzzleSubSplitTask.php.
Referenced by main().
|
protected |
Based on list of repositories we determined we should have, talk to GitHub and make sure they're all there.
Definition at line 322 of file GuzzleSubSplitTask.php.
References $heads, and getHeads().
Referenced by main().
|
protected |
Base of the tree RELATIVE TO .subsplit working dir
Definition at line 34 of file GuzzleSubSplitTask.php.
Referenced by findSplits(), getBase(), and publish().
|
protected |
GitClient from VersionControl_Git
Definition at line 145 of file GuzzleSubSplitTask.php.
|
protected |
Do everything except actually send the update.
Definition at line 45 of file GuzzleSubSplitTask.php.
Referenced by getDryRun().
|
protected |
Publish for comma-separated heads instead of all heads
Definition at line 24 of file GuzzleSubSplitTask.php.
Referenced by findSplits(), getHeads(), publish(), and verifyRepos().
|
protected |
Do not sync any heads.
Definition at line 50 of file GuzzleSubSplitTask.php.
Referenced by getNoHeads().
|
protected |
Do not sync any tags.
Definition at line 55 of file GuzzleSubSplitTask.php.
Referenced by getNoTags().
|
protected |
What git repository to pull from and publish to
Definition at line 19 of file GuzzleSubSplitTask.php.
Referenced by getRemote(), main(), and subsplitInit().
|
protected |
The splits we found in the heads
Definition at line 60 of file GuzzleSubSplitTask.php.
Referenced by findSplits(), and publish().
|
protected |
The presence of this file will indicate that the directory it resides in is at the top level of a split.
Definition at line 40 of file GuzzleSubSplitTask.php.
Referenced by getSubIndicatorFile().
|
protected |
Publish for comma-separated tags instead of all tags
Definition at line 29 of file GuzzleSubSplitTask.php.
Referenced by getTags().