New remote-build returns log files that truncates snap name in file name
jnsgruk opened this issue · comments
Bug Description
When using remote build, the name of the log file returned is <snap name>_<arch>-<timestamp>.txt
from what I can see.
In cases where the snap has a -
, this name get's truncated. For example, the log file I received when remote building signal-desktop
was named signal_arm64-<date>.txt
rather than signal-desktop_arm64-<date>.txt
To Reproduce
git clone https://github.com/snapcrafters/signal-desktop
cd signal-desktop
snapcraft remote-build
Environment
Ubuntu 22.04, Snapcraft 8.2.0
snapcraft.yaml
n/a
Relevant log output
https://github.com/snapcrafters/signal-desktop/actions/runs/8834314689/job/24473525329#step:2:683
Additional context
No response
Thank you for reporting us your feedback!
The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-2869.
This message was autogenerated
@lengau - do you know why craft-application is splitting the project name here? https://github.com/canonical/craft-application/blob/099d82fb6a57a24e801ccfed38f32ce3b0a627b8/craft_application/services/remotebuild.py#L179