Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AB33210D24 for ; Wed, 19 Mar 2014 11:26:03 +0000 (UTC) Received: (qmail 7146 invoked by uid 500); 19 Mar 2014 11:26:01 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 7100 invoked by uid 500); 19 Mar 2014 11:26:00 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 6988 invoked by uid 99); 19 Mar 2014 11:25:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Mar 2014 11:25:59 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of antonio.fornie@gmail.com designates 209.85.220.52 as permitted sender) Received: from [209.85.220.52] (HELO mail-pa0-f52.google.com) (209.85.220.52) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Mar 2014 11:25:54 +0000 Received: by mail-pa0-f52.google.com with SMTP id rd3so8845172pab.11 for ; Wed, 19 Mar 2014 04:25:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=MCrx+nzGWyHgGYL98XPypWukOb7TpAEp8hV4VN+CYZg=; b=UYBjB+fXIpaYrcV86fdECCmKUDmXUQbjIfaT33fACELsvFEFpOAAp59QWv9WbqUZek ztZxwIvgiy2balr4l7ZWo5tQaGY/nCv7I6BXfNieemofFgi0e1uOJudsifZ0YxXau4nu 444DRYxS7bBak46Mp9TTBTibW2gr1ZyO5+WvTw/JatZqNpv0k5fwmGb1j4/u8/3p7KsD IieUtfhPT6NpgAmMCH4KXos5Qku9KKVRRncCCnnqMWyZtYVYsjvmkHW81vIKb6GFMsz2 DSr7sy/BhAV/E+b+jslU6FwY5q51KcERPTW8SlUa8OpbkEcLXJvNmM2jkK+un7kBZ55B diqA== MIME-Version: 1.0 X-Received: by 10.68.191.200 with SMTP id ha8mr38734785pbc.66.1395228332418; Wed, 19 Mar 2014 04:25:32 -0700 (PDT) Received: by 10.66.182.195 with HTTP; Wed, 19 Mar 2014 04:25:32 -0700 (PDT) In-Reply-To: <02E3616756CDC04687D08374DA63D32C4D4FDE@SBPOMB101.sbp.lan> References: <02E3616756CDC04687D08374DA63D32C4D4FDE@SBPOMB101.sbp.lan> Date: Wed, 19 Mar 2014 12:25:32 +0100 Message-ID: Subject: Re: [PROPOSAL] Use Liquibase to manage DB changes From: =?ISO-8859-1?Q?Antonio_Forni=E9_Casarrubios?= To: cloudstack Cc: Rajani Karuturi Content-Type: multipart/alternative; boundary=e89a8ff1c08c226d0704f4f3e9ea X-Virus-Checked: Checked by ClamAV on apache.org --e89a8ff1c08c226d0704f4f3e9ea Content-Type: text/plain; charset=ISO-8859-1 Thanks Miguel. I think this is a very useful addition that should have been added already Antonio 2014-03-18 11:06 GMT+01:00 Miguel Ferreira : > All, > > Following from the discussion of [1], I have written a small tool [2] to > detect potential conflicts related to ACS DB changes. > With the input supplied by that tool, I will proceed to check every commit > since tag 4.2 up to the head of master. > For every commit that introduces relevant changes to the DB I will create > a Liquibase [3] change set, apply it to a running ACS DB, run automated > system tests and possibly refine the change set until the DB is left in a > consistent state. > (Liquibase is one of the tools proposed in [1] by Rajani to help managing > the changes to the DB. See [1] for more details on that.) > > My goal is twofold: (1) assess how suitable Liquibase is for managing > changes to ACS DB; and (2) how frequent are "breaking" changes to the DB > made. > By "breaking" changes I mean changes that otherwise would require a fresh > DB to start with. > With the data I will collect I expect to be able to say something about > how feasible it is to use Liquibase, and how involved would it be to ask > every developer to make independent and incremental changes to the DB > related code. > > I will report back on my findings, but feel free to jump in and help out > anyway you see possible. > > Cheers, > Miguel > > > [1] http://markmail.org/message/7qohq2sbumthjhw6 > [2] https://github.com/schubergphilis/cloudstack-db-updater > [3] http://www.liquibase.org/ > --e89a8ff1c08c226d0704f4f3e9ea--