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

Revert "Enable docs on dist-x86_64-musl" #75102

Closed
wants to merge 1 commit into from
Closed

Revert "Enable docs on dist-x86_64-musl" #75102

wants to merge 1 commit into from

Conversation

stream-punk
Copy link
Contributor

@stream-punk stream-punk commented Aug 3, 2020

This reverts commit b5d143b.

The commit did not enable rust-docs for rustup target x86_64-unknown-linux-musl. rust-central-station always uses x86_64-unknown-linux-gnu to publish docs.

The relevant code is here

@Mark-Simulacrum sorry for the trouble. I wasn't able to find out how it is done correctly, but I want to revert this, so load on CI is reduced. I will investigate further and open an issue before doing anything, as it seems more complex than the rust-lld patch.

@rust-highfive
Copy link
Collaborator

r? @pietroalbini

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 3, 2020
This reverts commit b5d143b.

The commit did not enable rust-docs for rustup target x86_64-unknown-linux-musl.
rust-central-station always uses x86_64-unknown-linux-gnu to publish docs.
@Mark-Simulacrum
Copy link
Member

That snippet from rust-central-station refers to doc.rust-lang.org, not locally installed docs. I don't think we should be reverting the patch? Are locally installed docs not yet available for you? (Maybe we need to edit manifest or something)

@stream-punk
Copy link
Contributor Author

stream-punk commented Aug 3, 2020

That snippet from rust-central-station refers to doc.rust-lang.org, not locally installed docs. I don't think we should be reverting the patch? Are locally installed docs not yet available for you?

@Mark-Simulacrum I am glad that you think b5d143b was the correct first step. I check the rust-component-history to see if a rust-docs component was uploaded on nightly, I haven't tried to download the docs with rustup. I have a bit of trouble connecting all the bits and pieces. I was also reading the code of the build-manifest tool.

(Maybe we need to edit manifest or something)

That is a good hint. I'll try to find the relevant files.

@stream-punk stream-punk marked this pull request as draft August 3, 2020 13:44
@Mark-Simulacrum
Copy link
Member

We seem to be uploading the rust-docs tarball, e.g., https://github.com/rust-lang-ci/rust/runs/938003362 uploaded to https://ci-artifacts.rust-lang.org/rustc-builds/19cefa68640843956eedd86227ddc1d35dbc6754/rust-docs-nightly-x86_64-unknown-linux-musl.tar.xz at least.

I'm not yet sure why that didn't get into the manifest...

@Mark-Simulacrum
Copy link
Member

aha, looks like we probably just need to add to here:

"x86_64-unknown-linux-gnu",

JohnTitor added a commit to JohnTitor/rust that referenced this pull request Aug 4, 2020
…imulacrum

Enable docs on in the x86_64-unknown-linux-musl manifest

Add the rust-docs component to toolchain x86_64-unknown-linux-musl, which allows people using rustup on their musl-based linux distribution to download the rust-docs.

Generating and uploading the docs was enabled in b5d143b (rust-lang#74871).

In rust-lang#75102 @Mark-Simulacrum found that we are uploading the docs, but the correct manifest is missing.

* The relevant call to build-manifest seems to be [in bootstrap](https://github.com/rust-lang/rust/blob/c058a8b8dc5dea0ed9b33e14da9e317e2749fcd7/src/bootstrap/dist.rs#L2334)

* The manifest is then used in [promote-release crontab](https://github.com/rust-lang/rust-central-station/blob/master/crontab)
@stream-punk
Copy link
Contributor Author

Closing fixed in #75106

@stream-punk stream-punk closed this Aug 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants