joemccann / dillinger

The last Markdown editor, ever.
https://dillinger.io
MIT License
7.97k stars 1.11k forks source link

The dillinger snap is not published in the Ubuntu store #591

Open come-maiz opened 7 years ago

come-maiz commented 7 years ago

It would be really nice to install dillinger with one single command in all the Linux distros that support snaps: sudo snap install dillinger.

For that, the snap needs to be registered and pushed to the store: https://myapps.developer.ubuntu.com/dev/click-apps/register-name/ And from there, it would be really simple to hook travis to push a new version to the edge channel every time that master changes. That will get happy early adopters that can provide good feedback before a stable release.

I can help with guiding steps to do all this, but I can't do it myself because the credentials used should be from somebody working in the dillinger project.

-- ps, @joemccann: I tried to find your email to talk there, but I couldn't. It seems I don't have strong stalking abilities, which I'm not yet sure if it's good or bad :) So an issue was the only way I found to talk about this.

joemccann commented 7 years ago

Leo,

Thanks for this! If you can spoonfeed me the steps I'll be happy to set it up.

On Fri, Dec 9, 2016 at 2:34 AM, Leo Arias notifications@github.com wrote:

It would be really nice to install dillinger with one single command in all the Linux distros that support snaps: sudo snap install dillinger.

For that, the snap needs to be registered and pushed to the store: https://myapps.developer.ubuntu.com/dev/click-apps/register-name/ And from there, it would be really simple to hook travis to push a new version to the edge channel every time that master changes. That will get happy early adopters that can provide good feedback before a stable release.

I can help with guiding steps to do all this, but I can't do it myself because the credentials used should be from somebody working in the dillinger project.

-- ps, @joemccann https://github.com/joemccann: I tried to find your email to talk there, but I couldn't. It seems I don't have strong stalking abilities, which I'm not yet sure if it's good or bad :) So an issue was the only way I found

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/joemccann/dillinger/issues/591, or mute the thread https://github.com/notifications/unsubscribe-auth/AAC8am1ugD8poncqYE3PMyH7gq9gDIBnks5rGL5BgaJpZM4LIhK2 .

come-maiz commented 7 years ago

^_^ Do you have an Ubuntu 16.04 at hand? After registering the snap in the website I liked above, you'll need to login and build the snap with snapcraft.

joemccann commented 7 years ago

I do not. If you do and want to build it I can add you as a collaborator to Dillinger

On Thu, Dec 8, 2016 at 21:09 Leo Arias notifications@github.com wrote:

^_^ Do you have an Ubuntu 16.04 at hand? After registering the snap in the website I liked above, you'll need to login and build the snap with snapcraft.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/joemccann/dillinger/issues/591#issuecomment-265935061, or mute the thread https://github.com/notifications/unsubscribe-auth/AAC8arK4EcLx-FnzwxPseKk_PqKUGhfeks5rGOKPgaJpZM4LIhK2 .

come-maiz commented 7 years ago

@joemccann that could work. But I dislike the idea of pushing and maintaining it in the store myself first because I don't know enough about the dillinger code to be sure that I will do a good job in case there's a bad vulnerability or something like that. Arguably, that is a lesser concern because the snaps provide enough security to the users to ensure that a bad maintainer can only break his own app.

But most important, we are contacting some upstreams to gather feedback, and from that assign priorities to our backlog. So I'm really interested in what you would have to say after using snapcraft and the store.

Even now you gave me an interesting point to discuss with the team, because if we support snaps in docker, you could easily give it a try without having to install Ubuntu in a vm. Right now, you can build the snap in docker, but you won't be install and test it there. We do support snaps in lxc containers now, so maybe supporting docker is not impossible. I will ask.

come-maiz commented 7 years ago

I have an idea! I would say it's a great idea, but it's a little late in the night, so I will not be presumptuous :)

I can give you a built snap for amd64. You can register and push it to the edge channel of the store using the website, and then maybe promote it with your Ubuntu users. Some people at Canonical overheard about dillinger, gave it a try and loved it, so I can get some edge testers here for sure.

After a while you can take a look at the stats in the store, and ask for feedback from the people who tried it. If it sounds positive, maybe it would be worth for you to get ubuntu xenial, set up the automatic release using travis, and push to the stable channel to get a bigger exposure to all the Ubuntu and snaps users.

I would need #595 to land though, because the build is currently broken.

come-maiz commented 7 years ago

@joemccann thanks for the merge! Here's the snap build from the latest master: http://people.ubuntu.com/~elopio/snaps/dillinger_master_amd64.snap

To register and upload, go to https://myapps.developer.ubuntu.com/dev/click-apps/register-name/

joemccann commented 6 years ago

@elopio is this still active?

come-maiz commented 6 years ago

@joemccann well, yes, snaps are still a big thing in Ubuntu, and the number of snaps published and installed keeps growing. I am no longer working on snapcraft though, but I still think it would be nice to have dillinger available in the store.

brlin-tw commented 5 years ago

Just found this snap from the snap find markdown search result. For now you can:

  1. Register a developer account at https://snapcraft.io and post your username here.
  2. (Optional, can be done by either end) Register a Snapcraft Forum account and post a snap ownership transfer request in the store topic category
  3. After the transfer is complete you may start setting up the automatic snap building using the Snapcraft build service
brlin-tw commented 5 years ago

Note that currently the snap build fails(build log)