From 25d8b26294aaaa1ae6a6a6039243bc60ac10f9ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sun, 30 Nov 2014 12:44:31 +0100 Subject: Add [name] argument to mgaadv to prefill the template --- tmpl/newadvisory.adv | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tmpl') diff --git a/tmpl/newadvisory.adv b/tmpl/newadvisory.adv index 4f30636..6efc125 100644 --- a/tmpl/newadvisory.adv +++ b/tmpl/newadvisory.adv @@ -1,15 +1,15 @@ type: [% type %] [% IF type == 'security' -%] -subject: Updated [package] package fixes security vulnerability +subject: Updated [% name %] package fixes security vulnerability CVE: - CVE-2014-XXXX [% ELSE -%] -subject: Updated [package] package fixes [something] +subject: Updated [% name %] package fixes [something] [% END -%] src: 4: core: - - something-1.0-1.mga4 + - [% name %]-1.0-1.mga4 description: | Advisory text to describe the update. Wrap lines at ~75 chars. -- cgit v1.2.1