[Midnightbsd-cvs] [MidnightBSD/mports] bd3150: magus slave: normalize distfile names before scp
Lucas Holt
noreply at github.com
Sun May 31 22:30:39 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/mports
Commit: bd3150eccf4fd79b64af270bbf9c1d2c12dc5951
https://github.com/MidnightBSD/mports/commit/bd3150eccf4fd79b64af270bbf9c1d2c12dc5951
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-05-31 (Sun, 31 May 2026)
Changed paths:
M Tools/lib/Magus/App/Slave/Worker.pm
Log Message:
-----------
magus slave: normalize distfile names before scp
inject_distfiles/upload_distfiles used $distfile->filename verbatim when
building scp source/dest paths. Stored distfile names can carry a master
site group suffix (e.g. foo.tar.gz:source2, optionally comma-separated)
and/or a URL query string (e.g. foo.tar?a=b&c=d), neither of which is part
of the real on-disk distfile name, so the transfers failed during slave
package builds. Strip both in each loop so the injected and uploaded names
agree and match the actual file.
Co-Authored-By: Claude Opus 4.8 <noreply at anthropic.com>
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications
More information about the Midnightbsd-cvs
mailing list