
Yair Zaslavsky has submitted this change and it was merged. Change subject: engine: upgrade.sh for upgrading multiple DBs ...................................................................... engine: upgrade.sh for upgrading multiple DBs Currently, the upgrade.sh script creates a md5sum file, which is used for comparing with md5sum of latest files to identify whether an upgrade is required. However this file name is not db-specific, and hence upgrading one DB makes it think that all other DBs are also upgraded. Modified the script to create the md5sum file with a DB-specific name so that all DBs can be upgraded by passing the -d option to the script. Since the name of the md5sum file is changed now, and it can be different for different databases, updated the .gitignore file to ignore all such files. Change-Id: I63f3c34a822508d266a4b3e1582d7e9539d08c39 Signed-off-by: Shireesh Anjal <sanjal@redhat.com> --- M backend/manager/dbscripts/.gitignore M backend/manager/dbscripts/create_db.sh M backend/manager/dbscripts/dbfunctions.sh 3 files changed, 8 insertions(+), 6 deletions(-) Approvals: Yair Zaslavsky: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/8146 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I63f3c34a822508d266a4b3e1582d7e9539d08c39 Gerrit-PatchSet: 5 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Shireesh Anjal <sanjal@redhat.com> Gerrit-Reviewer: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Eli Mesika <emesika@redhat.com> Gerrit-Reviewer: Shireesh Anjal <sanjal@redhat.com> Gerrit-Reviewer: Yair Zaslavsky <yzaslavs@redhat.com>