fucodo/lastchanges

Installs: 26

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:neos-package

dev-main 2025-09-15 06:40 UTC

This package is auto-updated.

Last update: 2025-09-15 06:40:39 UTC


README

fucodo.lastchanges is a PHP Package for kaystrobach.backend, which can display the last changes from a Changelog.md file.

Installation

Use composer to install the package

composer install fucodo/lastchanges

Usage with typo3/surf

create a task

    $workflow->defineTask(
        'SaveGitHistory',
        'TYPO3\\Surf\\Task\\LocalShellTask',
        array(
            'command' => 'cd {workspacePath}; git log --pretty=format:"* %as - %s" --since="7 days ago" > Changelog.md',
            'logOutput' => TRUE
        )
    );

run it after git checkout and updates

    // ...
    $deployment->onInitialize(function() use ($workflow, $application) {
        // ...
        $workflow->beforeTask(
            'TYPO3\Surf\DefinedTask\Composer\LocalInstallTask',
            array(
                'SaveGitHistory'
            )
        );
        // ...
    }
    // ...

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT