Activity log for bug #1820055

Date Who What changed Old value New value Message
2019-03-14 12:48:12 林博仁(Buo-ren, Lin) bug added bug
2019-03-14 12:51:32 林博仁(Buo-ren, Lin) description I'm migrating a snap with a legacy snapcraft syntax to the new one with bases, however the previous command to launch the application: ```yaml command: > bin/zenity --info --ok-label='Got it' --title='My Awesome App' --text='This is a demonstrative application for Snapcrafters Template Plus.\nIt indicates that the snapped application has been launched properly.' --window-icon="${SNAP}"/snap/gui/my-awesome-app.png --width=600 ``` no longer work and causes the following Snapcraft error message: ``` Failed to generate snap metadata: The specified command 'bin/zenity\n --info\n --ok-label=\'Got it\'\n --title=\'My Awesome App\'\n --text=\'This is a demonstrative application for Snapcrafters Template Plus.\\nIt indicates that the snapped application has been launched properly.\'\n --window-icon="${SNAP}"/snap/gui/my-awesome-app.png\n --width=600\n' defined in the app 'my-app-name' does not match the pattern expected by snapd. The command must consist only of alphanumeric characters, spaces, and the following special characters: / . _ # : $ - ``` although this problem can be easily workarounded by using a launcher we probably should reconsider whether we should impose a restriction to this property as it can be any arbitrary string. I'm migrating a snap with a legacy snapcraft syntax to the new one with bases, however the previous command used to launch the application: ```yaml     command: >       bin/zenity         --info         --ok-label='Got it'         --title='My Awesome App'         --text='This is a demonstrative application for Snapcrafters Template Plus.\nIt indicates that the snapped application has been launched properly.'         --window-icon="${SNAP}"/snap/gui/my-awesome-app.png         --width=600 ``` no longer work and causes the following Snapcraft error message: ``` Failed to generate snap metadata: The specified command 'bin/zenity\n --info\n --ok-label=\'Got it\'\n --title=\'My Awesome App\'\n --text=\'This is a demonstrative application for Snapcrafters Template Plus.\\nIt indicates that the snapped application has been launched properly.\'\n --window-icon="${SNAP}"/snap/gui/my-awesome-app.png\n --width=600\n' defined in the app 'my-app-name' does not match the pattern expected by snapd. The command must consist only of alphanumeric characters, spaces, and the following special characters: / . _ # : $ - ``` although this problem can be easily workarounded by using a launcher we probably should reconsider whether we should impose a restriction to this property as it can be any arbitrary string.
2019-03-25 13:25:18 Sergio Schvezov snapcraft: milestone 3.4
2019-04-08 20:01:33 Sergio Schvezov snapcraft: milestone 3.4 3.5
2019-04-17 18:11:51 Sergio Schvezov bug task added snapd
2019-04-17 18:14:31 John Lenton snapd: status New Confirmed
2019-04-23 15:36:25 Sergio Schvezov snapcraft: status New Confirmed
2019-04-23 15:36:31 Sergio Schvezov snapcraft: milestone 3.5
2019-09-30 11:51:37 Samuele Pedroni snapd: status Confirmed Triaged
2019-09-30 11:51:40 Samuele Pedroni snapd: importance Undecided Medium
2023-10-20 12:00:23 Sergio Schvezov marked as duplicate 1827392