From: Ian Campbell <ian.campbell@citrix.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>, xen-devel@lists.xenproject.org
Subject: Re: [OSSTEST PATCH 5/8] Schema: Support database schema updates
Date: Fri, 11 Dec 2015 13:31:56 +0000 [thread overview]
Message-ID: <1449840716.30975.8.camel@citrix.com> (raw)
In-Reply-To: <22121.50201.384653.237194@mariner.uk.xensource.com>
On Thu, 2015-12-10 at 18:27 +0000, Ian Jackson wrote:
> Ian Jackson writes ("Re: [OSSTEST PATCH 5/8] Schema: Support database
> schema updates"):
> > It does say that updates are applied in order. I will add `and
> > monotonically increasing' after `unique'. [etc etc]
>
> Here is v3 of this patch. I'll refrain from reposting the whole
> series.
>
> Ian.
>
> From a7fe7187f6237043f8d6aedeb714409b606af8e0 Mon Sep 17 00:00:00 2001
> From: Ian Jackson <ian.jackson@eu.citrix.com>
> Date: Thu, 10 Dec 2015 13:26:00 +0000
> Subject: [OSSTEST PATCH 5/8] Schema: Support database schema updates
>
> See schema/README.schema, introduced in this patch, for the design.
The README looks good now, thanks.
Code comments....
[...]
> diff --git a/mg-schema-create b/mg-schema-create
> index 54f1c76..1ee007b 100755
> --- a/mg-schema-create
> +++ b/mg-schema-create
> [...]
> @@ -46,16 +51,31 @@ while [ $# != 0 ]; do
> progress=:
> quietopt=-q
> ;;
> + --stop-before|--stop-after)
> + updates+=("$arg" "$1"); shift
> + ;;
> + --stop-before=*|--stop-after=*)
> + updates+=("$arg"); shift
> + ;;
> + --no-updates)
> + do_updates=false
> + ;;
> *)
> echo >&2 "bad usage ($arg)"; exit 127
> ;;
> esac
> done
>
> +export OSSTEST_DB_USEREAL_IGNORETEST='.*'
Why remove the safety catch in this context?
... and that seems to be my only comment.
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 13:33 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 [this message]
2015-12-11 15:15 ` Ian Jackson
2015-12-11 15:18 ` Ian Campbell
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=1449840716.30975.8.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.