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 download links not working on https://getmailspring.com #11

Closed
kapad opened this issue Oct 3, 2017 · 7 comments
Closed

Linux download links not working on https://getmailspring.com #11

kapad opened this issue Oct 3, 2017 · 7 comments

Comments

@kapad
Copy link

kapad commented Oct 3, 2017

The links for Linux .dep and .rpm packages on the website don't work.

If mailspring will only be distributed using snap, then maybe, the page needs to be more clear. I thought clicking the .deb icon, will download the .deb package.
image

@V3XATI0N
Copy link

V3XATI0N commented Oct 4, 2017

It says the Snap is coming soon, but I hope that doesn't mean to imply that .deb packages /aren't/ coming soon, I use a deb-based distro that doesn't support snaps.

@ldartez
Copy link

ldartez commented Oct 4, 2017

none of the links/images work. however, the download URLs are https://updates.getmailspring.com/download?platform=linuxDeb for debian and https://updates.getmailspring.com/download?platform=linuxRpm for redhat based systems. The RPM url works, though the icon does not work. The .deb (the one i need!) gives me an error:

This XML file does not appear to have any style information associated with it. The document tree is shown below.

P.S. the way I found the URLs was by changing the platform argument in the URL from 'darwin' to 'linux' and I received a 404 error page with the following:
{"statusCode":400,"error":"Bad Request","message":"child \"platform\" fails because [\"platform\" must be one of [darwin, linuxDeb, linuxRpm, win32]]","validation":{"source":"query","keys":["platform"]}}

The possible selections are there, listing linuxDeb and linuxRpm.

Not sure if this is considered a security flaw...

@ldartez
Copy link

ldartez commented Oct 4, 2017

Okay, the link to the deb package seems to actually be:
https://mailspring-builds.s3.amazonaws.com/client/20839f9b/linux/mailspring-1.0.0-amd64.deb

The "linuxDeb" link above points to almost the correct URL; the 'M' in mailspring should not have been capitalized.

@V3XATI0N , hopefully this works for you!

@kapad
Copy link
Author

kapad commented Oct 4, 2017

@ldartez The workaround works. Thanks 👍

@bengotow
Copy link
Collaborator

bengotow commented Oct 4, 2017

Hey folks! For the moment I've taken down the builds above—linux builds are coming soon but aren't quite ready yet. I'm still creating binaries and testing them (so there /are/ builds on S3) but there are some pretty significant known issues on different linux distros. Stay tuned! Should only be another day or two.

@ldartez
Copy link

ldartez commented Oct 5, 2017

I just want to note that the two URL's in my first comment above now work again and point to the respective 1.0.1 versions of the binaries.

@bengotow
Copy link
Collaborator

bengotow commented Oct 6, 2017

Hey folks—I've gone ahead and put the links on the download page (so you can download .deb and .rpm packages for Linux.) I was hoping to wait until we had a Snapcraft package, because it will enable autoupdates for Linux users. Currently, you need to come back to the downloads page and get it again when a new version is released. The Snap is taking more time than I expected to get working, so this will do for now! Gonna go ahead and close this.

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

No branches or pull requests

4 participants