Commit f1a6b7d
committed
todo list: Remove MR and Issue lookups
While looking at some other code I discovered that type Todo contains
a type TodoTarget which contains the information that I was pulling
from the MR and Issue lookups. These lookups can be dropped and the
code is simplified, there are fewer API calls, and 'lab todo list
--pretty' is faster.
Remove the MR and Issue lookups with the --pretty option.
Signed-off-by: Prarit Bhargava <prarit@redhat.com>1 parent debc30d commit f1a6b7d
1 file changed
Lines changed: 5 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
| 47 | + | |
63 | 48 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
| 49 | + | |
| 50 | + | |
70 | 51 | | |
71 | 52 | | |
72 | | - | |
73 | 53 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
| 54 | + | |
80 | 55 | | |
81 | 56 | | |
82 | 57 | | |
| |||
90 | 65 | | |
91 | 66 | | |
92 | 67 | | |
93 | | - | |
| 68 | + | |
94 | 69 | | |
95 | 70 | | |
96 | 71 | | |
| |||
0 commit comments