canonical / snapcraft

Package, distribute, and update any app for Linux and IoT.

Home Page:https://snapcraft.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

@mr-cal that was a quick & dirty hack to get the project name in the PoC that made it into production accidentally. We need to pull the project name out of the project itself.