- Notifications
You must be signed in to change notification settings - Fork12
Commit6c6e1af
committed
WIP: add a Parking Lot
The Parking Lot is a special always-open commitfest for the purpose ofholding and testing draft patch submissions. Having such a holding areashould make it easier for people to keep track of patchsets they're notquite ready to submit for review.Internally, the Parking Lot is assigned a static ID of zero. This ischosen because a) it does not overlap with Django's default AutoFieldsequence, which begins at one, and b) it requires no updates to thecurrent URL patterns, which match nonnegative integers.The Parking Lot entry has the special status STATUS_PARKING so that itdoes not conflict with pre-existing coded assumptions on what "open","future", etc. mean. STATUS_PARKING CFs are excluded from the "num_cfs"count for a patch.The new /close/parked handler is added to swap patches into the ParkingLot. Patches are then removed by moving them to the next open CF, or byclosing as usual.Prior to this patch:- CFs with IDs less than the current in-progress CF could safely be assumed closed,- patches only ever moved forward through increasing CF IDs, and- the latest CF start date determined a patch's "current" CF.These assumptions all break under the current model. They have beenmodified:- use STATUS_CLOSED specifically when deciding whether a CF is closed- when moving a patch between CFs, allow for the possibility of an existing entry in the junction table- a patch's "current" CF is determined by its latest entry dateTODO:- ensure all prior assumptions on CF ID are cleaned up- should the default filter be changed for the Parking Lot?1 parentb611f21 commit6c6e1af
File tree
8 files changed
+94
-10
lines changed- media/commitfest/js
- pgcommitfest
- commitfest
- migrations
- templates
8 files changed
+94
-10
lines changedLines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
21 | 26 |
| |
22 | 27 |
| |
23 | 28 |
| |
|
Lines changed: 16 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + |
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
162 | 162 |
| |
163 | 163 |
| |
164 | 164 |
| |
165 |
| - | |
| 165 | + | |
166 | 166 |
| |
167 | 167 |
| |
168 | 168 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
| 27 | + | |
27 | 28 |
| |
28 | 29 |
| |
29 | 30 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
| 25 | + | |
25 | 26 |
| |
26 | 27 |
| |
27 | 28 |
| |
|
Lines changed: 66 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
49 |
| - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
50 | 52 |
| |
51 | 53 |
| |
52 | 54 |
| |
| |||
447 | 449 |
| |
448 | 450 |
| |
449 | 451 |
| |
| 452 | + | |
450 | 453 |
| |
451 | 454 |
| |
452 | 455 |
| |
| |||
458 | 461 |
| |
459 | 462 |
| |
460 | 463 |
| |
461 |
| - | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
462 | 467 |
| |
463 | 468 |
| |
464 | 469 |
| |
| |||
638 | 643 |
| |
639 | 644 |
| |
640 | 645 |
| |
641 |
| - | |
| 646 | + | |
642 | 647 |
| |
643 | 648 |
| |
644 | 649 |
| |
| |||
1034 | 1039 |
| |
1035 | 1040 |
| |
1036 | 1041 |
| |
| 1042 | + | |
1037 | 1043 |
| |
1038 | 1044 |
| |
1039 | 1045 |
| |
| |||
1086 | 1092 |
| |
1087 | 1093 |
| |
1088 | 1094 |
| |
1089 |
| - | |
1090 |
| - | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
1091 | 1098 |
| |
1092 | 1099 |
| |
1093 |
| - | |
1094 |
| - | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
1095 | 1154 |
| |
1096 |
| - | |
1097 | 1155 |
| |
1098 | 1156 |
| |
1099 | 1157 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| 22 | + | |
| 23 | + | |
22 | 24 |
| |
23 | 25 |
| |
24 | 26 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
| 30 | + | |
| 31 | + | |
31 | 32 |
| |
32 | 33 |
| |
33 | 34 |
| |
|
0 commit comments
Comments
(0)