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

Assign a subdomain for downloads #41

Open
wasnotrice opened this issue Jun 24, 2013 · 9 comments
Open

Assign a subdomain for downloads #41

wasnotrice opened this issue Jun 24, 2013 · 9 comments

Comments

@wasnotrice
Copy link
Member

Since we made this website static, we have lost the ability to easily host files for download. See shoes/furoshiki#5

What do we think about using a subdomain to host downloads?

Options:

  1. point download.shoesrb.com at an S3 bucket.

    Pro: simple

    Con: difficult to publish static links, e.g. http://download.shoesrb.com/shoes/latest/windows

  2. make download.shoesrb.com a web service

    Pro: we can do whatever we want with urls

    Con: now we have a web service to maintain again

Thoughts? Other ideas?

@steveklabnik
Copy link
Member

  1. point download.shoesrb.com at an s3 bucket, make http://shoesrb.com/shoes/latest/windows point at http://downloads.shoesrb.com/windows/whatever.exe

?

@wasnotrice
Copy link
Member Author

I'm not sure how to do that when shoesrb.com is hosted on github pages :(

@pjfitzgibbons
Copy link
Member

Meta redirect
JavaScript redirect

When good ol dns isn't available ill trade pretty for it-works

Thoughts?

Sent from my iPad

On Jun 26, 2013, at 8:36 PM, Eric Watson [email protected] wrote:

I'm not sure how to do that when shoesrb.com is hosted on github pages :(


Reply to this email directly or view it on GitHub.

@PragTob
Copy link
Member

PragTob commented Jun 27, 2013

JS redirect isn't an option for our HTTP client... and I also think Meta redirect isn't?

(e.g. we want to get that URL with ruby's http library not a web browser...)

What we could do is have shoesrb.com/shoes/latest/sows-windows.exe always be the most current windows shoes release etc.

@plexus
Copy link
Member

plexus commented Jun 27, 2013

We could do some work to detect that case. If the response type is
text/html then parse it and look for a meta-redirect. Not the prettiest but
not too hard to make that work.

The other option would be something like Mechanize which follows
meta-redirects out of the box, but that's an unnecessary dependency for our
limited use case.

On 27 June 2013 13:22, Tobias Pfeiffer [email protected] wrote:

JS redirect isn't an option for our HTTP client... and I also think Meta
redirect isn't?

(e.g. we want to get that URL with ruby's http library not a web
browser...)

What we could do is have shoesrb.com/shoes/latest/sows-windows.exe always
be the most current windows shoes release etc.


Reply to this email directly or view it on GitHubhttps://github.com//issues/41#issuecomment-20112052
.

@wasnotrice
Copy link
Member Author

Anyone know if you can set up S3 paths to do redirects?

http://download.shoesrb.com/windows -> http://download.shoesrb.com/windows/whatever.exe

@steveklabnik
Copy link
Member

So: https://github.com/blog/1547-release-your-software

Does this help?

@jrgifford
Copy link
Member

It might.

@JesseHerrick
Copy link
Contributor

I posted a solution over at #34.

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

7 participants