icza / scelight

The source code of the Scelight project with all its modules.
https://sites.google.com/site/scelight/
Apache License 2.0
124 stars 19 forks source link

Automated Linux snap builds #20

Open dmiller309 opened 5 years ago

dmiller309 commented 5 years ago

Hi András,

This PR adds support for automated building of the Scelight snap on Linux. You should have just received an email inviting you to be a collaborator on the Scelight snap. I'd like to make you the owner of that package.

Here's how to take ownership of the Scelight snap and push a new version:

  1. Open the email from Snapcraft and become a collaborator on the project. This will let you view the dashboards and change the app settings.
  2. Send me an email or chat when you're ready. I'll make a post (like this one) requesting that you become the owner of the "scelight" snap. Alternatively, you can make the post and just link to this PR.
  3. Go to https://build.snapcraft.io. Currently, the Scelight snap is built from my downstream repo. Remove that and set Scelight to build from your GitHub repo.
  4. When you push to your master branch, it will trigger an automated Scelight build to its Edge snap channel.
  5. You can install the most recent Scelight release from the Edge channel with sudo snap install --channel=edge scelight; sudo snap refresh --channel=edge scelight.
  6. When you're satisfied that the snap runs smoothly, promote the current Edge Scelight release to the Stable channel via the dashboard at https://snapcraft.io/scelight/releases (you can also do it through the CLI).
  7. To switch back from the Edge Scelight channel to the Stable channel that the general public uses, run sudo snap install --channel=stable scelight.

I tried to set up automated Scelight snap builds 3 months ago, but Snapcraft only added support for building core18 snaps like Scelight 1 month ago. Send me an email or gChat if you have any questions or would like help.

//Andrew Miller

icza commented 5 years ago

Hi Andrew,

Thanks a lot for this. I will check it when I have time.