mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] PTXdist 2024.11.0 doesn't seem to check for already downloaded archives
@ 2024-11-25 14:26 Christoph G. Baumann
  2024-11-26  8:36 ` Michael Olbrich
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph G. Baumann @ 2024-11-25 14:26 UTC (permalink / raw)
  To: ptxdist

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 <m.olbrich@pengutronix.de>
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 <m.olbrich@pengutronix.de>

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-11-26 13:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-25 14:26 [ptxdist] PTXdist 2024.11.0 doesn't seem to check for already downloaded archives Christoph G. Baumann
2024-11-26  8:36 ` Michael Olbrich
2024-11-26 13:56   ` Christoph G. Baumann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox