From nobody Mon Apr 29 14:12:22 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1491378929060530.0830422357712; Wed, 5 Apr 2017 00:55:29 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 606B1804EF; Wed, 5 Apr 2017 07:55:27 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CDA35A2A64; Wed, 5 Apr 2017 07:55:26 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 7CEC118523C6; Wed, 5 Apr 2017 07:55:24 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id v357tNIo019263 for ; Wed, 5 Apr 2017 03:55:23 -0400 Received: by smtp.corp.redhat.com (Postfix) id 82799784C8; Wed, 5 Apr 2017 07:55:23 +0000 (UTC) Received: from angien.brq.redhat.com (dhcp129-47.brq.redhat.com [10.34.129.47]) by smtp.corp.redhat.com (Postfix) with ESMTP id 75591A2A64; Wed, 5 Apr 2017 07:55:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 606B1804EF Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=libvir-list-bounces@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 606B1804EF From: Peter Krempa To: libvir-list@redhat.com Date: Wed, 5 Apr 2017 09:56:13 +0200 Message-Id: <8e0139869a0e8775c8a099ff2c899ac90373261d.1491378897.git.pkrempa@redhat.com> In-Reply-To: <20170404172407.10529-1-berrange@redhat.com> References: <20170404172407.10529-1-berrange@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Cc: Peter Krempa Subject: [libvirt] [PATCH] docs: Move news.rng out of docs/schemas X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Wed, 05 Apr 2017 07:55:28 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" docs/schemas directory is meant for schemas which are installed on the system. The schema for the news file does not need to be installed. Store it along with the file it describes for simplicity. --- Patch for the alternative of moving news rng to docs/ along with the file it should describe. docs/{schemas =3D> }/news.rng | 0 docs/news.xml | 2 +- tests/virschematest.c | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename docs/{schemas =3D> }/news.rng (100%) diff --git a/docs/schemas/news.rng b/docs/news.rng similarity index 100% rename from docs/schemas/news.rng rename to docs/news.rng diff --git a/docs/news.xml b/docs/news.xml index 9c0dcfd23..2a15b1236 100644 --- a/docs/news.xml +++ b/docs/news.xml @@ -17,7 +17,7 @@ Lines should be kept under 80 columns, and should not exceed 100 colu= mns. - This file is validated against docs/schemas/news.rng schema. + This file is validated against docs/news.rng schema. Use the following template to add a new release section: diff --git a/tests/virschematest.c b/tests/virschematest.c index 1f990f7cd..119d4ba39 100644 --- a/tests/virschematest.c +++ b/tests/virschematest.c @@ -236,7 +236,7 @@ mymain(void) DO_TEST_DIR("storagevol.rng", "storagevolxml2xmlin", "storagevolxml2xm= lout", "storagevolschemadata"); - DO_TEST_FILE("news.rng", "../docs/news.xml"); + DO_TEST_FILE("../news.rng", "../docs/news.xml"); return ret =3D=3D 0 ? EXIT_SUCCESS : EXIT_FAILURE; } --=20 2.12.2 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list