Skip to content

Commit 0a08f26

Browse files
committed
Factorize status and resolution maps
1 parent d1cd7f0 commit 0a08f26

File tree

1 file changed

+7
-65
lines changed

1 file changed

+7
-65
lines changed

config/config.prod.yaml

Lines changed: 7 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
- sync_keywords_labels
165165
comment:
166166
- create_comment
167-
status_map:
167+
status_map: &basic-status-map
168168
UNCONFIRMED: Backlog
169169
NEW: Backlog
170170
ASSIGNED: In Progress
@@ -179,7 +179,7 @@
179179
WORKSFORME: Done
180180
INCOMPLETE: Done
181181
MOVED: Done
182-
resolution_map:
182+
resolution_map: &basic-resolution-map
183183
FIXED: Done
184184
INVALID: Invalid
185185
WONTFIX: "Won't Do"
@@ -337,30 +337,8 @@
337337
- sync_keywords_labels
338338
comment:
339339
- create_comment
340-
status_map:
341-
UNCONFIRMED: Backlog
342-
NEW: Backlog
343-
ASSIGNED: In Progress
344-
REOPENED: In Progress
345-
RESOLVED: Done
346-
VERIFIED: Done
347-
FIXED: Done
348-
INVALID: Done
349-
WONTFIX: Done
350-
INACTIVE: Done
351-
DUPLICATE: Done
352-
WORKSFORME: Done
353-
INCOMPLETE: Done
354-
MOVED: Done
355-
resolution_map:
356-
FIXED: Done
357-
INVALID: Invalid
358-
WONTFIX: "Won't Do"
359-
INACTIVE: Inactive
360-
DUPLICATE: Duplicate
361-
WORKSFORME: "Cannot Reproduce"
362-
INCOMPLETE: Incomplete
363-
MOVED: Moved
340+
status_map: *basic-status-map
341+
resolution_map: *basic-resolution-map
364342

365343
- whiteboard_tag: proton
366344
bugzilla_user_id: tbd
@@ -517,15 +495,7 @@
517495
WORKSFORME: Done
518496
INCOMPLETE: Done
519497
MOVED: Done
520-
resolution_map:
521-
FIXED: Done
522-
INVALID: Invalid
523-
WONTFIX: "Won't Do"
524-
INACTIVE: Inactive
525-
DUPLICATE: Duplicate
526-
WORKSFORME: "Cannot Reproduce"
527-
INCOMPLETE: Incomplete
528-
MOVED: Moved
498+
resolution_map: *basic-resolution-map
529499

530500
- whiteboard_tag: dataplatform
531501
bugzilla_user_id: tbd
@@ -550,21 +520,7 @@
550520
- maybe_update_issue_status
551521
comment:
552522
- create_comment
553-
status_map:
554-
UNCONFIRMED: Backlog
555-
NEW: Backlog
556-
ASSIGNED: In Progress
557-
REOPENED: In Progress
558-
RESOLVED: Done
559-
VERIFIED: Done
560-
FIXED: Done
561-
INVALID: Done
562-
WONTFIX: Done
563-
INACTIVE: Done
564-
DUPLICATE: Done
565-
WORKSFORME: Done
566-
INCOMPLETE: Done
567-
MOVED: Done
523+
status_map: *basic-status-map
568524

569525
- whiteboard_tag: dataquality
570526
bugzilla_user_id: tbd
@@ -703,18 +659,4 @@
703659
enhancement: Story
704660
task: Task
705661
defect: Bug
706-
status_map:
707-
UNCONFIRMED: Backlog
708-
NEW: Backlog
709-
ASSIGNED: In Progress
710-
REOPENED: In Progress
711-
RESOLVED: Done
712-
VERIFIED: Done
713-
FIXED: Done
714-
INVALID: Done
715-
WONTFIX: Done
716-
INACTIVE: Done
717-
DUPLICATE: Done
718-
WORKSFORME: Done
719-
INCOMPLETE: Done
720-
MOVED: Done
662+
status_map: *basic-status-map

0 commit comments

Comments
 (0)