-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Dist index gone #56971
Comments
There was some discussion on this in the infra channel link link Main takeaways from that discussion:
|
I think there should be an index of at least all available toolchains, and preferably also for each toolchain which components exist. |
The links above are dead |
The index.txt is now, index.html is still working for me, but may be cached? Edit: yup, getting dead links now too. |
I'm not sure if this is the main thread of this issue, but hopefully an observer here can redirect me if not. Is this comment saying that removing the index was deliberate? That index is the suggested means of finding older releases on the other installation methods page.
|
@estebank T-doc? Should be T-infra |
This is expected behavior, and movement here is unlikely at this point so I'm going to close. |
@Mark-Simulacrum why is movement unlikely? IIRC @pietroalbini had some thoughts on this. |
There are options to explore, but they're all pretty internal and this issue won't really help with tracking them I think. I suppose we could move it to the infra team repo. |
A work-around is to run AWS Command Line Interface. However it takes a while and as far as I can tell there is no server-side glob filtering. When possible, requesting a dated sub-directory is more reasonable.
|
@SimonSapin I had written this limitation:
I don't remember exactly what I was trying to do here but it's not clear to me why you're not running into the same issue. |
45 seconds for this feels like a very long time to me. When I don’t pipe the output it seems to come in bursts. Maybe the cli tool rate-limits itself. |
True, but the way I was remembering it, it was in the minutes or tens of minutes. |
So, to be clear, the list command there is issuing hundreds or thousands of API queries so it'll likely be slow -- the solution here is to use the S3 Inventory API but no one has gotten around to implementing that just yet. Part of the reason why is that no super solid reasons for wanting to list objects in the whole bucket have been provided yet; we do have index.html (which internally uses list API, via JS, IIRC) in each subdirectory of the static.rust-lang.org bucket. |
The full list is needed to know all nightlies/releases that exist, e.g. for bisecting or archiving. |
Both bisection tools that I've written simply run forwards by single-day increments after binary search hits a spot if they can't download nightlies which works well. Is there any need for all the files to be included? If it's just the top-level directory list so to speak then we can probably add that at fairly low implementation cost since it's append-only and such... |
I just need an index of all |
Okay, I'll put that on my agenda for this week or so to investigate and see if we can provide that relatively easily, and if so start doing so. |
As a quick update I've internally setup weekly inventories of static.rust-lang.org and will check back in a couple days (AWS indicates we should get the first one in ~48 hours). |
You need tarballs so people packaging rust can download rust source code. The archives on github don't have the vendor directory. Please restore an index and working tarball links. |
Source tarballs, among others, are published for all releases to static.rust-lang.org. https://manifests.rust-lang.org/manifests.txt is what I've come up with to hopefully satisfy @jethrogb's demands at least. Note that the format here is unstable, and we may stop updating this / remove it / etc at any time. It currently contains all nightly, beta, and stable manifests in the static.rust-lang.org/dist/{date}/ directories, which should be sufficient for essentially all use cases. Beyond that, let me know if additional information or a reworking of the format would be useful, by filing an issue at https://github.com/rust-lang/generate-manifest-list/. Edit: Note that these results will be around a week out of date at all times, primarily for cost reasons, but this should hopefully not be a major concern for folks using this for bisection and such. |
I like to think of them as requests 😄 I think the stable manifests are missing. |
@Mark-Simulacrum the link you posted is not valid. I'll also note that I was unable to find full source links with the vendor dir. |
Ah, we've since decided we don't need a separate domain, so it should be semi-permanently at https://static.rust-lang.org/manifests.txt now. I can't find any links to the source tarballs right now (we should add them to https://forge.rust-lang.org/infra/other-installation-methods.html, feel free to file a PR at https://github.com/rust-lang/rust-forge/); but they are published. For example, https://static.rust-lang.org/dist/2019-09-15/rustc-nightly-src.tar.gz or https://static.rust-lang.org/dist/2019-08-15/rustc-1.37.0-src.tar.xz. |
Note, those rustc tarballs don't have dependencies included, which seems to be a big oversight to me as there are references to tarballs with vendored dependencies scattered in the docs. edit: |
These indices are out of date:
Edit: they're 404's now.
The text was updated successfully, but these errors were encountered: