Commit 60d54e2
committed
gitlab: Fix 'mr list' limits
The command 'lab mr list --author $author_name --state merged' was
returning a list of 100 for each engineer on a project. Evidence in the
git tree showed that this was not the case (most had more than 100).
This was due to a calcluational error in the MRList() code. Implement a
new algorithm that correctly returns all MRs instead of the last 100.
Signed-off-by: Prarit Bhargava <prarit@redhat.com>1 parent 4622fad commit 60d54e2
1 file changed
+13
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
433 | 433 | | |
434 | 434 | | |
435 | 435 | | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | 436 | | |
441 | | - | |
442 | | - | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
443 | 446 | | |
444 | 447 | | |
445 | 448 | | |
446 | 449 | | |
447 | 450 | | |
448 | 451 | | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
449 | 456 | | |
450 | 457 | | |
451 | 458 | | |
| |||
0 commit comments