Commit f7aa322
fix(fossid-webapp): Always create a new scan when delta scans are disabled
The current logic always tries to reuse the existing scans on the same
branch if delta scans logic is disabled. This is incorrect as the code in
the repository for this branch may have changed (rolling revision).
This commit enforces that a new scan is always created when delta scans are
disabled.
Signed-off-by: Nicolas Nobelis <nicolas.nobelis@bosch.com>1 parent a2ab0b2 commit f7aa322
File tree
3 files changed
+20
-73
lines changed- plugins/scanners/fossid/src
- main/kotlin
- events
- test/kotlin
3 files changed
+20
-73
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
| 307 | + | |
317 | 308 | | |
318 | 309 | | |
319 | 310 | | |
| |||
501 | 492 | | |
502 | 493 | | |
503 | 494 | | |
504 | | - | |
505 | 495 | | |
506 | 496 | | |
507 | 497 | | |
508 | 498 | | |
509 | | - | |
510 | 499 | | |
511 | 500 | | |
512 | 501 | | |
| |||
517 | 506 | | |
518 | 507 | | |
519 | 508 | | |
520 | | - | |
521 | | - | |
522 | | - | |
523 | | - | |
524 | | - | |
525 | | - | |
526 | | - | |
527 | | - | |
| 509 | + | |
528 | 510 | | |
529 | | - | |
530 | | - | |
531 | | - | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
532 | 514 | | |
533 | | - | |
534 | | - | |
535 | | - | |
536 | | - | |
537 | | - | |
538 | | - | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
| 515 | + | |
| 516 | + | |
550 | 517 | | |
551 | | - | |
552 | | - | |
| 518 | + | |
553 | 519 | | |
554 | | - | |
| 520 | + | |
555 | 521 | | |
556 | 522 | | |
557 | 523 | | |
| |||
Lines changed: 0 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | 69 | | |
86 | 70 | | |
87 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
757 | 757 | | |
758 | 758 | | |
759 | 759 | | |
760 | | - | |
761 | | - | |
762 | | - | |
763 | | - | |
764 | | - | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
765 | 765 | | |
766 | | - | |
767 | 766 | | |
768 | | - | |
769 | 767 | | |
770 | 768 | | |
771 | 769 | | |
| |||
821 | 819 | | |
822 | 820 | | |
823 | 821 | | |
824 | | - | |
825 | | - | |
826 | | - | |
827 | | - | |
828 | | - | |
829 | | - | |
830 | | - | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
831 | 828 | | |
832 | 829 | | |
833 | 830 | | |
| |||
0 commit comments