diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2014-11-30 12:44:31 +0100 |
---|---|---|
committer | Rémi Verschelde <remi@verschelde.fr> | 2014-11-30 12:44:31 +0100 |
commit | 25d8b26294aaaa1ae6a6a6039243bc60ac10f9ee (patch) | |
tree | c76bee21a1ad937e5a0b0dac6151925e31705b94 /tmpl | |
parent | 66cbe6d24b8f96bf53b3f6a546c89d69f70fccd6 (diff) | |
download | mgaadvisories-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.adv | 6 |
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. |