From nobody Mon Feb 9 14:34:01 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1591109878; cv=none; d=zohomail.com; s=zohoarc; b=CPYo9EivuNCYLy+BhG/wRC4r+kosZhgBhe5Hu74jLuNDNLL9cIyxJS74ITYAy8gYG/UAZJDAWFHF9AxrnQwVNttYt8ziKPqIrhb9qwdGI/tchG26P82kOGsMEfcN4biYhNvmlKkAfuwAHAX+JmFPtVBo6H3AZhMccO0yK7+Xpns= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1591109878; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=l0vqqKV61FRJLOXjrOuHZ/3QF/2W0hv+n3Kg58e8nj4=; b=WZ2rtx42iqFSNssDacO8lFqXwxcLaGCku9PRpOyOeuJ0cKrxdE2Z0TaE367eMf8WzifhHzpC5fphinMl/g3Q1wkXxQhIzvWRqyK1IAt7eJAwgd41HJKdLFUsV7IU87l0IL7T9apAveSMI6H6EA7JsKi1afslpCxC761ChtNQmtU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by mx.zohomail.com with SMTPS id 15911098782331.9344719300983115; Tue, 2 Jun 2020 07:57:58 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-489-SVDfX75_MMOk9_kyDpUZQA-1; Tue, 02 Jun 2020 10:57:54 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 61A35108BD12; Tue, 2 Jun 2020 14:57:47 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 401DF2C24F; Tue, 2 Jun 2020 14:57:47 +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 1363097015; Tue, 2 Jun 2020 14:57:47 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 052EvTec016007 for ; Tue, 2 Jun 2020 10:57:29 -0400 Received: by smtp.corp.redhat.com (Postfix) id 2F3EB19D71; Tue, 2 Jun 2020 14:57:29 +0000 (UTC) Received: from kinshicho.usersys.redhat.com (unknown [10.40.194.157]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5AE4249F6 for ; Tue, 2 Jun 2020 14:57:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591109877; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=l0vqqKV61FRJLOXjrOuHZ/3QF/2W0hv+n3Kg58e8nj4=; b=hzfNuUydZxN3V5Yu0BV5sBP7v2kVMv7SYoFIXHoO8eUnogybZRIALqYii9lqIr1Qwbp5xI YJpSGQwa9rOR7dfugLxraqKXbECK6t3byBbzc8wv8hd1iL42Ct2wh4BHwkZHtgNsFWSlpV mYV2WbsepayNnNxNwybZp1imOFdG/As= X-MC-Unique: SVDfX75_MMOk9_kyDpUZQA-1 From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH 3/5] news: Output reStructuredText for the ASCII version Date: Tue, 2 Jun 2020 16:57:17 +0200 Message-Id: <20200602145719.1670465-4-abologna@redhat.com> In-Reply-To: <20200602145719.1670465-1-abologna@redhat.com> References: <20200602145719.1670465-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-loop: libvir-list@redhat.com 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: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" The ASCII output our scripts produce is already very close to reStructuredText, and with just a few extra tweaks we can get almost all of the way there. Signed-off-by: Andrea Bolognani --- docs/news-ascii.xsl | 40 +++++++++++++++++++++++++++++++++------- scripts/reformat-news.py | 12 ++++++------ 2 files changed, 39 insertions(+), 13 deletions(-) diff --git a/docs/news-ascii.xsl b/docs/news-ascii.xsl index 8dacae934c..9f6c61a3c6 100644 --- a/docs/news-ascii.xsl +++ b/docs/news-ascii.xsl @@ -8,36 +8,48 @@ =20 - libvirt releases + =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +libvirt releases =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +This is the list of official releases for libvirt, along with an overview = of +the changes introduced by each of them. + +For a more fine-grained view, use the `git log`_. -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D + Older libvirt releases didn't have proper release notes: if you are intere= sted -in changes between them, you should check out docs/news-*.html or the full= git +in changes between them, you should check out docs/news-\*.html or the ful= l git log (see instructions in ChangeLog). + + +.. _git log: https://gitlab.com/libvirt/libvirt/-/commits/master =20 -# + + ( ) +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + =20 -* +* ** - + ** @@ -60,10 +72,24 @@ log (see instructions in ChangeLog). =20 + + | - + =20 + + + + + + + + `` + + `` + + diff --git a/scripts/reformat-news.py b/scripts/reformat-news.py index 7bc752d821..532a83803d 100755 --- a/scripts/reformat-news.py +++ b/scripts/reformat-news.py @@ -67,16 +67,16 @@ def reformat(line): indent =3D 2 # Section elif marker =3D=3D '*': - initial_indent =3D 2 - indent =3D 4 + initial_indent =3D 0 + indent =3D 2 # Change summary elif marker =3D=3D '-': - initial_indent =3D 4 - indent =3D 6 + initial_indent =3D 2 + indent =3D 4 # Change description elif marker =3D=3D '|': - initial_indent =3D 8 - indent =3D 8 + initial_indent =3D 4 + indent =3D 4 # In this one case, the marker should not ultimately show # up in the output file, so we strip it before moving on line =3D line[1:] --=20 2.25.4