Actions

Cloning the TYPO3 Phoenix Base Distribution

This assumes you have set up ssh (username and port) and git (username and email) already. You can copy and paste the following commands directly.

git clone --recursive git://git.typo3.org/TYPO3v5/Distributions/Base.git TYPO3v5
cd TYPO3v5
scp -p -P 29418 USERNAME@review.typo3.org:hooks/commit-msg .git/hooks/
git config remote.origin.push HEAD:refs/for/master
git submodule foreach 'scp -p -P 29418 USERNAME@review.typo3.org:hooks/commit-msg .git/hooks/'
git submodule foreach 'git config remote.origin.push HEAD:refs/for/master'
git submodule foreach 'git checkout master; git pull'

You will also have to configure your pushurl, see http://wiki.typo3.org/Push_(Git)

(Lots of output omitted)

You now have a clone of the TYPO3 Phoenix Base Distribution.

What happens is the following:
  • Clone the TYPO3 Phoenix distribution into the folder TYPO3v5. Do this recursively, i.e. set up submodules right away.
  • Change into the new directory
  • Install the gerrit commit-msg hook for the distribution clone
  • Configure review.typo3.org as default push target for submitting code for review (two lines)
  • Install the gerrit commit-msg hook for all submodule clones
  • Configure default push target for all submodule clones (two lines)
  • Switch all submodules to the master branch

Updated by Robert Lemke over 9 years ago ยท 8 revisions