[Engine-devel] Please run the upgrade script
Maor
mlipchuk at redhat.com
Sun Nov 20 12:46:48 UTC 2011
On 11/20/2011 01:35 PM, Eli Mesika wrote:
>
>
> ----- Original Message -----
>> From: "Livnat Peer" <lpeer at redhat.com>
>> To: "Yair Zaslavsky" <yzaslavs at redhat.com>
>> Cc: engine-devel at ovirt.org
>> Sent: Sunday, November 20, 2011 11:29:34 AM
>> Subject: Re: [Engine-devel] Please run the upgrade script
>>
>> On 11/20/2011 10:45 AM, Yair Zaslavsky wrote:
>>> Hi all,
>>> After you fetch and rebase, please run the db upgrade script
>>> located at
>>>
>>> ovrit_engine/backend/manager/dbscripts
>>>
>>> Kind regards,
>>>
>>> Yair
>>
>> Hi Yair,
>>
>> I think that running db upgrade script should be part of the routine
>> procedure of getting the latest code.
>> The upgrading script is re-entrant and should not cause issues if
>> using
>> it on any fetch.
>
> right, actually even right now we can automate it from maven using the Maven EXEC plugin
> http://mojo.codehaus.org/exec-maven-plugin/
>
> I have thought about it as a part of Flyway integration.
>
>
+1 For upgrading DB automatically.
I think, that if we plan to update the DB from the maven build command,
we should also take in consider adding a parameter indicating when we
prefer not to run the upgrade script at each build (same as skipTests).
Since after first git fetch, DB should not be changed.
>>
>> I added "getting latest" section in the wiki -
>> http://www.ovirt.org/wiki/Building_oVirt_engine#Getting_Latest
>>
>>
>> Thanks, Livnat
>>
>> _______________________________________________
>> Engine-devel mailing list
>> Engine-devel at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/engine-devel
>>
> _______________________________________________
> Engine-devel mailing list
> Engine-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
More information about the Engine-devel
mailing list