Bug 474018 - When using --resume-after, specify current module number and total modules number as in full set
Summary: When using --resume-after, specify current module number and total modules nu...
Status: RESOLVED MOVED
Alias: None
Product: kdesrc-build
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michael Pyne
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-01 11:07 UTC by Andrew Shark
Modified: 2024-03-05 13:14 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Shark 2023-09-01 11:07:17 UTC
When launching kdesrc-build with --resume-after (and --resume-from) options, it should count the modules as the numberings were in the full set of modules.

STEPS TO REPRODUCE:
I am building several components with `kdesrc-build plasma-workspace plasma-... ...`. It outputs:
```
Building extra-cmake-modules from frameworks (1/139)
...
Building kcoreaddons from frameworks (2/139)
...
```

Now one of my modules fails to build (let's say `appstream` module).
```
Building appstream (46/139)
    appstream has failed to build ...
    Your logs are saved in file ...
```

I decide to fix that problem later and run the previous invoke with addition `--resume-after appstream`

OBSERVED RESULT:
```
Building oxygen-icons5 from frameworks (1/93)
...
Building kdecoration from kf6-workspace-modules (2/93)
```

EXPECTED RESULT:
```
Building oxygen-icons5 from frameworks (47/139)
...
Building kdecoration from kf6-workspace-modules (48/139)
```

These changed numbers (current/total) are not wanted.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
Comment 1 Andrew Shark 2024-03-05 13:14:01 UTC
Move to https://invent.kde.org/sdk/kde-builder/-/issues/70