2011-03-04 14:43:40 |
Jamie Strandboge |
description |
This is been on the Security Team's agenda for literally years. Since I noticed that progress is starting to be made on bug #613852 and bug #628333, I thought it was high time to get my work into the queue. Essentially, this is:
https://blueprints.launchpad.net/ubuntu/+spec/security-m-htmlized-usns
How USNs are generated is via python genshi templates. The code can be found in lp:usn-tool. The usn-tool is used by the ubuntu-security team as part of their USN publication. It is also used by Landscape. The new template for use with the ubuntu.com website is in templates/html-new-format.html. Example usage is:
$ ssh -C people.canonical.com /home/ubuntu-security/bin/test-usn-email 1050-1 html-new-format.html > /tmp/usn-1050.html
And then you can view the output with:
$ firefox /tmp/usn-1050.html
For convenience I have put an example of the current formatted usn-1050.html at: http://people.canonical.com/~jamie/new-usns/
So, the intent of the current template is to implement the proposed format in https://wiki.ubuntu.com/SecurityTeam/Specifications/USNSpec. This format has been discussed at length by the security team and is deemed correct in terms of organization and flow of information. It will hopefully lend itself to viewing on small screens as well.
As you can see from the usn-1050.html source, the HTML is intended to be clean, using modern markup with plenty of tags for CSS. The idea is that the ubuntu-website-content team would implement the CSS, and the security team would add the <div id="usn"> content to drupal.
Our team is looking for the ubuntu-website-content team to:
* comment on/help fix/approve the template for the <div id="usn"> content
* implement the CSS tags for proper formatting
* work with the ubuntu-security team (me primarily (jdstrand on IRC)) to get this integrated into the new site
Thanks! |
This has been on the Security Team's agenda for literally years. Since I noticed that progress is starting to be made on bug #613852 and bug #628333, I thought it was high time to get my work into the queue. Essentially, this is:
https://blueprints.launchpad.net/ubuntu/+spec/security-m-htmlized-usns
How USNs are generated is via python genshi templates. The code can be found in lp:usn-tool. The usn-tool is used by the ubuntu-security team as part of their USN publication. It is also used by Landscape. The new template for use with the ubuntu.com website is in templates/html-new-format.html. Example usage is:
$ ssh -C people.canonical.com /home/ubuntu-security/bin/test-usn-email 1050-1 html-new-format.html > /tmp/usn-1050.html
And then you can view the output with:
$ firefox /tmp/usn-1050.html
For convenience I have put an example of the current formatted usn-1050.html at: http://people.canonical.com/~jamie/new-usns/
So, the intent of the current template is to implement the proposed format in https://wiki.ubuntu.com/SecurityTeam/Specifications/USNSpec. This format has been discussed at length by the security team and is deemed correct in terms of organization and flow of information. It will hopefully lend itself to viewing on small screens as well.
As you can see from the usn-1050.html source, the HTML is intended to be clean, using modern markup with plenty of tags for CSS. The idea is that the ubuntu-website-content team would implement the CSS, and the security team would add the <div id="usn"> content to drupal.
Our team is looking for the ubuntu-website-content team to:
* comment on/help fix/approve the template for the <div id="usn"> content
* implement the CSS tags for proper formatting
* work with the ubuntu-security team (me primarily (jdstrand on IRC)) to get this integrated into the new site
Thanks! |
|