Quick Start: Reviewing and contributing more

Now that you followed this guide, you have a setup to continuously work with. It has hopefully not taken up much of your time.

With your environment, you can:

  1. Keep up to date with development

    By executing this in your working environment, you can always catch up to the latest main TYPO3 version:

    Stash away things you may be working on
    git stash
    Copied!
    Reset to current upstream state
    Build/Scripts/runTests.sh -s clean && \
        git fetch --all && \
        git reset --hard origin/main && \
        git pull --rebase && \
        ./Build/Scripts/runTests.sh -u && \
        ./Build/Scripts/runTests.sh -s composerInstall && \
        ddev typo3 cache:flush && \
        ddev typo3 cache:warmup && \
        ddev typo3 extension:setup
    Copied!

    This resets your local state to the the current upstream state, including recently merged changes. This may involve changes in Composer dependencies, database changes or changes in the Dependency Injection container configuration. The steps above are a fail-safe way to ensure a working environment:

    Check status of the repository
    git status
    Copied!
    ... which should output something similar to following:
    On branch main
    Your branch is up-to-date with 'origin/main'.
    
    nothing to commit, working tree clean
    Copied!

    After that, you should also log into the TYPO3 backend and ensure via the Database Analyzer that your database is up to date.

  2. Coordinate with the team

    You can review and vote on other people's patches, gather knowledge and enjoy improving TYPO3 as a whole.

    You can check out any Patch on gerrit on your updated instance:

    Check out the patch and changeset by using the corresponding download link in Gerrit
    git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/25/85025/1 \
        && git cherry-pick FETCH_HEAD
    Copied!
    Ensure working state for checkout change
    ./Build/Scripts/runTests.sh -s composerInstall && \
        ddev typo3 cache:flush && \
        ddev typo3 cache:warmup && \
        ddev typo3 extension:setup
    Copied!

    Also maybe execute 'Database Analyzer' and clear browser cache

    After that you can git commit --amend && git push and publish new patch sets.

    You can even commit and contribute on other people's patches - always make sure to ask first, before you do that.

  3. Read on

    Further information on reviewing and contributing: