CVS commit: htutils/gnats-html
"Harold Gutch" <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.www.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module Name: htutils Committed By: hgutch Date: Wed Mar 12 18:58:11 UTC 2025 Modified Files: htutils/gnats-html: gnats-html Log Message: Don't stop processing GNATS db when encountering an unknown Class entry. While the GNATS web interface only offers four different values for "Class" to select from, send-pr(1) allows here arbitrary strings, including empty ones. When going over all PRs, gnats-html builds up a list of all classes it has encountered and bails out early if it has seen more than the expected amount of different classes. Parts of the GNATS HTML summary will still be created but not everything, for example not the per-category summary pages. This has happened a few times in the past. Rather than this, handle any PR with an unknown value for "Class" as if it was the (literal) string "unknown". Note that this is only the case for the summary output - we don't touch the wrong values in the DB. To generate a diff of this commit: cvs rdiff -u -r1.73 -r1.74 htutils/gnats-html/gnats-html Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.