rah/rah_updater

Patch update handler for Textpattern CMS

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 1

Open Issues: 0

Type:textpattern-plugin

dev-master 2013-05-08 12:44 UTC

This package is auto-updated.

Last update: 2024-12-15 12:59:58 UTC


README

Packagist | GitHub | Twitter | Donate

Rah_updater is a plugin for Textpattern CMS. It providers a database path updating interface. It can be used to in deployment process to execute database structure updates, and handle your internal application changes.

The plugin can run a update files from a specified directory and additionally offers an API for executing custom set of callbacks. The update files itself are individual PHP files. The files names are expected to represent valid version numbers, and are executed in a natural order. Each update file and callback is expected to return a boolean, representing whether the update was an success or not. If FALSE, the update process is terminated, and continued from the failed update when the updater is executed again. The update scripts and callbacks can contain any PHP code you desire.

This plugin offers a public callback URL hook that can be used to invoke the updater, and some options in the preferences panel for configuring it.

Installing

Using Composer:

$ composer.phar require rah/rah_updater

Toolshed notice

This is a toolshed project. Experimental and not part of the main supported product line of Rah. Not yet at least. Please use at your own risk.

Requirements

  • Textpattern 4.6-dev or newer.

Changelog

Version 0.1.0 – upcoming

  • Initial release.