Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
We need to move out of GH Downloads #589
Comments
|
The latter one looks fine. We'll support gh-pages for the foreseeable future anyways. I'm not sure why we need S3 and CloudFlare. Alternatively, we could also use youtube-dl.org, but gh-pages is more convenient for the time. |
|
Well, the best would be to host a index on gh-pages with pointers to outside URLs, so that repository weight doesn't get more out of control that it is already (my fault, I have to admit). gh-pages files get always cloned along with master... |
|
Oh, that didn't translate well to text, and my lack of sleep didn't help: I'm not sure why we need S3 and CloudFlare. One of them should be sufficient, shouldn't it? |
|
Oh, sorry. Well, money ;) you pay for bandwidth on S3. |
|
On Wed, Dec 12, 2012, at 16:15, Filippo Valsorda wrote:
This is no doubt a step back for Github. SourceForge has been serving |
|
Assigning to me, I'm in the process of setting up the needed storage space, access, and download mechanism. @FiloSottile Please keep everything in place for now. We'll redirect to the new URLs soon. |
|
Ok, I was about to start, too, but I'll leave it to you. |
|
I'll simply set up a dedicated server + domain, and give SFTP access to the devs (i.e. you, and @rg3 if he wants). By using an indirection over gh-pages, the whole mechanism should work in the future as well if we should decide to switch to another file hoster. |
|
Great. And I can confirm that we are still able to upload via the API. |
|
Server is set up, domain ordered. Steps to do:
|
|
bitbucket could also be an alternative, as they provide everything github already have, including the download section with the corresponding api. |
|
@gcmalloc We'd still leave all the issues + git on github, so missing travis wouldn't hinder us (besides, we could simply multipush). But I'm not sure that bitbucket has a download API; at least, I can't find any mention on http://restbrowser.bitbucket.org/ . Can you post me to a link which documents the API? |
|
Seems like there is a location for files, but no api. According to this thread, they are working on it : |
|
My idea was that of putting a {
latest: "2012.12.12",
versions: [
...
]
}It is also easier to build "old versions" tables this way. |
|
That's fine too, but we'd have to fetch that every time. While the file is likely to stay small, a directory where each version corresponds to a subdirect/file should work just as well, shouldn't it? And it would have the advantage of being compatible with uscan et all, which do not support JSON. |
|
Sure, but it would be slightly less flexible hosting-wide (we need control over directories on the server and can't easily put files in separate places). We can keep a uscan-compatible layout also with the JSON. Anyway I am ok with anything that does not depend on master. My idea of solution ATM would be: LATEST_VERSION on gh-pages, small to fetch; update-index.json on gh-pages; uscan compatible layout on the server. |
|
I don't really care where LATEST_VERSION is, but moving everything built to gh-pages sounds like a great idea. I'll be offline and occupied until Tuesday, so feel free to reassign this issue and work on it. |
From a mail I sent to @phihag
My suggestion on the new place: