Skip to content

Integrate TDK (TYPO3 Development Kit) into contrib image#22

Open
dkd-dobberkau wants to merge 2 commits into
mainfrom
feature/tdk-integration
Open

Integrate TDK (TYPO3 Development Kit) into contrib image#22
dkd-dobberkau wants to merge 2 commits into
mainfrom
feature/tdk-integration

Conversation

@dkd-dobberkau

Copy link
Copy Markdown
Collaborator

Summary

  • Add ochorocho/tdk as require-dev dependency with all TDK composer scripts (tdk:doctor, tdk:apply-patch, tdk:checkout, etc.)
  • Add GERRIT_USERNAME env var for automatic Gerrit push URL and Git user configuration
  • Auto-install commit-msg and pre-commit hooks from TYPO3 Core
  • Add .gitmessage.txt commit template for TYPO3 contributions
  • Auto-run TYPO3 setup on first start with default credentials (contrib / Th4nx4H3lp1ng)
  • Run cache:flush, extension:setup, cache:warmup on every container start
  • Fix TYPO3_CONTEXT from Production to Development
  • Accept both Gerrit and GitHub clone URLs in validation

Closes #21

Test plan

  • Clone TYPO3 Core repo and start contrib environment with GERRIT_USERNAME set
  • Verify Gerrit push URL is configured correctly in typo3core/.git/config
  • Verify Git hooks are installed in typo3core/.git/hooks/
  • Verify commit template is set via git config commit.template
  • Verify TYPO3 setup runs automatically on first start
  • Verify TDK commands work: composer tdk:doctor, composer tdk:help
  • Start without GERRIT_USERNAME and verify graceful skip message
  • Verify second container start skips setup but runs maintenance

🤖 Generated with Claude Code

dkd-dobberkau and others added 2 commits February 14, 2026 10:01
- Add ochorocho/tdk as require-dev dependency with all TDK composer
  scripts (tdk:doctor, tdk:apply-patch, tdk:checkout, etc.)
- Add GERRIT_USERNAME env var for automatic Gerrit push URL and
  Git user configuration
- Auto-install commit-msg and pre-commit hooks from TYPO3 Core
- Add .gitmessage.txt commit template for TYPO3 contributions
- Auto-run TYPO3 setup on first start with default credentials
- Run cache:flush, extension:setup, cache:warmup on every start
- Fix TYPO3_CONTEXT from Production to Development
- Accept both Gerrit and GitHub clone URLs in validation

Closes #21

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The buildx docker-container driver needs GHCR credentials to pull
the private base images during demo/contrib builds. Remove the
pull_request condition from all login steps — push is already
gated separately via the push parameter.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ochorocho

Copy link
Copy Markdown
Collaborator

I'd prefer not to merge/proceed with this feature for now. I like the idea to have a container that can be used for
devcontainer/codespaces but first we have to have a solid base image.

We can't do everything all at once.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Integrate TDK (TYPO3 Development Kit) into contrib image

2 participants