Update Actions for Snapcraft #5

Open
opened 2025-04-01 14:13:54 +00:00 by mlvtito · 2 comments
Owner

Generate snap package with Forgejo actions.

Generate snap package with Forgejo actions.
mlvtito self-assigned this 2025-04-01 14:13:54 +00:00
mlvtito added this to the tsuru project 2025-04-01 14:13:54 +00:00
mlvtito referenced this issue from a commit 2025-05-10 21:31:29 +00:00
Author
Owner

Snap package is generated. Now we must upload the artefact and publish it on tag

Snap package is generated. Now we must upload the artefact and publish it on tag
Author
Owner

I had to reserved a snap name "tsuru-sdk" instead of because of already taken "tsuru" name.
I had snapcraft "plugs" to access .local/share and .zshenv files.
An alias "tsuru" is also created.
After snap install, the user have to connect manualy,

sudo snap connect tsuru-sdk:tsuru-data
sudo snap connect tsuru-sdk:zshenv-access
sudo snap alias tsuru-sdk.tsuru tsuru

The snap name is registered but I wasn't able to publish a first version. It seems I have to wait. Once the first publication is done, I could ask for auto-alias and auto-connect in snapcraft forum : https://snapcraft.io/docs/process-for-aliases-auto-connections-and-tracks

Maybe, I should add support for Bash first to have all the plugs when I'll ask.
It would also be a good idea to ask the user if he wants the command to edit its environment or to give the line to execute by himself.

I had to reserved a snap name "tsuru-sdk" instead of because of already taken "tsuru" name. I had snapcraft "plugs" to access .local/share and .zshenv files. An alias "tsuru" is also created. After snap install, the user have to connect manualy, ``` sudo snap connect tsuru-sdk:tsuru-data sudo snap connect tsuru-sdk:zshenv-access sudo snap alias tsuru-sdk.tsuru tsuru ``` The snap name is registered but I wasn't able to publish a first version. It seems I have to wait. Once the first publication is done, I could ask for auto-alias and auto-connect in snapcraft forum : https://snapcraft.io/docs/process-for-aliases-auto-connections-and-tracks Maybe, I should add support for Bash first to have all the plugs when I'll ask. It would also be a good idea to ask the user if he wants the command to edit its environment or to give the line to execute by himself.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
serious-devs/tsuru#5
No description provided.