Feature #65

Run Zula via CLI, with upgrade ability

Added by Alex Cartwright over 1 year ago. Updated 2 months ago.

Status:Implemented Start:2008-12-14
Priority:Critical Due date:
Assigned to:Alex Cartwright % Done:

100%

Category:All/General
Target version:TangoCMS Project - 2.6.0

Description

Provide a CLI way to upgrade a TangoCMS powered site. Currently it is quite destructive for those viewing a website about to be upgraded, since the huge 'Install directory is still present' message, and it takes the site offline.

A simple CLI tool that does all needed upgrades (will be a minimal version of Zula I guess, just enough to run needed upgrades) would be great.


Related issues

duplicated by TangoCMS - Feature #20: Mass Site Upgrade Obsolete 2008-10-22

Associated revisions

Revision 8a9e236dee642c677546721962d992c50aa5ffcb
Added by Alex Cartwright 2 months ago

Feature #65; zula can now make stateless requests via CLI

- Added new 'zula.sh' utility, makes CLI usage far easier
- Removed input/allow_post, input/allow_get and input/allow_cookies
config.ini.php values
- Added Input::cli() to get arguments from the command line
- Added Input_Exception
- Input_KeyNoExist now extends Input_Exception
- Router_Url::__construct() checks if SERVER_NAME exists before using
- Router_Url::makeFullUrl() returns Router_Url::make() if HTTP_HOST does not
exist
- When running via CLI, Zula doesn't care if the 'install' directory is readable

Revision 3ac0e72511f615207d2d20c3a22ac21a7e1fc05d
Added by Alex Cartwright 2 months ago

Implemented Feature #65 "Run Zula via CLI, with upgrade ability"

History

Updated by Robert Clipsham over 1 year ago

  • Assigned to changed from Alex Cartwright to Robert Clipsham
  • % Done changed from 0 to 40

Committed first part of the script in r2047

Updated by Robert Clipsham over 1 year ago

  • Assigned to changed from Robert Clipsham to Alex Cartwright
  • Target version changed from 12 to 13
  • % Done changed from 40 to 10

Postponed to become part of an uber command line script that installs modules and themes, upgrades TangoCMS, makes you coffee in the morning etc...

Updated by Alex Cartwright about 1 year ago

  • Target version deleted (13)

Updated by Alex Cartwright 9 months ago

  • Status changed from Approved to Drafting
  • Target version set to 16
  • % Done changed from 10 to 0

Updated by Alex Cartwright 8 months ago

  • Target version changed from 16 to 20

Updated by Alex Cartwright 8 months ago

  • Target version changed from 20 to 2.6.0

Updated by Alex Cartwright 5 months ago

  • Priority changed from Medium to Critical
  • Target version changed from 2.6.0 to 2.7.0

Updated by Alex Cartwright 5 months ago

  • Subject changed from CLI Upgrader to Run Zula via CLI, with upgrade ability
  • Status changed from Drafting to In Progress
  • Target version changed from 2.7.0 to 2.6.0

Actually, should be able to do this quite easily

Updated by Alex Cartwright 2 months ago

  • Status changed from In Progress to Implemented
  • % Done changed from 0 to 100

Also available in: Atom PDF