aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Fandrich <danf@mageia.org>2024-02-14 09:44:00 -0800
committerDan Fandrich <danf@mageia.org>2024-02-14 09:44:00 -0800
commit3b4f039b1fc76a1f7cd87b55f74d76da1e9e8e09 (patch)
tree3c968423c4878e1999a25d725a85af149941ea83
parent6e05f5af3b911bd7e4632f05fbcddec38bfe0782 (diff)
downloadmgaadvisories-3b4f039b1fc76a1f7cd87b55f74d76da1e9e8e09.tar
mgaadvisories-3b4f039b1fc76a1f7cd87b55f74d76da1e9e8e09.tar.gz
mgaadvisories-3b4f039b1fc76a1f7cd87b55f74d76da1e9e8e09.tar.bz2
mgaadvisories-3b4f039b1fc76a1f7cd87b55f74d76da1e9e8e09.tar.xz
mgaadvisories-3b4f039b1fc76a1f7cd87b55f74d76da1e9e8e09.zip
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.
-rw-r--r--tmpl/newadvisory.adv8
1 files 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 %]