Commit Graph

9 Commits

Author SHA1 Message Date
Michael Weiss
92559b7330
chromium: get-commit-message.py: Support releases with 1 security fix
There was an out-of-band security release with only a single security fix:
https://chromereleases.googleblog.com/2022/03/stable-channel-update-for-desktop_25.html
2022-04-10 22:38:54 +02:00
Michael Weiss
688d6d2435
chromium: get-commit-message.py: Support releases with 0 security fixes
Wow, a Chrome release without any (known!) security fixes:
https://chromereleases.googleblog.com/2022/03/stable-channel-update-for-desktop_20.html
2022-04-10 21:44:01 +02:00
Michael Weiss
d0ed7ee0b0
chromium: get-commit-message.py: Improve the parsing
The latest announcement uses the following structure: "Google is aware
the exploits for CVE-2021-37975 and CVE-2021-37976 exist in the wild."
(https://chromereleases.googleblog.com/2021/09/stable-channel-update-for-desktop_30.html)
2022-01-24 22:08:04 +01:00
Michael Weiss
9bc2d82b55
chromium: get-commit-message.py: Support specifying a version
This makes the usage from update.py more robust.
It also adds a workaround for [0] which currently lacks a title.

[0]: https://chromereleases.googleblog.com/2021/08/the-stable-channel-has-been-updated-to.html
2021-08-04 17:55:21 +02:00
Michael Weiss
3e93811d93
chromium: get-commit-message.py: Improve the parsing
The current stable release announcement [0] uses more HTML tags which
broke the detection of "fixes" and "zero_days". Proper HTML parsing
could be done using html.parser [1] but for our purposes the naive regex
trick works well enough.

[0]: https://chromereleases.googleblog.com/2021/07/stable-channel-update-for-desktop.html
[1]: https://docs.python.org/3/library/html.parser.html
2021-07-16 12:24:26 +02:00
Michael Weiss
c02ac479ba
chromium: get-commit-message.py: Support a new 0-day sentence
The current stable release announcement [0] uses a slightly different
message/structure.

[0]: https://chromereleases.googleblog.com/2021/06/stable-channel-update-for-desktop.html
2021-06-10 12:11:16 +02:00
Michael Weiss
de2edb81da
chromium: get-commit-message.py: Deduplicate the CVE list 2021-04-14 14:33:34 +02:00
Michael Weiss
17c4f6fa36
chromium: Make get-commit-message.py more robust
Not all updates contain security fixes.
2021-03-07 12:05:21 +01:00
Michael Weiss
9004162c26
chromium: Add my script to generate the commit messages
Might not be that readable and reliable but it should get the job done.
2021-03-03 16:55:03 +01:00