From: Ian Campbell <ian.campbell@citrix.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: xen-devel@lists.xenproject.org
Subject: Re: [OSSTEST PATCH 5/8] Schema: Support database schema updates
Date: Fri, 11 Dec 2015 15:18:25 +0000 [thread overview]
Message-ID: <1449847105.30975.48.camel@citrix.com> (raw)
In-Reply-To: <22122.59532.710311.955926@mariner.uk.xensource.com>
On Fri, 2015-12-11 at 15:15 +0000, Ian Jackson wrote:
> Ian Campbell writes ("Re: [OSSTEST PATCH 5/8] Schema: Support database
> schema updates"):
> > On Thu, 2015-12-10 at 18:27 +0000, Ian Jackson wrote:
> > > See schema/README.schema, introduced in this patch, for the design.
> >
> > The README looks good now, thanks.
>
> Thanks.
>
> > Code comments....
>
> > > diff --git a/mg-schema-create b/mg-schema-create
> ...
> > > +export OSSTEST_DB_USEREAL_IGNORETEST='.*'
> >
> > Why remove the safety catch in this context?
>
> The safety catch breaks when run on an empty schema, because there is
> no `tasks' table. Setting this pattern to `.*' triggers a special
> case which avoids even trying to see what test DBs exist.
>
> And furthermore the safety catch is not needed because if we are
> mistakenly operating on an existing database (test or real) we bomb
> out as previously discussed.
Thanks for the explanation.
> I can put this in a comment if you like.
I suppose a comment next to any such override is a pretty good policy to
have.
With that: Acked-by: Ian Campbell <ian.campbell@citrix.com>
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2015-12-11 15:19 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-10 17:12 [OSSTEST PATCH v2 0/8] Support database schema updates Ian Jackson
2015-12-10 17:12 ` [OSSTEST PATCH 1/8] mg-schema-test-database: Fix argument parsing for _SUFFIX Ian Jackson
2015-12-10 17:12 ` [OSSTEST PATCH 2/8] Schema: Rename schema file Ian Jackson
2015-12-10 17:12 ` [OSSTEST PATCH 3/8] Schema: Remove SET OWNER and GRANT/REVOKE from schema/initial.sql Ian Jackson
2015-12-10 17:12 ` [OSSTEST PATCH 4/8] Schema: Introduce mg-schema-create Ian Jackson
2015-12-10 17:17 ` Ian Campbell
2015-12-10 17:26 ` Ian Jackson
2015-12-10 17:12 ` [OSSTEST PATCH 5/8] Schema: Support database schema updates Ian Jackson
2015-12-10 17:48 ` Ian Campbell
2015-12-10 18:00 ` Ian Jackson
2015-12-10 18:27 ` Ian Jackson
2015-12-11 13:31 ` Ian Campbell
2015-12-11 15:15 ` Ian Jackson
2015-12-11 15:18 ` Ian Campbell [this message]
2015-12-11 15:34 ` Ian Jackson
2015-12-11 15:54 ` Ian Campbell
2015-12-11 11:58 ` Ian Campbell
2015-12-11 15:08 ` Ian Jackson
2015-12-10 17:12 ` [OSSTEST PATCH 6/8] Schema: Check that schema creation and update runs as the right user Ian Jackson
2015-12-10 17:12 ` [OSSTEST PATCH 7/8] Schema: drop old resource_log table Ian Jackson
2015-12-10 17:12 ` [OSSTEST PATCH 8/8] Schema: When creating, check that no updates are applied Ian Jackson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1449847105.30975.48.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.