aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-06-12 22:13:23 +0000
committerNicolas Vigier <boklm@mageia.org>2013-06-12 22:13:23 +0000
commit3ca3d0b359f54ec0124c2a807be3dfe9de2ad148 (patch)
treec3f5beacd276eb7a40c9f471649fa0c229b99ca0
parent54af0649c1d3e13948e13e0139b7ed22f8057e92 (diff)
downloadmgaadvisories-3ca3d0b359f54ec0124c2a807be3dfe9de2ad148.tar
mgaadvisories-3ca3d0b359f54ec0124c2a807be3dfe9de2ad148.tar.gz
mgaadvisories-3ca3d0b359f54ec0124c2a807be3dfe9de2ad148.tar.bz2
mgaadvisories-3ca3d0b359f54ec0124c2a807be3dfe9de2ad148.tar.xz
mgaadvisories-3ca3d0b359f54ec0124c2a807be3dfe9de2ad148.zip
advisory.txt: Add advisory URL
-rw-r--r--config_default1
-rw-r--r--tmpl/advisory.txt1
2 files changed, 2 insertions, 0 deletions
diff --git a/config_default b/config_default
index b67f188..f154732 100644
--- a/config_default
+++ b/config_default
@@ -9,3 +9,4 @@ adv_mail_to: updates-announce@ml.mageia.org
adv_mail_from: Mageia Updates <buildsystem-daemon@mageia.org>
report_mail_to: qa-reports@ml.mageia.org
report_mail_from: Mageia Advisories <buildsystem-daemon@mageia.org>
+site_url: http://advisories.mageia.org
diff --git a/tmpl/advisory.txt b/tmpl/advisory.txt
index 3da22c5..41db6d2 100644
--- a/tmpl/advisory.txt
+++ b/tmpl/advisory.txt
@@ -3,6 +3,7 @@
[% advisory %] - [% adv.subject %]
Publication date: [% date.format(adv.pubtime, format => '%d %b %Y', gmt => 1) %]
+URL: [% config.site_url %]/[% basename.ID(advisory) %].html
Type: [% adv.type %]
Affected Mageia releases: [% adv.src.keys.sort.join(', ') %]
[% IF adv.CVE -%]