Skip to content

Commit d1f5520

Browse files
committed
Changing to sorted diffs for recent and previous IESG announcements. Doing this shows what seems to be a flaw in the old scripts, listing some informational documents among the Protocol Announcements. Adding an acceptable diff for the remaining diff which is a result of this.
- Legacy-Id: 619
1 parent 6d0fa4f commit d1f5520

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

ietf/iesg/testurl.list

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
200 /iesg/telechat/2007/apr/
44
200 /iesg/telechat/detail/354/ https://datatracker.ietf.org/public/view_telechat_minute.cgi?command=view_minute&id=354
55
200,sort /iesg/ann/independent/ https://datatracker.ietf.org/public/rfc_editor_announcement.cgi
6-
200 /iesg/ann/ietf-doc/recent/ https://datatracker.ietf.org/public/recent_announcement.cgi
7-
200 /iesg/ann/ietf-doc/previous/ https://datatracker.ietf.org/public/previous_announcement.cgi
6+
200,sort /iesg/ann/ietf-doc/recent/ https://datatracker.ietf.org/public/recent_announcement.cgi
7+
200,sort /iesg/ann/ietf-doc/previous/ https://datatracker.ietf.org/public/previous_announcement.cgi
88
200 /iesg/ann/detail/2422/ https://datatracker.ietf.org/public/recent_announcement.cgi?command=show_detail&ballot_id=2422
99
200 /iesg/ann/detail/1563/ https://datatracker.ietf.org/public/previous_announcement.cgi?command=show_detail&ballot_id=1563
1010
404 /iesg/ann/detail/567/

ietf/tests.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ def run_tests(module_list, verbosity=1, extra_tests=[]):
2626
def reduce_text(html, pre=False, fill=True):
2727
if html.count("<li>") > 5*html.count("</li>"):
2828
html = html.replace("<li>", "</li><li>")
29+
if not fill:
30+
html = re.sub("<br ?/?>", "<br/><br/>", html)
2931
html = re.sub(r"(?i)(RFC) (\d+)", r"\1\2", html) # ignore "RFC 1234" vs. "RFC1234" diffs
3032
html = re.sub(r"\bID\b", r"I-D", html) # idnore " ID " vs. " I-D " diffs
3133
text = html2text(html, pre=pre, fill=fill).strip()
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
--- https://datatracker.ietf.org/public/recent_announcement.cgi
2+
+++ /iesg/ann/ietf-doc/recent/
3+
@@ -132,0 +132,1 @@
4+
+Date Sent: March 20, 2007

0 commit comments

Comments
 (0)