Summary: | glsa-check should respect "count" attribute in revised | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Robert Buchholz (RETIRED) <rbu> |
Component: | Tools | Assignee: | Portage Tools Team <tools-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo-bugs, neysx, security |
Priority: | High | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 196681, 237964, 268001 | ||
Attachments: |
glsa_separate_count.diff
glsa_separate_count.diff |
Description
Robert Buchholz (RETIRED)
2008-04-18 19:25:43 UTC
Created attachment 150469 [details, diff]
glsa_separate_count.diff
I can't seem to figure out how glsa-check uses the count. Line 485 of glsa.py is the only time glsa-check actually touches the revised element afaict.
The attached diff is incomplete, but I didn't want to go forward until I really understood the problem -- What it *should* do (untested) is separate the count from the revised /date/ regardless of the format. Currently it does nothing with the count.
Did you want something like this?
The count should probably be displayed behind the date as before ("outstream.write("Last revised on: %s\n\n" % self.revised)") The case "# No count found, not sure how to handle..." should assume count = 01. Created attachment 150552 [details, diff]
glsa_separate_count.diff
OK. No guarantees that this code is exactly right, but it should be very close...
What's the current status of this issue? What's holding it up? There's a bunch of improvements for the Gentoo websites being held up by this from the looks of the dep graph. (In reply to comment #4) > What's the current status of this issue? What's holding it up? > > There's a bunch of improvements for the Gentoo websites being held up by this > from the looks of the dep graph. Not if you care to read the comments on the bugs along this graph. Dependency must remain so that the xsl can be simplified and cleaned up once the security team has managed to solve their part. gentoolkit-0.2.4.4 and gentoolkit-0.3.0_rc6 released. |