Bug 691262

Summary: As a server admin, I want a Liquibase shell script so that I can manage database upgrades
Product: [Retired] Zanata Reporter: Sean Flanigan <sflaniga>
Component: Component-ScriptsAssignee: zanata-dev-internal <zanata-dev-internal>
Status: CLOSED CURRENTRELEASE QA Contact: Ding-Yi Chen <dchen>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: zanata-bugs
Target Milestone: ---Keywords: Improvement, UserStory
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 54fdde46bf3da69987c65c5d30f3d8c2a558a5e4 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-28 07:25:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Sean Flanigan 2011-03-28 00:44:39 UTC
This script should run Liquibase with the mysql driver, and the appropriate classpath (changelog files, custom changeset classes, dependencies), pass through any options or arguments (eg "update"), and prompt the admin for database username/password.

Comment 1 Sean Flanigan 2011-05-11 06:38:31 UTC
Implemented in https://github.com/zanata/zanata/commit/54fdde46bf3da69987c65c5d30f3d8c2a558a5e4.

Note that the script doesn't prompt for username password, but it can read them from liquibase.properties in (a) current directory or (b) $HOME/.config.

Comment 2 Ding-Yi Chen 2011-07-26 01:05:24 UTC
VERIFIED with commit 54fdde46bf3da69987c6