Skip to content

Commit d079e85

Browse files
committed
Changing convention for diff files -- don't include the first two lines (containing the URLs).
- Legacy-Id: 775
1 parent b2b0e28 commit d079e85

40 files changed

Lines changed: 1 addition & 79 deletions

ietf/tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ def doUrlsTest(self, lst):
345345
else:
346346
contextlines = 0
347347
difflist = list(unified_diff(goodtext, testtext, master, url, "", "", contextlines, lineterm=""))
348-
diff = "\n".join(difflist)
348+
diff = "\n".join(difflist[2:])
349349
log("Checking diff: %s" % diff[:96])
350350
keys = module.diffchunks.keys()
351351
keys.sort

test/diff/_ann_nomcom_1230_

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
--- https://datatracker.ietf.org/public/show_nomcom_message.cgi?id=1230
2-
+++ /ann/nomcom/1230/
31
@@ -3,2 +3,2 @@
42
-IETF Announcement Date: June 3, 2007 Subject: IETF Nomcom Appointment
53
-- 2007-2008

test/diff/_drafts_

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
--- https://datatracker.ietf.org/public/idindex.cgi
2-
+++ /drafts/
31
@@ -16,1 +16,0 @@
42
-I-D Exists
53
@@ -546,2 +545,2 @@

test/diff/_drafts_rfc_

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
--- https://datatracker.ietf.org/public/idindex.cgi?command=show_list&cat=rfc
2-
+++ /drafts/rfc/
31
@@ -12,1 +12,1 @@
42
-Published I-Ds sorted by UNKNOWN
53
+Published I-Ds sorted by Filename

test/diff/_drafts_rfc__search_name

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
--- https://datatracker.ietf.org/public/idindex.cgi?command=show_list&cat=rfc&sort=name
2-
+++ /drafts/rfc/?sort=name
31
@@ -1123,0 +1123,1 @@
42
+draft-ietf-hubmib-etherif-MIB-06 1998-08-06 RFC 2358 I-D Exists
53
@@ -1124,1 +1125,0 @@

test/diff/_idtracker_

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
--- https://datatracker.ietf.org/public/pidtracker.cgi
2-
+++ /idtracker/
31
@@ -68,0 +68,1 @@
42
+--All Substates
53
@@ -73,1 +74,0 @@

test/diff/_idtracker_12689_

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
--- https://datatracker.ietf.org/public/pidtracker.cgi?command=view_id&dTag=12689&rfc_flag=0
2-
+++ /idtracker/12689/
31
@@ -40,2 +40,3 @@
42
-This draft is basically ready for publication, but has nits and more
53
-...

test/diff/_idtracker__search_group_acronym__search_job_owner_0_search_rfcnumber__search_status_id__sub_state_id_6_search_cur_state__search_button_SEARCH_search_filename_bgp-m_search_area_acronym_

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
--- https://datatracker.ietf.org/public/pidtracker.cgi?command=search_list&search_job_owner=0&search_group_acronym=&search_status_id=&search_cur_state=&sub_state_id=6&search_filename=bgp-m&search_rfcnumber=&search_area_acronym=&search_button=SEARCH
2-
+++ /idtracker/?search_group_acronym=&search_job_owner=0&search_rfcnumber=&search_status_id=&sub_state_id=6&search_cur_state=&search_button=SEARCH&search_filename=bgp-m&search_area_acronym=
31
@@ -67,0 +67,1 @@
42
+--All Substates
53
@@ -72,1 +73,0 @@

test/diff/_idtracker_ballot_1760_

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
--- https://datatracker.ietf.org/public/pidtracker.cgi?command=print_ballot&ballot_id=1760&filename=draft-ietf-isis-link-attr
2-
+++ /idtracker/ballot/1760/
31
@@ -7,1 +7,1 @@
42
-https://datatracker.ietf.org/public/pidtracker.cgi?command=view_id&dTag=12689&rfc_flag=0
53
+https://datatracker.ietf.org/idtracker/ballot/1760/
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
--- https://datatracker.ietf.org/public/pidtracker.cgi?command=view_comment&id=65232
2-
+++ /idtracker/comment/65232/
31
@@ -5,2 +5,0 @@
42
-State before Comment: 0
53
-State after Comment: 0

0 commit comments

Comments
 (0)