From 3b4f039b1fc76a1f7cd87b55f74d76da1e9e8e09 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Wed, 14 Feb 2024 09:44:00 -0800 Subject: Fix indentation in the new advisory template While the old indentation works, the new one passes yamllint, making it easier to automatically check for problems. --- tmpl/newadvisory.adv | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tmpl/newadvisory.adv b/tmpl/newadvisory.adv index 2e3e6e6..8c481c3 100644 --- a/tmpl/newadvisory.adv +++ b/tmpl/newadvisory.adv @@ -2,16 +2,16 @@ type: [% type %] [% IF type == 'security' -%] subject: Updated [% name %] packages fix security vulnerability CVE: - - CVE-2024-XXXX + - CVE-2024-XXXX [% ELSE -%] subject: Updated [% name %] packages fix [something] [% END -%] src: 9: - core: - - [% name %]-1.0-1.mga9 + core: + - [% name %]-1.0-1.mga9 description: | Advisory text to describe the update. Wrap lines at ~75 chars. references: - - https://bugs.mageia.org/show_bug.cgi?id=[% bugnum %] + - https://bugs.mageia.org/show_bug.cgi?id=[% bugnum %] -- cgit v1.2.1