From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Blake Subject: Re: [PATCH 1/1] Use a common xml type for ceph secret usage. Date: Fri, 28 Oct 2011 16:03:48 -0600 Message-ID: <4EAB26C4.9030103@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.redhat.com ([209.132.183.28]:15758 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753583Ab1J1WD4 (ORCPT ); Fri, 28 Oct 2011 18:03:56 -0400 In-Reply-To: Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Josh Durgin Cc: libvir-list@redhat.com, ceph-devel@vger.kernel.org On 10/28/2011 03:19 PM, Josh Durgin wrote: > The types used in domaincommon.rng and secret.rng should be the same. > > Signed-off-by: Josh Durgin > --- > docs/schemas/domaincommon.rng | 11 ++++++++--- > docs/schemas/secret.rng | 4 +++- > 2 files changed, 11 insertions(+), 4 deletions(-) > > diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng > index 3477351..d053489 100644 > --- a/docs/schemas/domaincommon.rng > +++ b/docs/schemas/domaincommon.rng > @@ -2558,13 +2558,13 @@ > > > > - > - > + > + genericName is probably fine instead of inventing usageName; but I'll graduate it out of domaincommon.rng into basictypes.rng. > > > > > - > + Spurious whitespace change. > +++ b/docs/schemas/secret.rng > @@ -4,6 +4,8 @@ > > > > + domaincommon.rng is rather heavyweight; basictypes.rng is better. > + > > > > @@ -60,7 +62,7 @@ > ceph > > > - > + > > At any rate, once we include common types, we can stop repeating the UUID definition too. Not quite like your original patch, but I'll go ahead and squash this in, then push in your name since it matches up with your intent. diff --git i/docs/schemas/basictypes.rng w/docs/schemas/basictypes.rng index b3267f5..3b4b952 100644 --- i/docs/schemas/basictypes.rng +++ w/docs/schemas/basictypes.rng @@ -97,6 +97,12 @@ + + + [a-zA-Z0-9_\+\-]+ + + + [a-zA-Z0-9\.\-]+ diff --git i/docs/schemas/domaincommon.rng w/docs/schemas/domaincommon.rng index d053489..b6f858e 100644 --- i/docs/schemas/domaincommon.rng +++ w/docs/schemas/domaincommon.rng @@ -2559,12 +2559,12 @@ - + - + - + @@ -62,25 +63,8 @@ ceph - + - - - - [a-fA-F0-9]{32} - - - [a-fA-F0-9]{8}\-([a-fA-F0-9]{4}\-){3}[a-fA-F0-9]{12} - - - - - - - /[a-zA-Z0-9_\.\+\-&/%]+ - - - -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org