Stream: t-compiler/cargo-bisect-rustc

Topic: rustup


pnkfelix (Jan 03 2020 at 00:48, on Zulip):

Does cargo-bisect-rustc reuse nightlies that have already been downloaded via rustup? When I tried it out just now, it seemed like it might have started a fresh download for a nightly that I already had in my local .rustup directory...

simulacrum (Jan 03 2020 at 00:49, on Zulip):

it does not, no

simulacrum (Jan 03 2020 at 00:49, on Zulip):

(arguably not great, but it will self-reuse, I think)

simulacrum (Jan 03 2020 at 00:50, on Zulip):

we're also not smart about trying to reuse a local nightly for example (e.g., if you do bisection yesterday, then today's will be an entire fresh set of nightlies)

pnkfelix (Jan 03 2020 at 00:55, on Zulip):

hmm. and for finding the commits in a range, it does a fresh clone of the rust repo?

pnkfelix (Jan 03 2020 at 00:55, on Zulip):

is that really necessary ...? I would have thought there might be a way to query that remotely

pnkfelix (Jan 03 2020 at 00:56, on Zulip):

Ior, failing that, at least letting me indicate a local repo for it to start with for its clone...)

pnkfelix (Jan 03 2020 at 00:56, on Zulip):

/me bemoans all the network traffic he is causing

simulacrum (Jan 03 2020 at 00:58, on Zulip):

we, ah, do support the local repo I think but it's a compile time constant IIRC

simulacrum (Jan 03 2020 at 00:59, on Zulip):

(for, realistically, unknown reasons. I'm not sure why I chose that :)

simulacrum (Jan 03 2020 at 00:59, on Zulip):

we have an open issue to use the github API

Santiago Pastorino (Jan 03 2020 at 12:30, on Zulip):

we have an open issue to use the github API

this is the issue @apirainoand/or @Andrés Margalef were looking at

apiraino (Jan 03 2020 at 16:17, on Zulip):

correct, i think @Andrés Margalef mentioned a partial work-in-progress hooks to the Github APIs (not released yet).
https://rust-lang.zulipchat.com/#narrow/stream/217417-t-compiler.2Fcargo-bisect-rustc/topic/stream.20events/near/184353566

I was thinking to develop something similar (although perhaps smaller), but then stopped (no need to duplicate efforts).

apiraino (Jan 03 2020 at 16:18, on Zulip):

The github issue I'd link is this https://github.com/rust-lang/cargo-bisect-rustc/issues/40

pnkfelix (Feb 20 2020 at 20:19, on Zulip):

pnkfelix said:

Does cargo-bisect-rustc reuse nightlies that have already been downloaded via rustup? When I tried it out just now, it seemed like it might have started a fresh download for a nightly that I already had in my local .rustup directory...

(filed as cargo-bisect-rustc#52)

Last update: Jul 02 2020 at 19:45UTC