Hello,

recently I wanted to upgrade my project to PTXdist 2024.11.0.
When rerunning a build I was surprised that the 'get' stage downloaded all the 
archives again despite them already being present in the src directory.
Then I tried to trace this in the files in scripts/lib. It boiled down to a 
line in scripts/lib/ptxd_make_world_get.sh.
According to 'git log' it was changed in this commit:

commit ca7217db7bf2afe1104b074843403209f7f65aa3
Author: Michael Olbrich <[email protected]>
Date:   Thu Mar 7 08:28:42 2024 +0100

    ptxd_make_world_report_yaml: add source git commit if requested and 
available
    Signed-off-by: Michael Olbrich <[email protected]>

When I restored the changed line to
"if [ -n "${pkg_src}" -a \( \! -e "${pkg_src}" -o "${ptxd_make_get_dryrun}" = 
"y" \) ]; then"
everything worked again as expected.

Was this done intentionally?


Best regards,
Christoph

Reply via email to