Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux snap installation #17

Open
go8ose opened this issue Oct 4, 2017 · 9 comments
Open

linux snap installation #17

go8ose opened this issue Oct 4, 2017 · 9 comments

Comments

@go8ose
Copy link

go8ose commented Oct 4, 2017

Hi,

I just watched https://www.youtube.com/watch?v=7wyIi_cpodE, the Getting started with opsdroid on ubuntu 16.04 video you did. I couldn't help but think that the installation instructions for ubuntu are not very straight forward. I recently heard about the new ubuntu snap thing, https://docs.snapcraft.io/snaps/intro. I wondered if it would be a better way of distributing opsdroid desktop.

I should qualify, I've only heard about this from a podcast, I don't know anything about how snaps work, or their limitation, or what's involved in making a snap.

Cheers,
Geoff

@jacobtomlinson
Copy link
Member

Hey thanks for raising this!

I totally agree there must be a better way. In the first instance I would like .deb and .rpm installers but snap sounds interesting too.

I would be totally up for a PR to add snap installation.

@go8ose
Copy link
Author

go8ose commented Oct 4, 2017

This document describes how to build a snap: https://docs.snapcraft.io/build-snaps/your-first-snap. It doesn't look difficult to get the initial snap built. I guess the next step on this issue is for someone to write the snapcraft.yaml file, and do a PR with that (and maybe a modification to docs/contributing.md a section on how to build the snap).

@roxyd
Copy link

roxyd commented Oct 26, 2017

If no one has volunteered to do this, I can see if I can find someone or work on it myself.

@jacobtomlinson
Copy link
Member

jacobtomlinson commented Oct 26, 2017 via email

@go8ose
Copy link
Author

go8ose commented Oct 30, 2017

I made a start on this. However I didn't get very far, I've never worked with node.js, or snapcraft before. What I did is on https://github.com/go8ose/opsdroid-desktop/tree/ubuntu-snap. If I was going to continue on this, I think the next step would be to find an existing snap for an application that is built on electron, and mimic what they do in their snap/snapcraft.yaml file. I know atom is in this category, but I couldn't find the relevant repository that included the snapcraft.yaml file.

@roxyd
Copy link

roxyd commented Oct 30, 2017

if you have already started, i suggest sharing at https://forum.snapcraft.io/ and you will be sure to get some feedback and assistance.

@go8ose
Copy link
Author

go8ose commented Oct 30, 2017

Thanks for the suggestion @roxyd. I've posted https://forum.snapcraft.io/t/getting-started-with-electron-snap/2662. If you're interested in working on this, please feel free. My development will be slow, as it's hampered by lack of node experience, and doing development in an Ubuntu VirtualBox VM (as I don't have a linux desktop currently).

@roxyd
Copy link

roxyd commented Nov 25, 2017

just checking on you @go8ose, were you able to get the help you needed?

@go8ose
Copy link
Author

go8ose commented Nov 27, 2017

There were some replies. saviq suggested using https://github.com/electron-userland/electron-builder/. But I've not found the time to look into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants