- ignore tracking parameter
- equal to cHashExcludesParameters or more than those?
- non yet translated pages => canonical to L=0
- what should be done for plugins that render L=0 content (because l=1 not yet availble) on L=1 pages (canonical should theoretically point to L=0)
- API: Usecases:
- Plugins need to be able to define the canonical url of the current page, for e.g.
- search page 10 may be set to be canonical to page 1
- Plugins need to be able to define the canonical url of the current page, for e.g.
- detail view in context of some category may be canonical to detail view without category
During install:generatepackagestates
typo3_console calls cache:flush which loads configuration from ext_localconf.php
.
DCE tries to generate caches when ext_localconf.php is loaded. They'll initializend initializes
Output of composer install
$ php70 /usr/bin/composer install
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 20 installs, 0 updates, 0 removals
- Installing typo3/cms-composer-installers (1.4.2): Loading from cache
HEADS UP! It's important to add a trailing folder named "/repo". That folder is the deployment endpoint and is named "repo" by convention. The script will create folders /path/to/root/repo
and /path/to/root/releases
and a symlink /path/to/root/current
pointing to the current version in the releases folder.
That means when using a web-dir called "web" your webserver's document root needs to point to /path/to/root/current/web
.
composer config extra.remote.production ssh://user@host:22/absolute/path/to/root/repo
php init-remote.php production
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
list($childClass, $caller) = debug_backtrace(false, 2); | |
file_put_contents('./caller.log', $objectName . PHP_EOL . ' ' . $caller['class'] . '::' . $caller['function'] . PHP_EOL . ' ' . $childClass['file'] . ' (' . $childClass['line'] . ')' . PHP_EOL, FILE_APPEND); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
require 'vendor/autoload.php'; | |
use Bnf\Di\Container; | |
use Crell\Tukio\Dispatcher; | |
use Interop\Container\ServiceProviderInterface; | |
use Psr\Container\ContainerInterface; | |
use Psr\EventDispatcher\ListenerProviderInterface; | |
use Psr\EventDispatcher\EventDispatcherInterface; |
Demonstration that conflict
s don't make composer convenient.
First run:
$ composer install
Then
$ composer require typo3/cms-about
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.PHONY: assets css js install help watch build | |
HAS_DDEV_CONFIG=$(if $(wildcard ../.ddev/config.yaml),1) | |
IS_IN_DDEV_CONTAINER=${IS_DDEV_PROJECT} | |
# Generate "ddev exec" prefix if ddev is configured and not running inside the ddev container | |
COMMAND_PREFIX=$(if $(HAS_DDEV_CONFIG),$(if $(IS_IN_DDEV_CONTAINER),,(ddev exec -s web true >/dev/null || ddev start) && ddev exec -s web -d /var/www/html/Build)) | |
YARN=$(COMMAND_PREFIX) yarn | |
GRUNT=$(COMMAND_PREFIX) node_modules/.bin/grunt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
### | |
# TYPO3 Git Cherry-Picked Commit Splitter ("Cherry-Split") | |
# @author Oliver Hader <oliver@typo3.org> | |
# @license GPL v2 on any later version | |
# | |
# Usage | |
# - cherry-pick change to local Git working copy | |
# - execute this script `./cherry-split.sh` which processed the tip commit |
OlderNewer