aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2014-11-30 12:44:31 +0100
committerRémi Verschelde <remi@verschelde.fr>2014-11-30 12:44:31 +0100
commit25d8b26294aaaa1ae6a6a6039243bc60ac10f9ee (patch)
treec76bee21a1ad937e5a0b0dac6151925e31705b94 /tmpl
parent66cbe6d24b8f96bf53b3f6a546c89d69f70fccd6 (diff)
downloadmgaadvisories-25d8b26294aaaa1ae6a6a6039243bc60ac10f9ee.tar
mgaadvisories-25d8b26294aaaa1ae6a6a6039243bc60ac10f9ee.tar.gz
mgaadvisories-25d8b26294aaaa1ae6a6a6039243bc60ac10f9ee.tar.bz2
mgaadvisories-25d8b26294aaaa1ae6a6a6039243bc60ac10f9ee.tar.xz
mgaadvisories-25d8b26294aaaa1ae6a6a6039243bc60ac10f9ee.zip
Add [name] argument to mgaadv to prefill the template
Diffstat (limited to 'tmpl')
-rw-r--r--tmpl/newadvisory.adv6
1 files changed, 3 insertions, 3 deletions
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.