tasks/ext/git/GitPullTask.php

Show: inherited
Table of Contents

\GitPullTask

Package: phing\tasks\ext\git

Wrapper aroung git-pull

Parent(s)
\GitBaseTask < \Task < \ProjectComponent
See
\VersionControl_Git  
Author
Victor Farazdagi  
Since
2.4.3  
Version
$Id: GitPullTask.php 1084 2011-05-06 09:55:25Z mrook $  

Properties

Propertyprivateboolean  $allRemotes= 'false'

Fetch all remotes --all key to git-pull

Default valuefalseDetails
Type
boolean
Propertyprivateboolean  $append= 'false'

--append key to git-pull

Default valuefalseDetails
Type
boolean
Propertyprivateboolean  $force= 'false'

--force, -f key to git-pull

Default valuefalseDetails
Type
boolean
Propertyprivate\VersionControl_Git  $gitClient= 'null'
inherited

Inherited from: \GitBaseTask::$$gitClient
Default valuenullDetails
Type
\VersionControl_Git
Inherited_from
\GitBaseTask::$$gitClient  
Propertyprivatestring  $gitPath= ''/usr/bin/git''
inherited

Bath to git binary

Inherited from: \GitBaseTask::$$gitPath
Default value'/usr/bin/git'Details
Type
string
Inherited_from
\GitBaseTask::$$gitPath  
Propertyprivateboolean  $keepFiles= 'false'

Keep downloaded pack --keep key to git-pull

Default valuefalseDetails
Type
boolean
Propertyprivateboolean  $noRebase= 'false'

--no-rebase key to git-pull Allow to override --rebase (if set to default true in configuration)

Default valuefalseDetails
Type
boolean
Propertyprivateboolean  $noTags= 'false'

Disable/enable automatic tag following --no-tags key to git-pull

Default valuefalseDetails
Type
boolean
Propertyprivateboolean  $quiet= 'true'

--quiet, -q key to git-pull

Default valuetrueDetails
Type
boolean
Propertyprivateboolean  $rebase= 'false'

--rebase key to git-pull

Default valuefalseDetails
Type
boolean
Propertyprivatestring  $refspec= ''

<refspec> argument to git-pull

Details
Type
string
Propertyprivatestring  $repository= ''
inherited

Current repository directory

Inherited from: \GitBaseTask::$$repository
Details
Type
string
Inherited_from
\GitBaseTask::$$repository  
Propertyprivatestring  $source= ''origin''

<repository> argument to git-pull

Default value'origin'Details
Type
string
Propertyprivatestring  $strategy= ''

Merge strategy. See -s <strategy> of git-pull

Details
Type
string
Propertyprivatestring  $strategyOption= ''

-X or --strategy-option of git-pull

Details
Type
string
Propertyprivateboolean  $tags= 'false'

Fetch all tags (even not reachable from branch heads) --tags key to git-pull

Default valuefalseDetails
Type
boolean
Propertyprivatearray  $validStrategies= 'array( 'octopus''

Valid merge strategies

Default valuearray( 'octopus'Details
Type
array

Methods

methodpublicgetAll( ) : void

methodpublicgetAppend( ) : void

methodpublicgetDescription( ) : void
methodpublicgetForce( ) : void

methodprotectedgetGitClient(  $reset = false,  $repository = null ) : void
inherited

Inherited from: \GitBaseTask::getGitClient()
Parameters
Name Type Description
$reset
$repository
methodpublicgetGitPath( ) : string
inherited

Get path to git executable

Inherited from: \GitBaseTask::getGitPath()
Returns
Type Description
string
methodpublicgetKeep( ) : void

methodpublicgetLocation( ) : void
methodpublicgetNoRebase( ) : void

methodpublicgetNoTags( ) : void

methodpublicgetOwningTarget( ) : void
methodpublicgetProject( ) : void
methodpublicgetQuiet( ) : void

methodpublicgetRebase( ) : void

methodpublicgetRefspec( ) : void

methodprotectedgetRegisterSlot( ) : void
methodpublicgetRepository( ) : string
inherited

Get repository directory

Inherited from: \GitBaseTask::getRepository()
Returns
Type Description
string
methodpublicgetRuntimeConfigurableWrapper( ) : void
methodpublicgetSource( ) : void

methodpublicgetStrategy( ) : void

methodpublicgetStrategyOption( ) : void

methodpublicgetTags( ) : void

methodpublicgetTaskName( ) : void
methodpublicgetTaskType( ) : void
methodpublicinit( ) : void
inherited

Initialize Task.

Inherited from: \GitBaseTask::init()

Check and include necessary libraries.

methodpublicisAllRemotes( ) : void

methodpublicisAppend( ) : void

methodpublicisForce( ) : void

methodpublicisKeepFiles( ) : void

methodpublicisNoRebase( ) : void

methodpublicisNoTags( ) : void

methodpublicisQuiet( ) : void

methodpublicisRebase( ) : void

methodpublicisTags( ) : void

methodpubliclog( ) : void
inherited

Inherited from: Task::log()\GitBaseTask::log()
methodpublicmain( ) : void

The main entry point for the task

methodpublicmaybeConfigure( ) : void
methodpublicperform( ) : void
inherited

Inherited from: Task::perform()\GitBaseTask::perform()
methodpublicsetAll(  $flag ) : void

Parameters
Name Type Description
$flag
methodpublicsetAppend(  $flag ) : void

Parameters
Name Type Description
$flag
methodpublicsetDescription( ) : void
methodpublicsetForce(  $flag ) : void

Parameters
Name Type Description
$flag
methodpublicsetGitPath( string $gitPath ) : \GitBaseTask
inherited

Set path to git executable

Inherited from: \GitBaseTask::setGitPath()
Parameters
Name Type Description
$gitPath string

New path to git repository

Returns
Type Description
\GitBaseTask
methodpublicsetKeep(  $flag ) : void

Parameters
Name Type Description
$flag
methodpublicsetLocation( ) : void
methodpublicsetNoRebase(  $flag ) : void

Parameters
Name Type Description
$flag
methodpublicsetNoTags(  $flag ) : void

Parameters
Name Type Description
$flag
methodpublicsetOwningTarget( ) : void
methodpublicsetProject( ) : void
methodpublicsetQuiet(  $flag ) : void

Parameters
Name Type Description
$flag
methodpublicsetRebase(  $flag ) : void

Parameters
Name Type Description
$flag
methodpublicsetRefspec(  $spec ) : void

Parameters
Name Type Description
$spec
methodpublicsetRepository( string $repository ) : \GitBaseTask
inherited

Set repository directory

Inherited from: \GitBaseTask::setRepository()
Parameters
Name Type Description
$repository string

Repo directory

Returns
Type Description
\GitBaseTask
methodpublicsetRuntimeConfigurableWrapper( ) : void
methodpublicsetSource(  $source ) : void

Parameters
Name Type Description
$source
methodpublicsetStrategy(  $strategy ) : void

Parameters
Name Type Description
$strategy
methodpublicsetStrategyOption(  $strategyOption ) : void

Parameters
Name Type Description
$strategyOption
methodpublicsetTags(  $flag ) : void

Parameters
Name Type Description
$flag
methodpublicsetTaskName( ) : void
methodpublicsetTaskType( ) : void
Documentation was generated by DocBlox 0.17.1.