There are no secrets in there, but still we should be more conscious of what we upload and keep artifacts in public build dirs to strictly what we intend.
Historically, $tmp_builddir was meant to be the staging area for the final contents of the build dir we would move into place and $TMPDIR was the truly temporary directory for that build. Over time, that distinction has been lost a bit and things that shouldn't have been placed there were.
In the end, I think it's cleaner to instead operate on an allowlist of files we know belong in the build dir, so let's do that.
Over time we seem to have accumulated all sorts of crud in the build dir that were never meant to be uploaded:
There are no secrets in there, but still we should be more conscious of what we upload and keep artifacts in public build dirs to strictly what we intend.
Historically,
$tmp_builddir
was meant to be the staging area for the final contents of the build dir we would move into place and$TMPDIR
was the truly temporary directory for that build. Over time, that distinction has been lost a bit and things that shouldn't have been placed there were.In the end, I think it's cleaner to instead operate on an allowlist of files we know belong in the build dir, so let's do that.