Ease the TYPO3 Composer based Contribution Setup.
Run composer create-project ochorocho/tdk <target-folder-name> and answer
the command prompts as needed. If you want the current dev version add --stability=dev
to the command.
This command guides you through the process of setting up a composer based TYPO3 CoreDev environment.
- What is your TYPO3/Gerrit Account Username? : Username used on https://review.typo3.org/ which in most cases is your http://my.typo3.org login
- Setup Commit Message Hook? [y/n] : default=y
- Setup Pre Commit Hook? [y/n] : default=y
- Create a basic ddev config? [y/n] : default=y
├── composer.json # Ordinary composer.json with some handy scripts
├── .gitmessage.txt # Commit message template
├── packages # Additional local packages/extensions
└── typo3-core # TYPO3 repository (master branch) [email protected]:TYPO3/typo3.git
Warning
Watch out! The following commands are highly experimental!
composer <command>
tdk:setup: Set everything up to run a Composer-based CoreDev Setuptdk:clear: Delete all files and foldertdk:remove-hooks: Delete created hooks in.git/hookstdk:enable-hooks: Create hooks copied from the TYPO3 repositorytdk:set-commit-template: Configure TYPO3 repository to use.gitmessage.txtas commit message templatetdk:set-push-url: Set Gerrit as remote to push patches totdk:ddev-config: Create a basic ddev configurationtdk:help: Show summary with links to the TYPO3 Contribution Guidetdk:doctor: Show potential issuestypo3: Shortcut to run TYPO3 Commandstdk:apply-patch: Apply Gerrit patch e.g.composer tdk:apply-patch -- --ref=refs/changes/75/72275/17