Commit 8c734dd
Support PRs without issues as changes, simplify API with batched operations (#22)
* Initial plan
* Rename IssueInfo to ChangeInfo and add GetChangesBetweenTagsAsync method
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
* Rename properties: ChangeIssues→Changes, BugIssues→Bugs
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
* Add test for PRs without issues and fix affected tests
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
* Update GetOpenIssuesAsync to return ChangeData with batched fetching
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
* Remove old methods from IRepoConnector and implementations
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
* Remove tests for deleted methods
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
* Merge ChangeData into ChangeInfo by adding Type property
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
* Rename ChangeInfo to ItemInfo for better semantic accuracy
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
* Move ItemInfo record to its own file
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
* Remove --jq from all gh commands to avoid shell quoting issues
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
* Add using System.Text.Json directive to simplify code
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
* Fix issue title fetching by batch loading all issues via gh issue list
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
* Fix code quality/lint issues: formatting and spelling
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>1 parent e672a6b commit 8c734dd
File tree
10 files changed
+521
-978
lines changed- src/DemaConsulting.BuildMark
- RepoConnectors
- test/DemaConsulting.BuildMark.Tests
10 files changed
+521
-978
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | 23 | | |
32 | 24 | | |
33 | 25 | | |
34 | 26 | | |
35 | 27 | | |
36 | 28 | | |
37 | 29 | | |
38 | | - | |
39 | | - | |
| 30 | + | |
| 31 | + | |
40 | 32 | | |
41 | 33 | | |
42 | 34 | | |
43 | 35 | | |
44 | 36 | | |
45 | 37 | | |
46 | | - | |
47 | | - | |
48 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
49 | 41 | | |
50 | 42 | | |
51 | 43 | | |
| |||
158 | 150 | | |
159 | 151 | | |
160 | 152 | | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
166 | 158 | | |
167 | | - | |
168 | | - | |
| 159 | + | |
| 160 | + | |
169 | 161 | | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
| 162 | + | |
| 163 | + | |
174 | 164 | | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
| 165 | + | |
| 166 | + | |
188 | 167 | | |
189 | | - | |
190 | | - | |
| 168 | + | |
| 169 | + | |
191 | 170 | | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
201 | 179 | | |
202 | 180 | | |
203 | 181 | | |
204 | 182 | | |
205 | | - | |
206 | | - | |
207 | | - | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
208 | 186 | | |
209 | 187 | | |
210 | | - | |
| 188 | + | |
211 | 189 | | |
212 | 190 | | |
213 | 191 | | |
214 | 192 | | |
215 | 193 | | |
216 | | - | |
217 | | - | |
| 194 | + | |
218 | 195 | | |
219 | | - | |
220 | | - | |
221 | | - | |
| 196 | + | |
222 | 197 | | |
223 | 198 | | |
224 | 199 | | |
| |||
228 | 203 | | |
229 | 204 | | |
230 | 205 | | |
231 | | - | |
232 | | - | |
| 206 | + | |
| 207 | + | |
233 | 208 | | |
234 | 209 | | |
235 | 210 | | |
| |||
276 | 251 | | |
277 | 252 | | |
278 | 253 | | |
279 | | - | |
| 254 | + | |
280 | 255 | | |
281 | | - | |
| 256 | + | |
282 | 257 | | |
283 | 258 | | |
284 | 259 | | |
| |||
294 | 269 | | |
295 | 270 | | |
296 | 271 | | |
297 | | - | |
| 272 | + | |
298 | 273 | | |
299 | | - | |
| 274 | + | |
300 | 275 | | |
301 | 276 | | |
302 | 277 | | |
| |||
| 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 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
196 | | - | |
| 195 | + | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| |||
0 commit comments