TYPO3-Documentation / TYPO3CMS-Reference-TCA

Complete reference to the Table Configuration Array ($GLOBALS['TCA']).
https://docs.typo3.org/m/typo3/reference-tca/master/en-us/
14 stars 137 forks source link

[TASK] Use --minimal-test CLI option for documentation tests #1179

Closed linawolf closed 1 month ago

linawolf commented 1 month ago

This allows us to control specific settings needed for mininmal tests (like setting only a single output format) or more for the future.

See also: https://github.com/TYPO3-Documentation/render-guides/pull/765

Releases: main, 12.4, 11.5

github-actions[bot] commented 1 month ago

The backport to 11.5 failed:

The process '/usr/bin/git' failed with exit code 1
stderr ``` error: could not apply 0d29e8b8... [TASK] Use --minimal-test CLI option for documentation tests hint: After resolving the conflicts, mark them with hint: "git add/rm ", then run hint: "git cherry-pick --continue". hint: You can instead skip this commit with "git cherry-pick --skip". hint: To abort and get back to the state before "git cherry-pick", hint: run "git cherry-pick --abort". hint: Disable this message with "git config advice.mergeConflict false" ```
stdout ``` Auto-merging Makefile CONFLICT (content): Merge conflict in Makefile ```

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-11.5 11.5
# Navigate to the new working tree
cd .worktrees/backport-11.5
# Create a new branch
git switch --create backport-1179-to-11.5
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick 0d29e8b8576961b868da3786edb562d3bdbc65f6
# Push it to GitHub
git push --set-upstream origin backport-1179-to-11.5
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-11.5

Then, create a pull request where the base branch is 11.5 and the compare/head branch is backport-1179-to-11.5.