Skip to content
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.

Block nightlies on clippy #61

Merged
merged 1 commit into from
Jul 5, 2018
Merged

Conversation

oli-obk
Copy link
Contributor

@oli-obk oli-obk commented Jul 3, 2018

@kennytm
Copy link
Member

kennytm commented Jul 3, 2018

My preference is to modify rustup to refuse upgrade when rls/rustfmt/clippy is missing and user has installed it, rather than adding more roadblocks to nightlies.

@oli-obk
Copy link
Contributor Author

oli-obk commented Jul 3, 2018

I have no preference, I'm just implementing @nrc's suggestion:

My plan is that I would like to get Clippy on dist and blocking nightlies at the end of this week. I need to get an 'ok' from the core team, but I think the time is right

And implementing the rustup no-upgrade feature probably will not be ready on Friday ;)

@kennytm
Copy link
Member

kennytm commented Jul 3, 2018

And implementing the rustup no-upgrade feature probably will not be ready on Friday ;)

Extending rust-lang/rustup#1298 to cover all installed components shouldn't be too hard.

@pietroalbini
Copy link
Member

Extending rust-lang/rustup#1298 to cover all installed components shouldn't be too hard.

That will conflict with rust-lang/rustup#1419.

@kennytm
Copy link
Member

kennytm commented Jul 3, 2018

If the component is just marked as available = false the old behavior (erroring out) is still used, since that might be caused by a CI failure (if I understand correctly).

So we could instead set missing RLS etc as available = false and everything should work fine?

@pietroalbini
Copy link
Member

So we could instead set missing RLS etc as available = false and everything should work fine?

With that patch yes, but rustup wasn't released since that PR was merged.

@kennytm
Copy link
Member

kennytm commented Jul 3, 2018

🤔 Oh well.

@nrc
Copy link
Member

nrc commented Jul 3, 2018

We should do with Clippy the same thing we're doing with Rustfmt and RLS. If we want to make changes about how we keep nightlies running with broken tools, that should be a separate discussion.

@alexcrichton alexcrichton merged commit 0110e36 into rust-lang:master Jul 5, 2018
@mati865
Copy link

mati865 commented Jul 8, 2018

With that patch yes, but rustup wasn't released since that PR was merged.

New rustup version was just released.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants