Skip to content

Commit 6ae4def

Browse files
committed
Update example data to include failing_since (#47)
This makes it easy to test the new sorting functionality.
1 parent 7e174cc commit 6ae4def

File tree

1 file changed

+97
-4
lines changed

1 file changed

+97
-4
lines changed

pgcommitfest/commitfest/fixtures/commitfest_data.json

+97-4
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,27 @@
216216
]
217217
}
218218
},
219+
{
220+
"model": "commitfest.patch",
221+
"pk": 7,
222+
"fields": {
223+
"name": "Old BufferDesc refcount in PrintBufferDescs and PrintPinnedBufs",
224+
"topic": 3,
225+
"wikilink": "",
226+
"gitlink": "",
227+
"targetversion": null,
228+
"committer": null,
229+
"created": "2025-03-01T22:27:53.214",
230+
"modified": "2025-03-01T22:27:53.221",
231+
"lastmail": "2025-01-18T07:14:02",
232+
"authors": [],
233+
"reviewers": [],
234+
"subscribers": [],
235+
"mailthread_set": [
236+
7
237+
]
238+
}
239+
},
219240
{
220241
"model": "commitfest.patchoncommitfest",
221242
"pk": 1,
@@ -293,6 +314,17 @@
293314
"status": 6
294315
}
295316
},
317+
{
318+
"model": "commitfest.patchoncommitfest",
319+
"pk": 8,
320+
"fields": {
321+
"patch": 7,
322+
"commitfest": 2,
323+
"enterdate": "2025-03-01T22:27:53.214",
324+
"leavedate": null,
325+
"status": 1
326+
}
327+
},
296328
{
297329
"model": "commitfest.patchhistory",
298330
"pk": 1,
@@ -480,6 +512,28 @@
480512
"what": "Closed in commitfest Sample In Progress Commitfest with status: Rejected"
481513
}
482514
},
515+
{
516+
"model": "commitfest.patchhistory",
517+
"pk": 18,
518+
"fields": {
519+
"patch": 7,
520+
"date": "2025-03-01T22:27:53.215",
521+
"by": 1,
522+
"by_cfbot": false,
523+
"what": "Created patch record"
524+
}
525+
},
526+
{
527+
"model": "commitfest.patchhistory",
528+
"pk": 19,
529+
"fields": {
530+
"patch": 7,
531+
"date": "2025-03-01T22:27:53.218",
532+
"by": 1,
533+
"by_cfbot": false,
534+
"what": "Attached mail thread example@message-31"
535+
}
536+
},
483537
{
484538
"model": "commitfest.mailthread",
485539
"pk": 1,
@@ -564,6 +618,20 @@
564618
"latestmsgid": "example@message-16"
565619
}
566620
},
621+
{
622+
"model": "commitfest.mailthread",
623+
"pk": 7,
624+
"fields": {
625+
"messageid": "example@message-31",
626+
"subject": "Re: Old BufferDesc refcount in PrintBufferDescs and PrintPinnedBufs",
627+
"firstmessage": "2025-01-18T07:14:02",
628+
"firstauthor": "[email protected]",
629+
"latestmessage": "2025-01-18T07:14:02",
630+
"latestauthor": "[email protected]",
631+
"latestsubject": "Re: Old BufferDesc refcount in PrintBufferDescs and PrintPinnedBufs",
632+
"latestmsgid": "example@message-31"
633+
}
634+
},
567635
{
568636
"model": "commitfest.patchstatus",
569637
"pk": 1,
@@ -638,6 +706,7 @@
638706
"apply_url": "http://cfbot.cputube.org/patch_4573.log",
639707
"status": "finished",
640708
"needs_rebase_since": null,
709+
"failing_since": null,
641710
"created": "2025-01-26T22:06:02.980",
642711
"modified": "2025-01-29T22:50:37.805",
643712
"version": "",
@@ -657,10 +726,11 @@
657726
"commit_id": null,
658727
"apply_url": "http://cfbot.cputube.org/patch_4573.log",
659728
"status": "failed",
660-
"needs_rebase_since": null,
729+
"needs_rebase_since": "2025-03-01T22:30:42",
730+
"failing_since": "2025-02-01T22:30:42",
661731
"created": "2025-01-26T22:11:09.961",
662-
"modified": "2025-01-26T22:20:39.372",
663-
"version": null,
732+
"modified": "2025-03-01T22:59:14.717",
733+
"version": "",
664734
"patch_count": null,
665735
"first_additions": null,
666736
"first_deletions": null,
@@ -678,8 +748,9 @@
678748
"apply_url": "http://cfbot.cputube.org/patch_4748.log",
679749
"status": "failed",
680750
"needs_rebase_since": null,
751+
"failing_since": "2025-03-01T23:18:06",
681752
"created": "2025-01-26T22:22:46.602",
682-
"modified": "2025-01-29T22:58:51.032",
753+
"modified": "2025-03-01T23:18:10.856",
683754
"version": "",
684755
"patch_count": 3,
685756
"first_additions": 345,
@@ -698,6 +769,7 @@
698769
"apply_url": "http://cfbot.cputube.org/patch_4748.log",
699770
"status": "testing",
700771
"needs_rebase_since": null,
772+
"failing_since": null,
701773
"created": "2025-01-31T13:32:22.017",
702774
"modified": "2025-01-31T13:32:22.017",
703775
"version": "",
@@ -708,6 +780,27 @@
708780
"all_deletions": 14
709781
}
710782
},
783+
{
784+
"model": "commitfest.cfbotbranch",
785+
"pk": 7,
786+
"fields": {
787+
"branch_id": 12,
788+
"branch_name": "cf/7",
789+
"commit_id": "efg123",
790+
"apply_url": "http://cfbot.cputube.org/patch_7.log",
791+
"status": "timeout",
792+
"needs_rebase_since": null,
793+
"failing_since": "2025-03-01T22:29:07",
794+
"created": "2025-03-01T22:29:25.461",
795+
"modified": "2025-03-01T22:30:14.495",
796+
"version": "",
797+
"patch_count": 1,
798+
"first_additions": 1,
799+
"first_deletions": 2,
800+
"all_additions": 1,
801+
"all_deletions": 2
802+
}
803+
},
711804
{
712805
"model": "commitfest.cfbottask",
713806
"pk": 1,

0 commit comments

Comments
 (0)